Login Page - Create Account

Support Board


Date/Time: Mon, 12 May 2025 14:16:31 +0000



Post From: Indicator problem

[2017-03-01 00:26:38]
Sawtooth - Posts: 4214
First, there are syntax errors in your formula.

Second, since overlaid studies from higher timeframes result in segments of equal value, you'll need to also reference the [-2] bar:

=AND(
OR(ID3.SG1>ID3.SG1[-1],AND(ID3.SG1[-2]>=ID3.SG1[-1],ID3.SG1>ID3.SG1[-1])),
OR(ID4.SG1>ID4.SG1[-1],AND(ID4.SG1[-2]>=ID4.SG1[-1],ID4.SG1>ID4.SG1[-1]))
)

Reverse all comparison operators for downtrend alerts.

The above is a variation of the concept explained here:
http://www.sawtoothtrade.com/example-6.html