Attachments forums

List of attachments posted on this forum.


All files on forums: 161074

Re: Various (Specialist) indicators for MT4

Banzai, Tue May 16, 2023 7:19 am

kkfx wrote: Wed May 03, 2023 6:10 pm Hello all,

Here I am sharing one special indicator that I got converted from original Ninjatrader indicator. This is a smoothed version of detrended oscillator.

Here is a decription from original author of Ninjascript.
"This is an advanced oscillator based on auxiliary particle filter, I think you will find that it is better than most commercial indicators. It can be very fast while still removing nearly all of the noise from the signal (based on similar concepts as JMA)

The purple background line is a smoothed and detrended version of the price series. The orange/green line is a prediction based on an additional adaptive smoothing technique and current volatility.

The prediction is smoothed twice and is supposed to represent the true signal without any noise, thus the prediction should always be less than the detrend line. However, certain volatile conditions will cause the prediction to cross above/below the detrend line. When this happens the likelihood of a reversal or pullback is extremely high.

You can see in the screenshot that the yellow dots warn of an eminent pullback 2 bars before it actually occurs (and no, it does not repaint) =)

You can also use this indicator to trade CCI signals, currently it plots up/down arrows on ZLR signals (although the detection logic for these is rather crude and has much room for improvement)"


The Ninatrader version is better than MT4 version.
I am posting mq4 code so the eminent stalwart coders here can modify it and make it better.
Thank you.
d9 Particle Oscillator
(on/off button)

You can place the button on the main chart or
in the sub window.


Watch the divergences too.
All files in topic