Custom Volume Limit
-
Hello everybody,
I hope all are good.
I want an example of putting a limit to total volume to traded by a martingale EA.
For example I want not take trades by the EA when total volume of the trades taken either buy and sell together is 2 lots. -
@l-andorrà can you please help ?
-
Bucket of trades, lot <=2, place trade
-
@jstap Under which block this have to be placed
-
bucket can be separate, I would put a pass above, you can access with a condition wherever you want.
-
@jstap Have I done right ?
This is a martingale system so I place the condition block before martingale logic, and kept total volume in Bucket of trades in grey.

-
@forexbob-0 the value to get choice should be max. value
Click the dropdown to select it
-
@tec-nacks I want the total sum of the lots opened including buys and sells both.
So I think it will only check the maximum value lot trade