Indicators based on 2 MA - MetaTrader 5 Expert | Grid EA Download - MT4/MT5 Resources


Have a nice day everyone)
First time posting code on the forum! ! !
The EA is based on the 2 MA indicator. If they do not cross over for a period of time and there is a pullback in the main trend, open your first trade 3. Other trades will open when moving in our direction or against us, depending on the ATR. When all three trades are complete, tracking will take place when moving in our direction. When the trend is against us, the EA will trade below or above (depending on the trade type) a certain number of trades at the grid step.
This indicator picks up divergence points from the DeMarker indicator
Drawing the wick (thin line): Draw a vertical line from the lowest price to the highest price of each candle (this is called the "wick")
This indicator is a utility that displays marked trading levels on any chart. If you want to replace the native trading levels on the native chart, turn off "Show trading levels" in F8 chart properties and attach this indicator. If you want to display trading levels on a custom chart (local trading levels cannot be displayed), then just attach this indicator. BaseSymbol - specifies the symbol from which trade-level data will be extracted - very convenient for unique custom symbols. TextBarsBack - specifies the number of bars back in history from the current bar to which level labels are drawn. Note: Although the magic number is referenced in the code, it is not currently included in the transaction line. If you are running multiple EAs on the same symbol, you can edit the code to display the magic number and then run multiple instances of the indicator on one chart. You can also edit the font size and text spacing in the object properties as needed for different display resolutions.
Combine a moving average with ATR-based upper and lower limits to act as a trend filter and volatility channel.
Attachment download
📎 atrtrader.mq5 (32.77 KB)
Source: MQL5 #57157
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •