I would like to set a maximum buys per bar.
I know about:
|MaxOpen = 10;
SetOption("MaxOpenPositions", MaxOpen);
But is there any way to write the 'equivalent' of:
||MaxBuys = 3;
SetOption("MaxBuys", MaxBuys);|
||
TIA.
-- Keith
I would like to set a maximum buys per bar.
I know about:
|MaxOpen = 10;
SetOption("MaxOpenPositions", MaxOpen);
But is there any way to write the 'equivalent' of:
||MaxBuys = 3;
SetOption("MaxBuys", MaxBuys);|
||
TIA.
-- Keith