Hello,
I have a pretty simple condition in my custom watchlist column as shows below, what I wanted to do is when this condition is true an up arrow would appear and when it is not true it would just stay blank.
I thought the following code would accomplish my needs but alas no such luck, can someone please help me and educate me as to what am I doing wrong?
thank you
I have a pretty simple condition in my custom watchlist column as shows below, what I wanted to do is when this condition is true an up arrow would appear and when it is not true it would just stay blank.
Code:
plot MACD = MACD()."Value" is less than or equal to MACD()."ZeroLine" and MACD()."Value" crosses above MACD()."Avg";
I thought the following code would accomplish my needs but alas no such luck, can someone please help me and educate me as to what am I doing wrong?
Code:
Addlabel (yes,(if MACD then PaintingStrategy.ARROW_UP else double.nan));
thank you