Adderlot and increase grid lot
-
To all heroes and geniuses here. Happy new year 2024.
Please provide some insights and guidance.
How to make the 2nd trade of buy/sell to add by adderlot.
Meaning start lot 0.1, adderlot is 0.02. Then it will be
1st 0.1lot, 2nd 0.12lot, 3rd 0.14lot etc2nd question.
How do I increase grid lot for every 10 layers or 5 layers.
Every 10 layer, grid lot increases by 50.
1st 10 layers uses 100
11th to 20th uses 150
21st to 30th uses 200For example, 1st layer gold 2000, grid lot 100,
2nd layer 2001, 3rd layer 2002 etc
11th layer become 2010.5, 12th 2012 13th is 2013.5
21st layer is 2030, 22nd layer 2032, 23rd layer 2034How do I add math division to calculate adding and increasing grid lot size?
-
You need to use variables where those lot size values are recalculated. Are you familiar with variables?
-
Thanks for replying. I am familiar what is variable used for. But unsure how to change the value and update the value to complicated calculations term. Need math equation?
-
Well, you can use math via custom code but can also use standard condition block. For example, every time a trade is open, you can make a counter variable add +1. As soon as that variable hits any of those layers, the lot size variable should be changed accordingly.
-
@l-andorrà
do you have some examples to show ? -
I'm afraid you will need a programmer for that custom code, sorry. I'm an advanced fxDreema user, but not a programmer, sadly.

-
Position created add 1 to a variable on the on trade tab, check this with a condition block and change a lot variable on the on tick tab...