Moving Trend Price Bars - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

Moving Trend Price Bars - Amibroker AFL Code

MovTrend20 = LinearReg( Close, 20 ); // calculate moving trend
// plot moving trend, moving average and price bars
Plot( MovTrend20, "MovTrend-20", colorRed, styleThick );
Plot( MA( Close, 20 ), "MA-20", colorBlue, styleThick );
Plot( Close, "Price", IIf(Close > Open, colorDarkGreen, colorDarkRed), styleBar) ;
SHARE
  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment