NT has a reference example here (http://ninjatrader.com/support/forum...ead.php?t=3225) about a strategy that uses multiple entry and exits. I am coding a strategy that also has multiple entry and exits and I am using
EntryHandling = EntryHandling.UniqueEntries;
as I want each entry/exit to generate its own orders.
I have a question for which I will use the example that NT gave (in that link above) :
This is a part of the NT reference code:
{
I want to use something along the lines of this (using NT's code as an example):
Since I am using multiple entry / exit signals (along with EntryHandling = EntryHandling.UniqueEntries;), it is not clear if Position.MarketPosition refers to the the RSI Entry or the SMA Entry .
Would the correct approach be Positions[0] and Positions[1] like this?
How can I implement multiple entry/exit signals where each entry/exit need to check whether its Position is long / short / flat?
Comment