1. Home
  2. Docs
  3. pjsHeikenAshi
  4. Settings


This is a list of the most common settings available in the indicator properties and a description of what they do. Some settings which are too obvious to be described here may be omitted to simplify documentation.

AlertsEnable voice alertsEnables or disables voice alerts
Announcement suffixAppends this text (speech) to the alert when announced
Start TimeAlerts will only be announced after this time
End TimeAlerts will not be announced after this time
AlgoThese functions will be covered shortly when an API guide is released
BarsShow BarsDraw the bars on the chart
HATypeSelects the formula used for creating the HA bars. ‘None’ will draw standard candles, instead.
HA ModeHABars will draw candles for chart use, Deltabars will set the indicator to oscillator mode and you will likely want to place the indicator into another pane instead of drawing in the chart window.
Paint crossover barsThis option will paint the bar (as long as ‘allow bar brush overrides’ is enabled) where HADelta crosses the zero line.
upper & lower line levelsthis will draw a static line on the HAMode oscillator at the desired levels to help you gauge possible overextended conditions
slope lineA bar length. This will draw a line between the value X bars back, and the current bar
Allow session gapsAllows a clean break in the candles between sessions. For standard candles, it is generally recommended this is ON
Shadow widthThe width of the shadow in pixels around the candles. For high-performance situations where you might have 1000’s of candles on the chart (e.g. very small high-frequency renko candles, etc.), you may consider turning this off to save drawing time.
Only show out of trend wicksTypically used with renko style bars. The wick will only show when it is counter-trend.
Hollow candlesDoes not fill the candle. Per the shadow width, you may wish to consider this option for aesthetic or performance reasons
Candle bar X axis adjustmentIn order to play nicely, visually, with some third-party indicators that might not be aligned with the X axis perfectly, this option allows you to shift the bars forward or backward (+ or -) the desired number of pixels
Delta mode uses momentum opacityThis option will vary the opacity of the oscillator plot depending on the relative momentum
Use indecision coloursUse alternative colours for indecision candles
Use inside bar coloursUse alternative colours for inside bars
Allow bar brush overridesAllow other indicators to override the individual bar outline and main bar colours. There is a very small performance penalty to allow this. On charts with very high numbers of displayed bars, you may wish to disable this option if you do not need it.
Bars – NativePaint barsNormally used when the indicator is applied to the chart with the ‘show bars’ option disabled. This will apply the HA trend colours to the native bars shown on your chart.
Paint outlineSame as the above, but applies the colours to the outline of the bars, rather than the bodies
Show true close linesWill mark the true close of the bar with a small line
Edge analysisShow BIAS change triangles with MFEThis option, primarily intended for trend analysis will draw a triangle around the region where the trend flipped long/short & short/long, along with the MFE in points of the timespan. This is intended to allow easy visualisation of POTENTIAL gains and to help you to build confidence in your strategy.
ExperimentalnoteSometimes we add features to test them and get user / real-world feedback. Options in this section might not be permanent features!
Show DBDT wicksHgihlts possible double top or double bottom wicks
Colour chart background with BIASPaints the entire chart background with the currently detected trend direction colour
..all bias changesPaints the chart background with all the detected bias changes
Show bar trend statsIntended for bar period optimisation. The idea here is to get some numbers that allow you to see if changing to a 400 tick from a 300 tick, or a 5 tick renko to a 7 tick renko, etc., results in less direction changes, and more potential MFE, etc.
PerformanceMax render timepjsHeikenAshi is HIGHLY performant, however, not all indicators/platforms are quite as good. If your platform struggles in volatility and you wish to offload the drawing of bars during these periods, the indicator will cease drawing itself to allow other processes to complete, should the process take more than the specified number of milliseconds.
Auto degradeA negative value is enabled. If datalag is detected longer than this period, the indicator may lower it’s quality/drawing in an effort to free up resources to other processes and allow your platform to ‘catch up’
Minimum price change to recalculateNinjatrader only has OnBarClose, OnPriceChange, or OnEachTick. This option is a better comprise. Some instruments (i.e. CFD’s) might have 100 ticks per normal point. Performance-wise (and for simplicity), you may prefer for instance to only trade and have the indicator display/change in 0.25 steps (per most normal index futures). Enter your desired step frequency (or zero) here. I personally use 0.25 when trading US indices.
Enable performance playback modeMay reduce drawing operations and quality during playback (typically during rapid playback for backtesting) to allow faster playback
Use solid brushesDoes not use a colour gradient on the candles, which might result in a small performance improvement in edge situations on low-end hardware
Smoothingsmoothing typeUsed for the ‘smoothed’ HAtype modes. Selects the smoothing formula to use. Most common MA types are available (and a few not-so-common ones)
volatility periodSpecific to a few MA’s
Was this article helpful to you? Yes No

How can we help?