FlagN toggle with reset condition

Top  Previous  Next

Category: Advanced Indicator Set 2

Abbreviation: FlagNToggleWithReset

 

Input parameters

Name

Setting

Default

Condition 1

Condition 1 time series

Close

Condition N

Condition N time series

Close

Reset Condition

Reset condition time series

Close

where N=1,2,3,4.

 

Calculations

FlagNToggleWithReset (N=1,2,3,4) indicators give a continuous signal when all N conditions become true (have non-zero values) in a timely sequence. Firstly, Condition 1 must turn true, after that Condition 2 must turn true, after that Condition 3, and so on. The FlagNToggleWithReset indicator output is equal to 1 on the first bar where Condition N in that sequence turns true. The output then continues to be one until Reset Condition turns true. In other words, the flag is not momentary like the other Flag indicators. The Reset Condition sets the indicator output to zero and resets the flag system so it begins to check out conditions again starting with Condition 1.

See also FlagN and FlagNR indicators.