Thank you Pete for the custom watch list video. I was able to create a watchlist that brings up my scan but I can’t find a way to colour the two findings in different colours.
//This part I can’t figure out
def clsAbove = SimpleMovingAvg(“length” = 22).”SMA” crosses below close;
plot signal = SimpleMovingAvg(“length” = 22).”SMA” crosses below close or SimpleMovingAvg(“length” = 22).”SMA” crosses above close;
What I’m trying to do is if clsAbove is true the BackgroundColor is Green if clsBelow is true it is Red.
I can’t figure out the if-then logic as I don’t know enough of the syntax to figure it out.
Marked as spam
Please log in to post questions.