HA Scalping Strategy

- HA Scalping Strategy - NInjaTrader 8 Premiumreminder text for Heiken-Ashi bar type- HA Scalping Strategy - NInjaTrader 8 Premium

Image - 1 (Click to ZOOM)

Image - 2 (Click to ZOOM)

ATM strategy - HA Scalping Strategy - NInjaTrader 8 Premiumenter a trade, Daily Maximum SL/PT, Fixed stop loss/Trailing stop loss - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 3 (Click to ZOOM)

Image - 4 (Click to ZOOM)


The HA (Heikin-Ashi) Scalping Strategy is a fully automated custom programmed strategy, developed by Rize Capital, to use with the NinjaTrader 8 trading platform. This strategy can only be used on Heiken-Ashi bar type; otherwise, you will see a reminder text on your chart like Image 2. This strategy is based on the change of colour of the chart bars and for exits, it has 3 setups. 


For the first setup, the strategy enters a Long position when the bar transitions from red to green and a Short position when it transitions from green to red. Positions will exit automatically when the bar colour reverses to the opposite direction (as shown in Image 1). 


The second setup uses the same entry logic as the first but incorporates ATM strategy exits, which will look like Image 3. To activate this feature, you must check the ‘Enable ATM Strategy Exits’ from the setting parameter (highlighted in blue in Image 10). In this mode, the strategy exits positions either when ATM strategy orders (e.g., profit target or stop-loss) are triggered or when the bar colour reverses, whichever occurs first. Users can filter trade directions by selecting Long only, Short only, or Both in the parameters (highlighted in purple in Image 11). If both options are unchecked, no orders will be placed. Important: An ATM strategy must be selected in the Chart Trader panel for this setup to function; failure to do so will result in no orders being submitted (this requirement was emphasised to prevent user oversight). 


notification - current day’s profit is reached - HA Scalping Strategy - NInjaTrader 8 Premiumnotification - for daily maximum loss - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 5 (Click to ZOOM)

Image - 6 (Click to ZOOM)


For the third setup, you can configure trade entry delays, Daily Maximum Stop Loss/Take Profit, and Fixed Stop Loss/Trailing Stop Loss (as shown in Image 4). To activate this, enable the ‘Enable Stop Loss/Profit Target Exit’ option in the settings (highlighted in blue in Image 10). Once enabled, additional customisation parameters become available (highlighted in orange in Image 12). 


The ‘Bar No For Entry’ parameter defines the number of bars the strategy waits after a colour change before entering a trade. The ‘Daily Profit Target’ field allows users to set a daily profit threshold; once reached, the strategy halts new entries for the day and displays a notification (Image 5). Trading resumes automatically the next day. Similarly, ‘Daily Stop Loss’ sets a maximum daily loss limit and triggers a notification (Image 6). Please make sure you add the ‘-‘ sign before the amount value in this parameter.  


You can select between a Fixed Stop Loss or Trailing Stop Loss via the ‘Stop Loss Type’ parameter. The stop-loss distance is calculated using the value entered in ‘Stop Loss Distance in Ticks’. If the bar colour reverses before the stop loss is triggered, the strategy will exit the position immediately and re-enter only when a new valid setup forms. 


There may be periods during trading hours when chart bars’ colours change excessively frequently (e.g., the area marked by the red rectangle in Image 1), which could be unfavourable for trade entries using this strategy. As the strategy is fully automated, you can pre-define the strategy’s active trading periods by selecting specific time ranges and days in the settings (highlighted by a yellow rectangle in Image 8). This allows you to exclude historically unfavourable periods based on bar colour volatility, ensuring no trades are placed during these pre-set intervals. 


send email notifications for trading platform positions - HA Scalping Strategy - NInjaTrader 8 Premiumselect the time ranges and specific days - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 7 (Click to ZOOM)

Image - 8 (Click to ZOOM)

define quantity to enter positions - HA Scalping Strategy - NInjaTrader 8 PremiumEnable ATM Strategy Exits - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 9 (Click to ZOOM)

Image - 10 (Click to ZOOM)


Now, it’s impossible to always keep an eye on the trading platform to know when a position is entered. That’s why you can configure email alerts via the parameters highlighted by the white rectangle in Image 7. By entering your email address and enabling the ‘Generate Alerts’ checkbox, the strategy will notify you via email when a position enters or exits. Additionally, the trade quantity (position size) can be customised using the field highlighted in lime green in Image 9. 


Enter Long only or Enter Short only - HA Scalping Strategy - NInjaTrader 8 Premiumenable stop loss - Bar no for entry - options - - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 11 (Click to ZOOM)

Image - 12 (Click to ZOOM)

default settings - HA Scalping Strategy - NInjaTrader 8 Premium

Image - 13 (Click to ZOOM)


It is strongly advised to avoid modifying default settings within the red rectangle in Image 13 (except selecting your trading account and enabling the strategy, as indicated by the red arrow) to ensure proper functionality.


If you still have further query on how this strategy works, please watch the video tutorial by clicking here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article