명시
My requirement is something similar to a remote trade copier but not exactly a trade copier. Here is what I want to achieve.
Assume I have an EA that I want to share with a group of people somewhere else. But I dont want to share the full EA of mine.
Let's say this EA’s main entry criteria is 200MA. If price >200MA, then we buy and vice versa. After this rule, there are many other conditions such as RSI, Stochastic, etc. before the entry is actually entered. I want to split the EA into two parts. One part which will be run on my MT4 will only have the main entry criteria which is 200MA.
The EA that I share with others will have all other rules. My master EA MT4 will broadcast to the specified receiving account the result of the main entry criteria for each pair that I run the EA on. This could be a simple Boolean value like true/false (true=buy, false=sell). Now the receiving accounts will periodically (as specified such as every minute or so) check with my master MT4 and update if the master signal is buy or sell and then check if other rules on their own and then enter the trade on the receiving MT4. If the Master signal is not available/disconnected, then no further action will be taken on receiver side.
And I need to be able to specify the account numbers of the receiving MT4s (ability to add or delete the receiving MT4 numbers with an optional expiry date) on the master MT4 side. On the other hand, receiver will need to have inputs to add the master MT4 IP (or MT4 number or other way of connecting).
In short, I need a mechanism to pass simple Boolean value like true/false to a remote MT4 for a given trading pair. And the above strategy was just an example. I should be able to implement this mechanism with any EA I will make. Also sometimes, the pair names may have prefix/suffix on some brokers so I may need to a way to match pair names from master account to the receiver account.
Just a side note: ChatGPT suggested this solution: https://justpaste.it/cjacs (maybe there is another way)
Thank you for reading. Let's me know your proposals. Fees negotiable.