MA Sideways - MetaTrader 4 Script | Forex Indicators Download - MT4/MT5 Resources

Many times I find that the indicators in my charts are too confusing to see the price action clearly, but I still need these reference points.
My solution was to create an indicator that shows the current level of some MA deviating to one side of the current candle.
Applies to all time frames except weekly and monthly. The source of the MA can be shown on other time frames on the current chart, namely the daily 10 EMA on the 15 minute chart. The indicator is attached and you can change it if you want. The code is well commented enough that I hope the changes made should be self-explanatory. (I've seen enough posts here to know that everyone may want a different master addition - feel free to make your own changes.)
NOTE: This is an "upgraded" version of the indicator I mistakenly posted in the forum with the same title. Added functionality to toggle MA on/off from properties window and further internal comments.

Attachment download
📎 MA_Segments.mq4 (37.71 KB)
Source: MQL5 #10463
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •