Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:39:58 +0000



Post From: Suggestions for this Crossover System?

[2014-03-25 14:35:56]
Sawtooth - Posts: 4091
Try this:

Add two instances of the Color Bar Based On Alert Condition study, one for each arrow.

Up arrow instance:
set Output When Condition True to Use Input Data
set Input Data to Low
set the Draw Style to Arrow Up
put this formula on the Alerts tab:
=OR(AND(ID1.SG1[-1]<ID1.SG2[-1],ID1.SG1>ID1.SG2,ID1.SG3>20),AND(ID1.SG1>ID1.SG2,ID1.SG3<=20,ID1.SG3>20))

Down arrow instance:
set Output When Condition True to Use Input Data
set Input Data to High
set the Draw Style to Arrow Down
put this formula on the Alerts tab:
=OR(AND(ID1.SG1[-1]>ID1.SG2[-1],ID1.SG1<ID1.SG2,ID1.SG3>20),AND(ID1.SG1<ID1.SG2,ID1.SG3<=20,ID1.SG3>20))

The formulas assume the DMI & ADR & ADXR study is ID1.