
Re: Moving Average indicators for MT4
3071
"Only the price on the chart can show the entrance to the deal..."
ChatGPT wrote:Quadratic Weighted Moving Average (QWMA) is a method used for smoothing time series data by assigning weights to the historical data points in a quadratic manner. In traditional weighted moving averages, each data point in the time series is assigned a weight, and the average is computed by multiplying each data point with its corresponding weight and then summing up these weighted values. QWMA extends this concept by applying quadratic weights instead of linear weights.
The formula for calculating the Quadratic Weighted Moving Average for a particular time period "n" is as follows:
QWMA(n) = (a * y(n)) + (b * y(n-1)) + (c * y(n-2))
Where:
y(n) is the current data point at time period "n."
y(n-1) is the data point at the previous time period.
y(n-2) is the data point at the time period before the previous one.
"a," "b," and "c" are the quadratic weights assigned to the respective data points.
The quadratic weights "a," "b," and "c" are typically chosen in a way that gives more emphasis to recent data while still considering some of the past data. This helps in smoothing out the noise present in the time series data and capturing trends more effectively.
QWMA can be useful in scenarios where there is a need to place varying degrees of importance on different historical data points, giving more significance to recent observations while still taking into account older ones. However, the choice of weights involves a certain level of subjectivity and domain knowledge to strike a balance between recent and past data in the smoothing process.
It's important to note that while Quadratic Weighted Moving Average can provide smoother results compared to simpler moving average methods, the specific choice of weights and parameters may vary based on the characteristics of the data and the goals of analysis.
mladen wrote:Background:
Adapting is usually trying to determine the volatility in the market and then, depending in the volatility, adjust the calculation to reflect times of higher or lower volatility. Few methods are used for determining volatility one of which was neglected for a long time : the RSI. Being a momentum indicator and already bounded in known range (0 to 100) it makes a good tool to be used in adapting methods.
Of this indicator:
EMA (Exponential Moving Average) can use fractional period for calculation (ie: it can use, for example, period 14.5 and not just period 14 or 15) and that makes it suitable for adapting. So, this is a EMA that is using RSI to adapt itself to the market. Parameters are all the usual : rsi period and price to be used in calculation. Usage is similar to any average usage, with an addition that you can use color change as a signal, but that should be done with care
Have this version looks like it might be fixed in it.kimhyunmin wrote: Wed Aug 09, 2023 10:43 pm Hello.
First of all, thank you.
I am putting this MA to good use.
Is it possible to fix only 1 thing?
As you can see in the attached picture, the thickness is fixed at 5.
If you change it, it changes immediately, but after a while, it returns to the thickness of 5.
Is it possible to modify it so that the thickness can be changed?
This indicator is Downloaded here.
viewtopic.php?p=1295395335#p1295395335
kvak wrote: Sun May 01, 2022 4:22 am Here is histo with this ability....also make it MTF and make regular (onchart) version MTF too.
"btn_text" is in this case like button ID. simply change name in this and have new button....太虚一毫 wrote: Wed Aug 16, 2023 3:51 pm I want to use High Low at the same time.
Ask the teacher to add a Unique ID. The merit is immeasurable!
Dear Mr. Kvak
Hello. Iam really not professormgh1361 wrote: Fri Aug 18, 2023 6:49 pm Dear Mr. Kvak
When I press the on/off button, the arrows on the chart don't hide. Can they also be hidden by pressing the button?
And is it possible to add bar limit option to this indicator?
Many thanks to dear professor Kvak![]()