my strategy enters in alignment with the vertical line, I have some other conditions but the ones below are the main ones
calc onbarclose
B4Ind = B4Indicator(true,true,true,true,5,12,26,15,1.0,11,23.6,true,30); // Set to default values
if ( Position.MarketPosition == MarketPosition.Flat
&& B4Ind.VerticalLineOutput[0] == 1 // Long entry point
&& B4Ind.VerticalLineOutput[1] != -1 // Make sure not preceded by Bear Signal
)
{
EnterLong(Convert.ToInt32(ContractsL), @"L");
calc onbarclose
B4Ind = B4Indicator(true,true,true,true,5,12,26,15,1.0,11,23.6,true,30); // Set to default values
if ( Position.MarketPosition == MarketPosition.Flat
&& B4Ind.VerticalLineOutput[0] == 1 // Long entry point
&& B4Ind.VerticalLineOutput[1] != -1 // Make sure not preceded by Bear Signal
)
{
EnterLong(Convert.ToInt32(ContractsL), @"L");