Skip to main content

Bearish and Bullish days for Amibroker (AFL)

ddebta over 9 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 6)
  • Tags:
    oscillator, amibroker, bull, bear

Inspired by PineScript coding done by Chris Moody (Custom Indicator Clearly Shows If Bulls or Bears are in Control!).

Screenshots

Indicator / Formula

Copy & Paste Friendly
down_BarM = Close > Ref((High+Low)/2,-1);
up_BarM = Close < Ref((High+Low)/2,-1);

Plot(BarsSince(down_BarM),"Price Down Based On Midpoint",colorRed,styleHistogram,width=3);
Plot(BarsSince(up_BarM),"Price Up Based On Midpoint",colorLime,styleHistogram,width=3);

5 comments

over 9 years ago

i m big fan of trading view indicators. if you have more afls like tradingview so suggest me. thanx.

Leave Comment

Please login here to leave a comment.