Trabalho concluído
Termos de Referência
EA does place pendings up and under an open Market order in the Systems. This should stay!
I want, that EA does trail all pendings if market price goes better. So if Market Price goes Xpips better each Pendings (all levels to a side) should trail.
EA does have a Reopening - this should work still on opening price of each pending.
Explanation of Trailing.
EA does place 4 buys stops at market price 1.2020 - each distace level should trail if price goes better.
Trail active is at 5 Pips - If Price goes 5 pips better. Trail is active - Not this works not for Reopend orders - they trail direct!
Trailing is from then every 1 pip - for each Level price goes 1 pip better (for reopend orders Price goes direct better if marketprice goes better) - Last Trailing activity should shown in chart. "last Trailing Ordernumber"
Market price goes to 1.2015 - Now trail is active
Market price goes to 1.2014 each buy stop orders trail 1 pip better
Market price goes to 1.2013 each buy stop orders again 1 pip better and so on.
Same with sell limits
Information in Chart - the last order which has trail should be information in chart.
Paramter:
Trail Start:
Trail steps:
Again:
We have 4 buy stops in the market and market price ist 1.2020
buy stop 1.2030
buy stop 1.2040
buy stop 1.2050
buy stop 1.2060
Trail Start: is 5 pips
Trail steps: is 1 pip
Price goes down to 1.2015 - Trailing ist now activ
Price goes down to 1.2014
Buy stops change ther Stop at:
buy stop 1.2029
buy stop 1.2039
buy stop 1.2049
buy stop 1.2059
If an order is closed - Reopening works if ReopenPips is reached order will be placed again as Pending.
This new Pending will be trail direkt so Trail Start works not for Reopend orders