consecutive magic number partial position
3 replies
Uwe6000
4 years ago #240874
Hello,
1. I want to execute a partial position with each long signal. The EA should generate a consecutive magic number. Problem: When I use a Long Rule, I forgive e.g. “1000”. The EA would normally put only “1000” with each buy signal at Rule1. He should but for example 2. Long “1001”, 3. Long “1002” etc put.
2. The size of the individual positions should be 0.5 percent of the equity + 50% of the current open long positions.
To calculate the stop, use EMA100.
How can I do that ?
Thanks for your answers
Uwe6000
4 years ago #240886
Ok i found solution for magic number https://strategyquant.com/forum/topic/how-to-open-more-position/
but how can i move SL these various magic numbers with EMA100 all together ?
tomas262
4 years ago #240912
This is how you can set a moving average to trail stop-loss
Uwe6000
4 years ago #240997
aha, thank you !
Viewing 3 replies - 1 through 3 (of 3 total)