NinjaScript > Educational Resources > Reference Samples > Strategy >

Modifying the price of stop loss and profit target orders

Print this Topic Previous pageReturn to chapter overviewNext page

One of the benefits of NinjaScript is the ability to automatically submit stop loss and profit target orders in real-time triggered when your entry order is filled.


Key concepts in this example

Submitting a stop loss and profit target order using default values offset from your entry order average fill price
Modification of the stop loss order to a break even price once a desired level of profit has been reached


Important related documentation




Import instructions

1.Download the file contained in this Help Guide topic to your PC desktop
2.From the Control Center window, select the menu File > Utilities > Import NinjaScript
3.Select the downloaded file and click Import.