Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 10:55:28 +0000



Post From: Alarm strategy help

[2014-05-12 22:43:54]
vegasfoster - Posts: 444
Several ways you can do this, but IMO easiest would be,

Assume chart 1 is your trading chart and chart 2 and chart 3 are higher time frames. On chart 2 you have a stochastics as ID1 and want to be long if greater than 50, so you add the color bar based upon alert condition study and enter ID1.SG1 > 50 in the Alerts tab. On chart 3 you have a macd as ID1 and want to be long if greater than zero, so you add the color bar based upon alert condition study and enter ID1.SG1 > 0 in the Alerts tab. On chart 1, add two study price overlays, which will be ID1 and ID2, and reference to the color bar based upon alert condition studies on chart 2 and chart 3, respectively. Hide these studies. On chart 1 add the color bar based upon alert condition study, which will be ID3, and enter =AND(ID1.SG1=1, ID2.SG1=1) in the Alerts tab for long condition. On chart 1 add a second color bar based upon alert condition study, which will be ID4, and enter =AND(ID1.SG1=0, ID2.SG1=0) in the Alerts tab for short condition.

You could also accomplish similar results using a spreadsheet. If you have a null state where you are neither long or short, then you will need to use two color bar based upon alert condition studies on the other time frame charts.