Hello,
I am trying to find a way to modify an existing trade (started by an EA) that can be carried on, or modified by another EA apart from the EA that originated the trade. As it is not yet possible to modify the magic number, is there a work around that I can use to tag a given trade so that a completely different EA can monitor it seperately on a different chart and time frame.
Example: I have an EA the enters trades on a small time frame with a given criteria. If the market moves in my direction, I'd like to move the trade monitoring out to progressively larger and larger time frames. All this while simultaneously allowing the original EA to continue entering trades on the smaller time frame as the market conditions dictate.
Question: How can I program a seperate EA to look for and distiguish those trades that meet the longer time frame criteria and NOT interfere with those trades that are still generated on the shorter time frame...Likewise, how do I keep the EA on the shorter timeframe from interfering with the trades on the longer time frame?
The only thing I can think of is to somehow "mark" or "tag" those qualifying trades with some unique identifyer allowing the other EA to search for and find these trades. Is there a way to do this? It would be really nice if I could modify the magic number somehow.
Does anyone have any suggestions?
I am trying to find a way to modify an existing trade (started by an EA) that can be carried on, or modified by another EA apart from the EA that originated the trade. As it is not yet possible to modify the magic number, is there a work around that I can use to tag a given trade so that a completely different EA can monitor it seperately on a different chart and time frame.
Example: I have an EA the enters trades on a small time frame with a given criteria. If the market moves in my direction, I'd like to move the trade monitoring out to progressively larger and larger time frames. All this while simultaneously allowing the original EA to continue entering trades on the smaller time frame as the market conditions dictate.
Question: How can I program a seperate EA to look for and distiguish those trades that meet the longer time frame criteria and NOT interfere with those trades that are still generated on the shorter time frame...Likewise, how do I keep the EA on the shorter timeframe from interfering with the trades on the longer time frame?
The only thing I can think of is to somehow "mark" or "tag" those qualifying trades with some unique identifyer allowing the other EA to search for and find these trades. Is there a way to do this? It would be really nice if I could modify the magic number somehow.
Does anyone have any suggestions?