doubts about the martingale
-
Hi everyone, I created this structure to teach the EA that every time it executes the matingala at -5 pips it must also create the new TP, the constants are the following:
PIP = -5 (pips)
PERCENTAGE = 200 (it is the multiplier)
while the variable is TP and I created this formula: ((PIP)*(-1))/1• what does it do?
every -5 pips executes a new order by taking the lot and multiplying it by "PERCENTAGE" (example 0.01 = 1st order, 0.02 = 2nd order, etc...), then moves the TP using the formula I wrote above, then : (-5)*(-1)/1 = 5• what's the problem?
so the problem is that when the new TP is moved (for all orders) I graphically notice that I don't see 1 single red line (the TP) but sometimes I see 2-3 red lines, this means that the TP is not aligned for all the orders orders, it seems as if there is a slippage of a few pips, for example;
order 1 = TP: 1.0123
order 2 = TP: 1.0123
order 3 = TP: 1.0124
etc...• Solution?!?
I'm here to ask you if you can give me some solutions.Thanks in advance

-
If I changed this entry from "current market price" to "open price", could I solve the problem? what are you saying?

-
nothing, I've tried them all, it can't create SINGLE TP for all orders... let me know
-
Pink blocks should be connected below a 'For each trade block'. Otherwise they will not work correctly. Did you do it?
-
@l-andorrà no I'll try now, I've never done it
-
@l-andorrà if I enter: "For each trade block" at every 2nd order in martingale that creates 200 orders in loopit. does not work.
-
If you want martingale, try following Boxxocode's videos for an idea of what you might have missed.
-
@dadilula Because you need to add a pink 'once per trade' block below it as well as specifying just the last trade to be considered inside the 'for each trade' block. Like this:

-
@l-andorrà thanks
-
You're welcome.