Login Page - Create Account

Support Board


Date/Time: Thu, 18 Jan 2018 12:14:08 +0000



Post From: Writing Code

[2017-12-18 01:37:02]
User990040 - Posts: 5
http://www.sierrachart.com/image.php?Image=1513560101525.png

I have written two codes, one for shorts and one for longs.

AND(CROSSFROMABOVE(ID2.SG3,0),ID3.SG1<ID3.SG2)

AND(CROSSFROMBELOW(ID2.SG3,0),ID3.SG1>ID3.SG2)

The Chart you are viewing is a "NQ" 7 Rangebar chart with a MACD indicator and a CCI indicator. As you can see sometimes I get an orange background color when it indicates a short setup and sometimes a green background color when it indicates to go long. Everywhere you see an arrow is where it should be indicating a long set up or a short setup. Those arrow are pointing out the first time they are both above or below the zero line on the two indicators.

I want to know the first time they are both in confluence. I want the color background to trigger as the moment unfolds. Like a warning signal. Then once it meets the criteria then as you can see it should just stay highlighted. I only need that bar to be highlighted.

I hope this makes sense. I appreciate the help or direct me to a person who you think can make it happen. Gregg
Date Time Of Last Edit: 2017-12-18 02:21:07