• Join us

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Scripts

Trade Copier - Open Source - Multiplatform - Transmitter Side - script for MetaTrader 5

The Coder

Published by:
TheCoder
Views:
1646
Rating:
votes: 10
Published:
2020.01.28 20:49
Updated:
2020.01.28 20:51

Each individual trade request is written to "TradeRequest.csv" file in real time.

This file will become long with all trade information and will have its name updated automatically every day, using current date on the name, to keep files small enough to be handled.

1 Trade request file will be created on common folder each day and they will accumulate in the folder.


a Timer is used to write to common folder, other 2 files:

Open Positions, with a summary of all the currently open positions in the account

Open Orders, with a summary of all the unfilled orders currently active in the account


Code can be modified to use pipes, sockets, webrequests or other methods to transmit data over the internet.

When you write the receiver side, make sure to check the age of the signal, before taking it

Master account equity is also transmitted with each trade information, so the receiver can act on sizing the trades.


Code has been compiled, is fully operational and is super fast, as of today.

Have fun !

If you want to show gratitude, to a lot of time you will save on writing a transmitter yourself, you can share your receivers for this transmitter also. I will also appreciate.

    CSetFileReader CSetFileReader

    Class to provide simple reading mechanism from MetaTrader set files.

    3D Moving Average 3D Moving Average

    The first really 3D indicator "Moving Average".

    Forex_Market_Hours_GMT_v4.0 Forex_Market_Hours_GMT_v4.0

    The good old MT4 indicator! Now for MetaTrader 5.

    daylight (summer time) daylight (summer time)

    Get the time of the daylight change, (start/end of the summer time).