I am making a trade copier , and i was just wondering if my approach will work :
Terminal A sends and Order a1 to the terminal B , string that is received at the terminal B contains : tp,sl,lots,pair and ticket number Order a1
now I am planning to use Ticket number of Order a1 as the magic number of Order B (the copied order that will be opened on Terminal B),
i was initially thinking of using the ticket number of Order a1 as a comment on order b1 but i heard that comments can get changed from the broker's side
why I want to use the ticket number as the magic number is because it can help simplify the tracking of the order and when the a1 is closed ,
it can track and close b1 as well by sending the ticket number of the closed a1 to the receiver
I know there are multiple methods to track the orders , like : arrays , files , objects on chart etc
but i dont really want to go that direction , because Objects can get deleted , arrays loose data if the terminal is restarted ,
and the files... well i just dont really feel comfortable with files at the moment
I am Not looking for code or examples or anything
I only need suggestion from more experienced programmers
My Concerns: I am not sure if this is a good approach of tracking orders i only need this approach to close order b1 when terminal A sends the command to close an order with ticket of a1, will there be any issues with this to keep in mind ?
Thank you
If you want to do a trader copy utility, you should know the Python computer language. This solution of yours does not always work correctly and does not give as fast and accurate results as the application with Phyton. In other words, there is a proverb in Turkey. No straight line is drawn with the Curved Ruler. After all, you are trying to trade with milliseconds.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am making a trade copier , and i was just wondering if my approach will work :
Terminal A sends and Order a1 to the terminal B , string that is received at the terminal B contains : tp,sl,lots,pair and ticket number Order a1
now I am planning to use Ticket number of Order a1 as the magic number of Order B (the copied order that will be opened on Terminal B),
i was initially thinking of using the ticket number of Order a1 as a comment on order b1 but i heard that comments can get changed from the broker's side
why I want to use the ticket number as the magic number is because it can help simplify the tracking of the order and when the a1 is closed ,
it can track and close b1 as well by sending the ticket number of the closed a1 to the receiver
I know there are multiple methods to track the orders , like : arrays , files , objects on chart etc
but i dont really want to go that direction , because Objects can get deleted , arrays loose data if the terminal is restarted ,
and the files... well i just dont really feel comfortable with files at the moment
I am Not looking for code or examples or anything
I only need suggestion from more experienced programmers
My Concerns: I am not sure if this is a good approach of tracking orders i only need this approach to close order b1 when terminal A sends the command to close an order with ticket of a1, will there be any issues with this to keep in mind ?
Thank you