Okay thank you I understand what I have to do. Thank you. I will have to add a ticker as well to calculate the division. If I struggle I will ask for more help
Posts made by Berg3699
-
RE: Close on average profitposted in Questions & Answers
-
Close on average profitposted in Questions & Answers
Good day everyone
I am going to start with an example so everyone understands what I want to do. So lets say you open a buy trade at 1.300 with a TP set to 1.400 and another trade is opened at 1.000 with TP set to 1.100. I want to change both trades TP so combined that they close at the same time and by 10 pips profit. This means the TP will be set to ((1.300+1.000)/2+0.010). That means both TP will be 1.160.
-
RE: Not opening buy tradesposted in Questions & Answers
The lot size changes as your equity grows or shrinks. The bot opens up buy trades in the beginning and then afterwards nothing. I got it fixed should have changed the move away from open price with a - had it as positive. Now it opens up trades as it should thank you for the help. Maybe you can help. How can I stop the ea from open more than x amount of trades? In the back testing I found that the bot opens a bucket load of trades and it eats away at the drawdown. So much that my drawdown sits at 70-80% or even margin call.
-
Not opening buy tradesposted in Questions & Answers
Good day,
My bot is working great except for one thing. It doesn't open buy trades. On backtesting it showed it open over 200 sell trades in a year compared to only 30 buy trades. Here is a shared copy to show my project if anyone can explain to me why it does this? https://fxdreema.com/shared/veAMScQ2b
-
RE: Modify Take Profitposted in Questions & Answers
Same Project modified a bit to it to open trades according to you equity balance
-
RE: Modify Take Profitposted in Questions & Answers
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
-
RE: Modify Take Profitposted in Questions & Answers
https://fxdreema.com/shared/tx8gxUJ1d change the Block ID. TP still doesn't get modified.
-
RE: Modify Take Profitposted in Questions & Answers
@l-andorrĂ so the logic is correct block numbers is incorrect?
-
Modify Take Profitposted in Questions & Answers
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?
-
Create a another order if price drops/climbs x pipsposted in Questions & Answers
Hi all
I am struggling with opening another order with the same tp/sl as the first one when the price drops or climbs with say 100 pips then when the price drops/climbs more it will open another trade 100 pips after last trade. I used the example but it keeps opening multiple orders at the same price. Any suggestions?