Lavoro terminato
Specifiche
Freedom Nov 3 a
1. New function needed to be added to dialog box.
1. Add to the dialog box a setting for a value to be placed as “Activate Trailing stop”
This value will range from 0 to 100, If set at 0 EA will function as it is currently.
2. Add to the dialog box a setting for a value to be placed as “Trailing stop gap”
Activate Trailing stop
When price reaches this level the stop line will be moved to the level below or above price as set in “Trailing stop gap” e.g. The value in the Activate Trailing stop is set as 4 and the value in Trailing stop gap is set at 2 this means when price reaches level 4 the Stop loss line will be moved to 2 levels below the current price in this example it will be at level 2. There after when price moves to level 5 the stop loss will move to level 3 so the stop loss will stay below or above the set amount of levels as set in Trailing stop gap.
2. New function needed to be added to dialog box.
1. Add to the dialog box “Max Stoploss”
2. Add to the dialog box “Move Stop line Levels”.
Max Stoploss, Move Levels
When a new Cycle within a Cluster is started the EA will keep track of the amount of times that the stoploss was hit within that Cycle at the same level. As the set amount of losses is reached the EA will not place the stoploss line at that level again it will place the new Stop loss line at the set levels away as set in the Move Stop line Levels setting. e.g. The Max Stoploss is set at 5 and the Move Levels is set at 8 this means when the stoploss was taken 5 times at the current level the Ea will not open the next order at Level 1 as it is now it will place the new Cycle Stop loss line at level 8 and only start to trade again once price have reached that level above or below the current level. The losses for this Cycle will stay in the Pips to Target and will need to be filled before the Cluster is complete. So now the new cycle starts trading at the new level as normal and a new count is started, if the Stoploss is taken again the set amount of times the Cycle will only start again at the new level away from the current level as set in the Move Levels box.
As in Freedom Limit
Lastly place two buttons on the dialog box one button CLOSE ALL TRADES- this if clicked on, the EA will close all trades but keep the current loss on the Pip to target counter to still be filled before profit is taken and the second button Close ALL RESET- This button will close all trades and reset the Pip to target to only the Profit setting so it will clear the losses.
Many thanks
Louis