I currently have an indicator I am coding which works in two stages.
Stage 1: To detect signal
Stage 2: confirm the detected signal
When I try to use flag to confirm signal in stage 2, it doesn't work. But same flaging method works well for EA.
Please anyone with help on how I can flag and achieve this with indicators??
Like in the example below. When arrow signal is detected, the indicator should print another confirmation when
Previous candle (candle 1) closed below the low of the candle befor it (candle 2 low). Attached image below
If you're able to do it via CopyBuffer() in your EA, then you can code it into your indicator.
In the indicator, you can create a nested lookback loop with the main indicator loop, conditionally detect nonzero/non-EMPTY values (of arrows) inside the lookback loop, and save those values to variables.
It's tough to provide any specific example without seeing your code.
I currently have an indicator I am coding which works in two stages.
Stage 1: To detect signal
Stage 2: confirm the detected signal
When I try to use flag to confirm signal in stage 2, it doesn't work.
well you might have to show us what way you're trying to confirm the signal
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I currently have an indicator I am coding which works in two stages.
Stage 1: To detect signal
Stage 2: confirm the detected signal
When I try to use flag to confirm signal in stage 2, it doesn't work. But same flaging method works well for EA.
Please anyone with help on how I can flag and achieve this with indicators??
Like in the example below. When arrow signal is detected, the indicator should print another confirmation when
Previous candle (candle 1) closed below the low of the candle befor it (candle 2 low). Attached image below