Ninjatrader script trailing stop
The Average True Range Trailing Stop indicator was published in the June 2009 Stocks and Commodities article authored by Sylvain Vervoort titled "Average True Range Trailing Stops". Show Category Indicators
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.
With NinjaTrader’s Advanced Trade Management (ATM) strategies, you can create custom trailing stops specific to your preferences. Why Use a Trailing Stop?A trailing stop is a dynamic stop loss order which “trails” behind the price as it moves in your favor. As the price moves further in your favor, a trailing stop automatically moves with it, limiting losses or locking in profit. An advanced order type, trailing stops can be used for both long and short trades, but can only move in one direction. For example, once a trailing stop has moved up, it cannot move back down. Build a Custom Trailing StopUse NinjaTrader’s ATM Strategy feature to create a custom trailing stop that suits your particular preferences. For example, start with a loose stop and have it cinch tighter as each profit benchmark is hit. Additionally, adjust the frequency of the trailing stop and can scale out slowly or exit your entire position at once. The possibilities are endless! From an order entry interface such as Chart Trader or the SuperDOM, ATM strategies with trailing stops can be built in a few simple steps using the Stop strategy settings.
Test Your Trailing Stop with the Simulated Data FeedOnce an ATM Strategy template has been created, test your strategy using the Simulated Data Feed. Please note: the simulated data feed provides internally generated market data and is not reflective of the actual market. When connected to the Simulated Data Feed, a trend slider will appear which allows you to control the price either up or down. This is extremely helpful for testing ATM strategies. To connect to the Simulated Data Feed, first disconnect from any other open connections and then click Connections>Simulated Data Feed. Use the trend slider to control the direction of the market as you test your ATM strategy on both the long and short side of the market to ensure it is performing as expected. The award-winning NinjaTrader platform supports both advanced and basic order types and is always free to use for advanced charting, strategy backtesting and trade simulation. Get started building custom ATM strategies with an award-winning trading platform! Visit NinjaTrader EcoSystem and our free User App Share! Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum! |