Each stock # of shares could increase or decrease over time.
I am using :
To add shares:
EnterLong(int barsInProgressIndex, int quantity, string signalName)
to reduce shares:
ExitLong(int barsInProgressIndex, int quantity, string signalName, string fromEntrySignal)
I was using unique signalNames for entries of the same stock but that doesn't working for exits.
Can I use the same signalName for all entries for the same stock? so that I can exit with the same entry signal?
Would this work?
Comment