Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 02:57:40 +0000



Post From: [User Discussion] help to highlight candle based on certain study conditions

[2021-08-20 01:13:03]
tuanluu20902 - Posts: 24
Try this:
=OR(
AND(ID17.SG1[-1]<=-100,ID17.SG1>-100),
AND(ID17.SG1[-1]>=100,ID17.SG1<100))
Hi Tom,
I think this really is in the right direction! However from your code, a signal is created whenever it has crossed outside of the -100 and 100 range then back inside, is it possible so that it only triggers when the indicator has gone into extremes? ie below -200 and above 200