Skip to main content

Colored Price Bars for Amibroker (AFL)

NFTRADER about 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker

The formula color price boundary according to the trend.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("CPB"); 
Col_bar = IIf(EMA(CCI(14),2) > Ref(EMA(CCI(14),2),-1),colorBrightGreen,colorRed);
Plot(Close,"price",col_bar,styleCandle);

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.