Profile Picture

Drawing in Zero Line (or 0.2/0.8 line in RSI)

Posted By johan 4 Years Ago
Posted Wednesday June 10 2015
Is it possible to add a zero line (or any cut-off line) into an oscillator type custom indicator? Thanks.
Posted Wednesday June 10 2015
To cutoff an indicator at a given value, you could create an indicator that returns the minimum or maximum of two inputs.  Then chain it together with the indicator you want to cut off.  So to restrict the RSI between 20 and 80, you'd have something like  MAX(20, MIN(80, RSI)).

Does this help?

Posted Thursday June 11 2015
Thanks Daniel.

Similar Topics

Reading This Topic

2005-2019 © RightEdge Systems