need afl code for change candlestick color when satisfied certain conditions

#2
u can use following line:

Plot(C,"close",IIf(RSI()<30,colorWhite,IIf(RSI()>70,colorBlack,colorBlue)),styleCandle);


here candle will be blue if rsi 30 but <70.
 

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Name:Phone:
Email:City:
State:
Are you a day trader?