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

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

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