Code Amibroker Indicators

Candle Strength Indicator for Amibroker (AFL)

by admin January 4, 2019 1 min read 0 comments

Key Takeaways

  • Market conditions and their impact on trading decisions
  • Key levels and price action analysis
  • Risk management strategies for this setup

This indicator allows you to visualize the strength of the current candlestick by comparing the OHLC values. Red histogram values represent bearish candlesticks whereas green histogram values represent bullish candlesticks.

value = 100*(Open-Low)/(High-Low)-50;
bullishCandleStrength = IIf(Close > Open, value, 0);
bearishCandleStrength = IIf(Close <= Open, value, 0);
Plot(bullishCandleStrength, “Bullish Candle Strength”, colorGreen, styleHistogram | styleThick);
Plot(bearishCandleStrength, “Bearish Candle Strength”, colorRed, styleHistogram | styleThick);
Plot(50, “”, colorDarkYellow, styleDashed);
Plot(-50, “”, colorDarkYellow, styleDashed);

Trading Data Snapshot

Always verify current market conditions before executing any trade. Past performance does not guarantee future results.

A
admin
Trading analyst and market commentator with expertise in technical analysis, price action, and risk management. Dedicated to helping traders make informed decisions.

Leave a Reply