Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
223
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

MA Crossover EA — an expert advisor based on the crossover of moving averages

The expert advisor opens trades when two moving averages (Fast and Slow) cross. It works on any instrument and timeframe.

Features:

  • Opens a BUY trade when the Fast MA crosses from bottom to top
  • Opens a SELL position when the Fast MA crosses from top to bottom
  • Setting Stop Loss and Take Profit
  • Only one position at a time
  • Trading only on a new bar (optional)
  • Customisable parameters


Parameters:

  • Lot — lot size
  • FastMAPeriod, SlowMAPeriod — MA periods
  • StopLoss, TakeProfit — levels in pips
  • MagicNumber — magic number
  • TradeOnNewBar — trade only on bar close

Recommendations:

Before using this expert advisor on a live account, test it in the Strategy Tester and optimise the parameters for your specific instrument.


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/77414

MarketInfo MarketInfo

MarketInfo is a simple information script for MetaTrader 5. It collects and logs key data for the current instrument: prices, spread, volatility (ATR), time remaining until the bar closes, statistics covering N bars, and trend identification.

Weekend Gap Check - prop firm gap risk before the Friday close Weekend Gap Check - prop firm gap risk before the Friday close

Before the Friday close: estimates how much your open positions could lose if the market reopens with a gap, and compares it with the room left under the daily loss limit of the next trading day. For prop firm and funded accounts. It only reads the account.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.