READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

exit strategy EA

2 replies

griff32

Subscriber, bbp_participant, community, 0 replies.

Visit profile

7 years ago #237123

Good Day,

I’m new to EA wizard and hopefully can get some answers and guidance here.  I am trying to build an EA for only exit strategies that will manage manually opened trades.  How can I get the EA to take over once a trade is placed?

Thanks

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #237143

Hello,

the problem here is manual trades have magic number = 0, while all expert advisors use some non-zero magic number to manage trades. It can be done by some more advanced MQL4 programming …. this is more a job for a MQL4 coder

0

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

7 years ago #239436

Hello, that’s easy. For long or short trades, use “Enter the Market” long or short rules with magic number 0. Then the EA takes over the trade. Then new Rule … Market is long and SMA200cross sma50, then close position with magic number 0 as example

0

Viewing 2 replies - 1 through 2 (of 2 total)