Free Random Trading Direction NinjaScript
$0.00
This Free Random Trading Direction NinjaScript will randomly determine whether to enter a long or short position.
Overview
This Free Random Trading Direction NinjaScript will randomly determine whether to enter long or short.
This NinjaScript add-on is not assembled which means you have full access to view and change the source code either in NinjaScript Editor or your preferred way to edit .cs files.
Details / Instructions
Example use case: If your strategy is based around capturing small movements in a low volatility range, and direction doesn't matter, you can enter in a random direction when volatility < x. To further explain, if the volatility is reliably within an 8 tick range, you can use the Free Random Trading Direction NinjaScript to enter a buy or sell position determined at random, then use the Free Automated Stop and Target Ninjascript to set a stop order outside the 8 tick range and a target order inside the 8 tick range. The idea being that if the price continues to bounce between the range limits, your target will be hit before your stop.
Notes
This NinjaScript download is a single zip file that you import directly into NinjaTrader. It’s not assembled which means you have full access to view and change the source code either in NinjaScript Editor or your preferred way to edit .cs files.