I am trying to make a cloud if the price is greater than the SMA. I have 2 different SMA on my chart. If the price is higher than the SMA I would like the cloud to be green and if the price is lower than the SMA I would like the cloud to be RED.
Here is my code...
if close > SMA then AddCloud(SMA1, SMA2, Color.GREEN, Color.PINK);
Any help would be appreciated
Here is my code...
if close > SMA then AddCloud(SMA1, SMA2, Color.GREEN, Color.PINK);
Any help would be appreciated
Last edited: