this was a really bad experience.
this is a perfectly valid question i made and repeated multiple times: one can create a strategy and an indicator for nt that are exactly identical, and then colors, alerts and any other actions on the indicator will have nothing to do with the entries and exits on the strategy.
nt support was not of much help, it took me a long time, a lot of trial and error and also studying some c# to be able to figure this out by myself.
i share the solution here for anyone else who could find this to be useful.
one can have this strategy that i posted to this thread:
if ((Position.MarketPosition != MarketPosition.Short)
&& (SMA1[0] < SMA1[1])
&& (Momentum1[0] < Moml1)
&& (ADX1[0] > Adxp))
{
EnterShort(Convert.ToInt32(Posi), @"sp01");
}
else
// Set 4
if ((Position.MarketPosition == MarketPosition.Long)
&& (SMA1[0] < SMA1[1]))
{
ExitLong(Convert.ToInt32(Posi), @"elp01", @"lp01");
}
// Set 3
if ((Position.MarketPosition != MarketPosition.Long)
&& (SMA1[0] > SMA1[1])
&& (Momentum1[0] > Moml2)
&& (ADX1[0] > Adxp))
{
EnterLong(Convert.ToInt32(Posi), @"lp01");
}
else
// Set 2
if ((Position.MarketPosition == MarketPosition.Short)
&& (SMA1[0] > SMA1[1]))
{
ExitShort(Convert.ToInt32(Posi), @"esp01", @"sp01");
}
an indicator with the exact same structure, components and inputs will have nothing to do with this strategy.

Comment