wanted to see what "best practice" was for the following situation:
- entry signals generated only on bar-close
- stop adjusted on each incoming tick (eg. not bar-close)
as i see it, there are two options:
A. set CalculateOnBarClose to true; place entry in OnBarUpdate(); use OnMarketData() to handle incoming-tick for stop.
B. set CalculateOnBarClose to false; only fire entry after CurrentBar increments; adjust stop by referencing Close[0], as applicable.
three questions:
1. are the methods outlined in A and B above valid/correct/legit?
2. is one method preferable to the other?
3. are there other methods (C, D, E, etc.) to accomplish this? and if so, which ones are worthy of the title "best practice"?
in the event that this is out-of-scope for the Ninja team to answer, i would certainly welcome any comments from the community. thanks in advance :-)
cheers,
-e

Comment