Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 04:54:59 +0000



Post From: Extension Line defined by Oscillator/MA cross

[2020-03-08 20:54:18]
Sawtooth - Posts: 4000
The Color Bar Based On Alert Condition study will only return a True/False.
Use the Spreadsheet Formula study to return a value.

Try this formula in the Formula field:
=IF(CROSSFROMBELOW(ID9.SG1,ID9.SG2),L,IF(CROSSFROMABOVE(ID9.SG1,ID9.SG2),H,ID10.SG1[-1]))
Where the Stochastic-Slow study is ID9 and the Spreadsheet Formula study is ID10.
Set the Draw Style to Dash.
This will create a persistent alternating value of the High and Low at the bar where the Stochastic crosses in each direction.