Trigger an action from the trade terminal
-
Hi
Is it possible to trigger an action from an opening position in the trade terminal only (not directly from the char) not order manually

-
@guym Not sure what you exactly mean. Do you want to open/close a trade without doing it manually? This is what an EA is for. Can you please be more specific?
-
Yes I want to open and close trades from an other robot.
The first open is an opening trade come from a Robot that is not install on my MetaTrader platform.
At the moment I use the command « Trade Created» to trigger when I test it manually, but when test it on the platform from the robot it still never trigger from my project. Is it a problem of Magic Number or is there an other command that would work fine for me
Is there a magic number that work for automated trades?
Thank you for your reply
-
@guym The easiest way to do it is creating the second bot with this option selected on all 'For each trade' blocks:

That way no specific magic numbers are required. This second bot will recognize any trade that was opened by the first bot.