Modify Take Profit
-
I am using the add volume example as reference. After 5 trades that opened the EA should modify the Take Profit level and lower it by 200 pips but I can't seem to get it working. The EA opens all trades with the same TP level but I doesn't want to change it. I used For Each Trade, Move pips away from open price and modify stops. On Modify Stops I used reference point as current market price. When backtesting no trades where modified. Any suggestions?
-
Could you please share you project to take a closer look?
-
https://fxdreema.com/shared/CHkG6U0Jd
Hope this helps?
-
Firstly you should change block ID numbers for buys. Now a buy is open AFTER its volume is added and its stop modified. That will not work correctly. I suggest you to change the following block IDs: Block number 13 should be number 6. Then block ID 12 should be number 13. That way buys and sells will be opened BEFORE modifying any stop loss.
-
@l-andorrà so the logic is correct block numbers is incorrect?
-
https://fxdreema.com/shared/tx8gxUJ1d change the Block ID. TP still doesn't get modified.
-
Isee you are requiring +-100 pips away from open price for that to happen. Did you checked those distances on your backtest? It seems a lot...
-
I am using the concept of Martingale. The problem with Martingale is that it adds to your draw down really quickly. I just sticked to the same lot size. On my back testing I played around with lot sizes, Take Profit and add volume levels and found that Take Profit at 200 pips, 100 pips on add volume and 0.2 lot size per $100 cent account. Got 50% max draw down and 56% average per month return. The problem I found on back testing was during February and March 2018 no trades closed. If you are looking for monthly returns that will not do. That is the reason why I want to modify the take profit levels so should the trades can close earlier. So to sum up. Back testing worked great on the the add volume trades but it doesn't modify trades at all
-
Are you still using the same project or did you modify it?
-
Same Project modified a bit to it to open trades according to you equity balance
-
Could you please share it again for us to take a look?