TURNING A MONEY MANAGEMENT SEQUENCE INTO A LOOP AFTER A MAXIMUM LOT SIZE IS REACHED.
-
@l-andorrà
TURNING A MONEY MANAGEMENT SEQUENCE INTO A LOOP AFTER A MAXIMUM LOT SIZE IS REACHED.- Does this means reverse system in custom sequence money management ?
- Please help us add this feature to martingale money management parameters.
- Please help me add this to my ea https://fxdreema.com/shared/t6YU2m7Rd
-
You would need more information as to what the sequence is.
-
@kestra I'm not sure I fully understand what you mean. Is your first question a question to me or to the thread title?
I guess you want to add a martingale structure to your bot. Is that what you mean in your previous question?
-
@jstap i have already added martingale, i just want the system to reset when a specific lot size is reached.
-
@l-andorrà my first question is in line with the thread title, so what i mean in my first question is that does reverse system in custom sequence cause the sequence to enter into loop ?
Yes i want to use martingale and have added it, but i want it to enter into loop when a specific lot size is reached.
-
@kestra Then you need a custom structure using variables. You can find some inspiration with my custom martingale project doing exactly that:
-
@l-andorrà does this reset after a set max lot size ?
-
Yes. That happens in block 72, but please notice that I used an input parameter that limits the number of iterations to be considered. I'm not sure you need it too.
-
@l-andorrà Can you help me adjust the link in such a way that it resets based on lot size and not based on iterations. https://fxdreema.com/shared/6o0uTdg3e
-
That would mean doing it for you.
I will help you, but you should do your part first too. 
-
@l-andorrà The only difference would be entry, exit , take profit and the rest. the main issue is that i don't understand how you build that. please help me build that based on lot size, i will cut the part and fix it into the ea. Have tried, look at what have built, have been on it more than 5 years or so that's the only part left please.
-
I'm afraid it is not a question of just cutting and pasting blocks. You need to redesign the whole structure of your bot to add the appropriate variables. I'm glad to help if you do your part too.

-
@l-andorrà Ok so where should i start from, what should i do now ?.
-
Well, let's begin with the most basic. What lot size sequence do you exactly need?
-
@l-andorrà 0.02, 0.05, 0.11, 0.25, 1.31, 3.01, 6.92, 15.92 it should reset and go back to 0.02 if 15.92 closes in loss .
-
Ok. So you need to create a variable in which those values will be stored. Because it includes decimal positions, you will need a 'double' type variables. That will be the variable used within both 'buy now' and 'sell now' blocks. So please make this first move.

-
@l-andorrà will all the lot sizes be in one variable and be separated with comma or each lot in one variable each.
like this

or like this

-
You need to do the first option.
-
@l-andorrà Done. what next.
-
Can you please share the latest version of the bot?