Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 23:46:32 +0000



[User Discussion] - Help! Heikin Ashi Smoothed and CCI Alert

View Count: 3391

[2013-04-08 21:42:47]
User75564 - Posts: 42
Looking for Help.
2 Studies on Chart (HA Smoothed ID:1 and CCI ID:2)
HA Smoothed (Main Price Graph) and CCI (Region 2)
I don't use Spreadsheet.
Need help with formula and input.
Would like to have Arrow on Chart when HA Smoothed & CCI match at same time. (See Below).



BUY LONG
When HA Smoothed Bar turns Green
AND the CCI crosses above the Oversold (-100) line
Then (Green Up Arrow) on chart

SELL SHORT
When HA Smoothed Bar turns Red
AND the CCI crosses below the Overbought (100) Line
Then (Red Down Arrow) on Chart.
[2013-04-09 05:14:32]
Sawtooth - Posts: 3973
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

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account