reset by max lots
-
hello
I work with the martingle strategy ( cross 2 moving average ) .
I want to add max lots to expert
How do I make the expert open the deal with the initial lot if the deal will open a lot larger than max lots ?
I don't want to work with " Reset after how many losses "
I want to replace it with Maxlots -
You will need variables to store the value of the current lot size. There is no single block doing that. Are you familiar with variables?
-
thank you for replying .
Can you give me a model cross 2 moving average ? I know the variables . But I need a model to understand how I will do this. -
hello mr l'andorrà
-
Can you please share the link to your project?
-
thank you
https://fxdreema.com/shared/MlUqrogMd -
@ettaher You need to create a new variable to establish the maximum lot size here:

-
ok i add variable
https://fxdreema.com/shared/H767fvkKb
or download mq4 file
RSI MP.mq4 -
Hello...
-
@ettaher Ths is the place to specify the max lot via a Constant:

-
I know this option. But when the lot reaches this value, I want him to open the deal with an initial lots.
I want expert reset to initial lots
Example so you understand what I want ?Lots initial : 0.1
Lots mutiple : 2.0
Maxlots : 1.0So after losse
Next trade open whith lot 0.2 / 0.4 / 0.8
But next trade not open whith 1.6 becaus Maxlots1.0
It will open with a initial lots size -
in max lots put lots initial (constant name)(or the value lots have increased to), *10 in max lots, if your lot is 0.1 then max is 1, generally this will make, the % difference between start and max the same.
-
Thank you so much . But I didn't understand how to do that.
Can you share me the link the project ? -
@ettaher this is my projet
https://fxdreema.com/shared/H767fvkKb
or download mq4 file
RSI MP.mq4 -
You can do it like the picture, the problem is, you need to get the lot of the just created trade, you can get this on the on trade tab, but because this is not linked you have no way of linking. The only way is to create each trade using pink blocks and different groups. A lot harder.

-
hi
I tried a lot but I couldn't do it.
Good . I want to work only with option " Reset after how many losses "
But I noticed that when it is activated and after the lot returns to the initial lot, the multipliers stop and the expert waits for a winning deal in order for the multipliers to start working again .How will I make the multiplication run without stopping?
exemple :
Lots initial : 0.1
Lots Multiplication : 2.0
Reset after how many losses : 3so After successive losses. I want the trade lots to be as follows :
0.1 l 0.2 l 0.4 l 0.1 l 0.2 l 0.4 l 0.1 l 0.2 l 0.4 -
I will add a start for you, this set up uses a lot more blocks. Test and play with this, you can then ask about anything you want to change, and pay attention to the use OF groups, This strategy is just to show what can be done. https://fxdreema.com/shared/XxNWkbYud
-
Thank you very much mr jstap and mr l'andorrà . I've solved the problem in a different way.
-
@ettaher You're welcome.