This is a Strategy Builder example of a DrawDown Kill switch. It is not a strategy on its own, it is meant to be configured to your own strategy.
⤷ Modify Set 5 and 6 for your Long and Short conditions.
How the Drawdown killswitch works:
⤷ Once the price reaches your KillSwitchProfit amount, the killswitch will start trailing by the TrailPNL amount from the highest daily realtime PNL.
⤷ If the price retraces and touches killswitch limit, it will take you out of the trade.
How this differs from a traditional killswitch:
⤷ Instead of taking you out of the trade immediately when a profit is reached. It will start trailing your killswitch.
⤷ It will allow the PNL to go higher if the price keeps going in your direction.
⤷ You do risk the chance of losing potential profits by not taking you out of the position when a profit threshold is reached.
If you want to see how it was made and some examples of how it works.Watch this video:
⤷ https://youtu.be/RgSqLobNuJQ
Created By | TradeSaber |
NinjaTrader Version | 8 |
File Size | 12.5 KB |
Create Date | 02/04/2025 |
# of Downloads | 2 |
Importing to NinjaTrader 8 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
- Select the downloaded file from your desktop
Questions?
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.