Signal Markers triggered by other indicators

Login or Register

Please login or register in order to view and post in the Forum.

2 posts / 0 new
Last post
MDavid
Last seen: 3 hours 46 min ago
Joined: 09/16/2019 - 07:09
Signal Markers triggered by other indicators

Hi, I am looking to get a visual and audible marker when a particular indicator crosses a number of other indicators on my chart and have the following questions as the signal marker page was focused mostly on price levels and RTL lesson 5 didn't really cover it, let me know if I missed a resource.

My main indicator is a custom indicator, the other indicators are all either CI, SESST, or the developing vPOC made by the profile.

1. Is a signal marker the appropriate way to do this?
2. Do I save my indicators as V# variables in order to reference them in the signal marker code? What effect does this have if I scroll back on my chart a few days, will the markers placed at the time still be there as my understanding is V# will just hold the current variable.
3. Can I create a single signal marker to be triggered if the main indicator crosses indicator 1, 2, or 3 etc, or do I need to make separate signal markers for each relationship so main indicator to indicator 1, and another separate signal marker for main indicator to indicator 2, etc For the time being I just need the marker to help me notice when things are happening, I don't necessarily need distinct markers for each possibility.
4. Is there a way to create a signal marker if the main indicator is within a tolerance of another indicator? So for instance if the main indicator comes within 4 ticks of indicator a

Thanks in advance.

0
MDavid
Last seen: 3 hours 46 min ago
Joined: 09/16/2019 - 07:09
Solution

I figured I would update for anyone looking to do the same in the future, I spent a good amount of time playing with this over the weekend and seemed to have reached a solution.

1. I used signal marker
2. I ended up recreating the calculations for each of my lines and storing them as a token, in some cases I imported my existing custom indicator as a token
3. I decided to make separate signal makers, per indicator so i have 5 total, I placed the signal markers at the bottom of my chart and they are color coordinated depending on which indicator they are referencing.
4. I created a C# variable that I can adjust from my chart that is set as the tolerance, so if I set it at 2 points it will alert me if the two indicators come within 2 points of each other, I built it into the equation of conditions to be met to trigger a signal.

Additionally I used the TIME token to filter most for RTH only, although for one of the indicators I didn't want it to show for the first hour since it is irrelevant then so I filtered accordingly.