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

Auto-Uploader - MetaTrader 4 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

This is a basic script that uploads any open and pending trades to the web server. This zip file contains examples in PHP and MySQL for saving and inspecting data.

I used ghttp.mqh-s GET method in httpget.mqh file.

The script uploads any open or pending orders on the terminal within a given time interval (default is every second),

Update changing data such as profit, take profit or stop loss.

Monitor historical data for closed or canceled orders, but only send modifications if the order is actually canceled or closed.

It only starts saving data for current positions and pending orders, no historical data, but if the position is closed, it will remain in the database.

It must be implemented as an indicator of ongoing work.

It can be attached to any chart and it will scan for any open trades.

Any ideas for improvements are welcome!


Attachment download

📎Copytrader.mq4 (3.54 KB)

Source: MQL5 #11038

Automatic uploader - MetaTrader 4 script | Foreign exchange indicator download - MT4/MT5 resources - MetaTrader 5 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