for example, I need an indicator to do that only 2 contracts can be opened and nothing more.
Roughly speaking, I want to limit random inputs during scalping, the indicator should check if, for example, 2 contracts are already open, then it no longer allows you to enter the position.
how can I implement this with an indicator?
please example
Thank you in advance

Comment