Directional_Breakout - MetaTrader 5 Script - MT4/MT5 Resources

information indicators. It displays the histogram in different colors based on the ratio between the candlestick price and the moving average.
There are three tunable parameters:
If low > MA: MA > PrevMA = Color 1 MA < previous MA = color 2 If high < MA: MA < previous MA = color 3 MA > PrevMA = color 4
Otherwise = color 5
Where:
MA is a moving average calculated by period, method and applied price PrevMA - moving average of the previous bar

Attachment download
📎 directional_breakout.mq5 (10.12 KB)
Source: MQL5 #21036
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •