Re: Trend Indicators for MT4

1792
mrtools wrote: Wed Jul 13, 2022 3:56 am PdfMA Awesome Oscillator

From Mladen Rakic

Theory

Bill Williams's Awesome Oscillator Technical Indicator (AO) is a 34-period simple moving average, plotted through the bars midpoints (H+L)/2, which is subtracted from the 5-period simple moving average, built across the bars midpoints (H+L)/2. It shows us quite clearly what’s happening to the market driving force at the present moment.

This version

It is using PdfMA (Probability Density Function weighted Moving Average) instead of using SMA (Simple Moving Average). It is deviation from the original Ao since in the AO there is no parameter that you can change, but in this you can change the variance part of the PdfMA calculation. That way you can get different values for the AO even without changing periods of calculation (the general rule of thumb is : the greater the variance, the smoother the result)

Usage

You can use color changes (mainly on zero cross) for trend change signals

Converted it and added mtf.

PdfMA (Probability Density Function Weighted Moving Average)? - if you add a profit or loss probability value (historical data or experience) to each trading signal (for example, an arrow of an indicator). Believe interesting. It seems that there is no probability value in the existing metric. I don't know if the probability density function - can this be used in the indicator? Or what is the significance of using it in indicators?

Re: Trend Indicators for MT4

1793
Akela wrote: Tue May 27, 2025 7:40 pm Hi Mr.Tools, I would like to ask you if you would add arrows when changing the color indicator to this great indicator, so that an arrow in the indicator color would appear on the chart. Thank you

download/file.php?id=3514878
Mr.Tools,

Did you ever have the chance to add some arrows to this indicator? This is a good indicator, I was wondering the same thing as Akela but I was also wondering if a vertical line can be added when the signal enters and leaves the upper and lower levels? Just a suggestion, thanks for this indicator and all the others.

CKLMLL
These users thanked the author CKLMLL95 for the post:
mrtools

Re: Trend Indicators for MT4

1794
CKLMLL95 wrote: Mon Jun 30, 2025 6:33 am Mr.Tools,

Did you ever have the chance to add some arrows to this indicator? This is a good indicator, I was wondering the same thing as Akela but I was also wondering if a vertical line can be added when the signal enters and leaves the upper and lower levels? Just a suggestion, thanks for this indicator and all the others.

CKLMLL
Hello, missed that post so on this version added the color change arrows and ob/os lines.
These users thanked the author mrtools for the post (total 6):
RodrigoRT7, FredericoA, Krunal Gajjar, sape4543, Cazz223, specialkey


CodeRe: Trend Indicators for MT4

1796
Trend Correlation Strength (TCS) Indicator with Jurik Smoothing

This is the TCS jma smoothed slope indicator using rsi for price calculations instead of regular price, pretty much a copy of Mladen's spearman rank correlation of rsi with some differences.

PS: For the full description of the TCS, please see SEC7's post: Trend Correlation Strength (TCS) Indicator - Modern ADX for Forex.
These users thanked the author mrtools for the post (total 12):
kvak, Jimmy, RodrigoRT7, sape4543, vvFish, moey_dw, FredericoA, ashdays, Krunal Gajjar, Ricstar_8, Milad8732, Cazz223

Re: PdfMa AO & AC - Trend Indicators for MT4

1797
Here is the PdfMa awesome (mtf) (AO) with some enhancements I added and the Accelerator Oscillator (AC) with matching enhancements, including the PdfMA (Probability Density Function weighted Moving Average) function. I added the UT_ prefix to the names to distinguish my enhanced and modified versions from the originals.

So both the AO and AC are using the PdfMA (Probability Density Function weighted Moving Average) instead of just a SMA (Simple Moving Average). It is deviation from the original AO and AC since in the originals there is no parameter that you can change, but in these versions you can change the variance part of the PdfMA calculation. That way you can get different values for the AO and AC even without changing periods of calculation (the general rule of thumb is : the greater the variance, the smoother the result).


AO and AC Trade Signals:

In both indicators, buffer 5 is the valc buffer and it is labelled as the "Bias" buffer which is used to give you the trade Bias for trade signals.

So if use the variables, PdfMa_AC_Bias to indicate the AC Trade Bias and PdfMa_AO_Bias to indicate the AO Trade bias, then I found that:

A good buy signal is when PdfMa_AC_Bias>2 and the PdfMa_AO_Bias>2 and

A good sell signal is when PdfMa_AC_Bias<-2 and the PdfMa_AO_Bias<-2.

Of course you should use other indicators to confirm those signals. Also, since the AO is much slower than the AC, you may want to speed up the AO a little by either using a 21 "Ma period 2" instead of 34 OR by reducing the "Variance" from 2 to 1.5.

These users thanked the author global for the post (total 14):
mrtools, wojtek, kvak, Hogwildsavage, FredericoA, thomdel, 88FX88, FXchaos, srinarayani13, Abdi, Cagliostro, LIKE, ashdays, ivanzab2