Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Simple_Price_EA - MetaTrader 5 Expert | Grid EA Download - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

The algorithm of the Expert Advisor is simple: it searches for the lowest and highest price based on the number of bars specified in the input parameters. As soon as one of the current ask or bid prices reaches these values, the corresponding position will be opened immediately. The Expert Advisor can only open one long or one short position. There is only one setting in the input parameters of the Expert Advisor - "Number of bars to analyze price movements".

Library for trading session control. When launched, it calculates the number of trading sessions for 7 days a week (cryptocurrency trading is possible on Saturdays and Sundays), with a maximum of 10 trading sessions per day. Then in OnTick() you can check and if a quote appears outside the trading session, you can exit further processing of it.

Overview Grid Master EA is an automated trading system that implements a two-way grid strategy. It places multiple pending orders above and below the current market price, profiting from market oscillations in both directions.

The Expert Advisor processes pending orders Buy Stop and Sell Stop according to the time specified in its input parameters.

The structure of the input parameters


Attachment download

📎 simple_price_ea.mq5 (24.09 KB)

Source: MQL5 #48035

Simple_Price_EA - MetaTrader 5 Expert | Grid EA Download - MT4/MT5 resource usage and screening suggestions

This content can be used as a data entry for foreign exchange EA, indicators, trading systems or quantitative strategies. When reading, it is recommended to make a judgment based on the platform version, trading type, time period, risk control method and historical discussion background. Do not use it directly based on the title or a single point of view.

If the content involves MT4/MT5, ForexFactory, MQL source code, TradingView indicators or strategy discussions, you can give priority to the parameter logic, backtest environment, market stage, execution cost and failure conditions, and then decide whether to continue downloading, reviewing or secondary development.

Risk warning

For any EA, indicator or automatic trading strategy, it is recommended to first conduct historical backtesting, simulation account verification and small capital testing. Grid, Martin, high frequency, recovery and examination strategies especially require setting the account risk upper limit, single variety risk upper limit and manual deactivation conditions.

Verification code Refresh