Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 17:16:03 +0000



Post From: Help! Heikin Ashi Smoothed and CCI Alert

[2013-04-09 05:14:32]
Sawtooth - Posts: 4119
Try this:

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

Up Arrow instance:
-Set the Output When Condition True to Use Input Data
-Set the Input Data to HA Low
-Set the Draw Style to Arrow Up
-Use this formula:
=AND(ID1.SG1[-1]>ID1.SG4[-1],ID1.SG4>ID1.SG1,ID2.SG4[-1]>=ID2.SG1[-1],ID2.SG1>=ID2.SG4)

Down Arrow instance:
-Set the Output When Condition True to Use Input Data
-Set the Input Data to HA High
-Set the Draw Style to Arrow Down
-Use this formula:
=AND(ID1.SG1[-1]<ID1.SG4[-1],ID1.SG4<ID1.SG1,ID2.SG3[-1]<ID2.SG1[-1],ID2.SG1<ID2.SG3)

Date Time Of Last Edit: 2013-04-09 15:02:52