adding to volume 2+
-
I want to increase my trade volume after each loss martingale but in different way here's an example
0.10
0.12
0.14
0.16
0.18
0.20
I only want to add 0.02 lots on each trade closed in loss -
using variables you can do it ... your variable can be edited in custom code block like
myLots=myLots+0.02
and do this in onTrade section -
hi there thanks for your reply but I don't know how. can you show me please it's really hard for me to do these things with codes I need to see it visually to learn it
-
here you dont need to program ...
the only you need is repeat this experiment: change-test-mistake and repeat it until success
how can you learn without effort? i know, mistakes are painful, but you need resist and not give up
check how easy it is (example for separate buy and sell, if you will not separate, try it make together, it is not hard with fxdreema) ..
https://fxdreema.com/shared/EFv4kOhGb3 sections are used (onInit, onTick, onTrade):



-
For totally custom lot sizes I would suggest to try that Betting: Custom Sequence option. It is located below Martingale and other betting systems.
But your sequence looks like part of Grand Martingale. You know, when you double the lot size and then add more amount. The Martingale settings are very flexible, so you can set it to not double the lot size, but only to add fixed amout every time. On loss, on profit, you choose. No need of Variables.