i have made this script to place a long limit order when a certain high is meet, with stops and profit targets, i am using a 15min ES chart for this.
now everything works fine the way i want it, but the problem is when that high is meet it will place a long limit order fine, but if that 15min bar high that trigger the strategy to place the long limit order closes with out triggering the strategy, it will remove the long limit order and cancel the strategy.
how can i tell NT to not too cancel anything until all the strategy have been fulfill?
i also wan to be able to cancel the strategy if another greater high have been reached if the strategy have not been fulfill.

Please see the following page for options on how to work this. Essentially you need to recall the EnterLongLimit on every bar update that you want the limit order to remain in the market unless you specify with advanced order handling that the order is live until cancelled as described on this page:

thanks very much for you help.
i am not an expert on this yet.
it was easy at first with the wizard and all but not so much any more.
so not quite sure how to work with what you have explained to me.
could you modified my ninjascript so i can see how it's done?

FULL RISK DISCLOSURE: Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.