Profit Math
-
@AlphaOmega Sorry, I cannot still understand your project because you are giving the whole puzzle but we need to build it piece by piece.
Let´s make it simple and then if you have a good EA's behavior, we can try to add the suggestions given by other forum members.
What do you need to happen when the codition/s to open trade/s takes place? I remember from the begining of this topic that you wanted to open a trade when a new bar opens and the condition is still true. Is that correct?
-
@josecortesllobat Thanks for the reply... Yes, you have a good memory... I will start from beginning:
When indicator is in overbought or oversold I want to place order.. check simple expert example:
https://fxdreema.com/shared/mdjTWpegb
This is the indicator: 0_1606327536570_Stochastic MACD.mq5The next step,
If the conditions is met but price action still moves further away from 1st trade(parent) in a negative direction: another order must be taken -30 pips(first child trade) away from original entry and then -30pips away from 1st child trade, etc..... and the lot sizes must be exponentially added on an averaging basis of a +/-150% of previous negative lot size, on every new child order. For example: 0.01(parent), 0.02(1st child), 0.03(2nd child) etc, and the take profit must modify 25% above the average of all trades
I hope you can understand this explanation.
Thank you in advance -
hi guys.i just found out this thread while doing my research here on fxdreema.i see the EA has a Buy only condition.how can one get it to taking sell positions aswell.thanking you in advance
-
The profit math idea does no work properly .. instead only use @roar algorithm.. you can build a decent martingale from this.. I have made a buy side that time to get the thing to work. The example is above.. You can just copy and alternate for sell
https://fxdreema.com/shared/VeKz6Pg7d = The raw algorithm
-
@AlphaOmega thanks buddy.will take a look at it
