TradingView
dgmoon
2021年9月16日午後10時22分

Moving Average Oscillator by [DM] 

BOMBAY DYEING &MFGNSE

詳細

Greetings colleagues
Today I share an indicator that I had been thinking about for a long time. Its a easy idea but not easy to exploit"
The signals are generated the same as a MACD but the signal lengths are different.
In its standard form, the average signal of all signals is shown.
It has been designed for all those who use moving stockings in a conventional way and do not want to see the moving stockings in the price.
The options are endless on the indicator.
  • Show or hide all signals
  • Show or hide fill color of the signals
  • Show or hide fill gradient color of the signals
  • Show or hide horizontal lines
  • Graduation of horizontal lines with only one parameter
  • Show or hide fill color of horizontal lines
  • Show or hide fill gradient color of the horizontal lines
  • Alarms can be configured with any crossover
  • All sign lengths can be adjusted
  • You can change the color of each horizontal line and / or hide

リリースノート

Minor Changes

リリースノート


Added BB with squeeze alerts
Default value of sensibility 0.01 is possible set 0.02 for better results.

リリースノート

Major changes
Greetings on demand the signal has been amplified * 10 another setting has been added to be able to adjust the reversal notices in high volatility of the bb

リリースノート

Updated log and tooltip

リリースノート

fix squeeze alerts
コメント
Time_Out_2021
WOW very cool
I like how you write your code :)
I think is nice to read

thank you for this publication

I and a few others have had the similar idea of drawing waves
I also like the use of fib numbers

I find it interesting how you used
"mav_20 = 100*((ma_02-ma_03)/(ma_02+ma_03))"

I had used "ma1-ma2" and so on

how come you did not plot the
1-2 , 2-3, 3-5, I find these pairs useful for higher time frames as well as to add some noise to the screen :)

this kind of idea / script likes to snake around a lot
but at times provides a nice perspective / incite on price action

there is another idea for the script floating around called "base line"

in that script

the format is

1-89 , 2-89, 3-89, 5-89, 8-89, 13-89, 21-89, 34-89, 55-89,
I find that one to be interesting as well

thank you for exploring this wave idea
I am great full to have read this as I have spend ages looking down this rabbit hole
dgmoon
@Sneaker_Wave,
Thank you so much:
The idea started from some ma waves that I saw published here, they seemed quite confusing to me and I started writing scripts (I have several).
Looking for the clearest way to visualize the full range of action of the all moving averages in a single signal.
this is what Williams did with the UO.
I have another that the change with colored waves is more evident, although they are all seen there is an averaged and smoothed signal with its cut signal.
But there are different concepts in this as you can see the divergences are formed right away, you can see how the speed of the trend decreases.
I am preparing the squeeze and take a little time only tomorrow possibly this published, now I was making a template of heat map putting together some scripts
Time_Out_2021
@dgmoon, I like to think of the indicator "Divergences" as the trend weakening or trend strengthening
Some times this indicator can spot resistance that the normal ribbon does not pick up on
but of course there are other indicators like the bollinger bands that also would pick up on the resistance above in a rising trend

I like this concept with the rising / falling color
where the falling color is the same color but dimmer
like bright red and dark red

I am going to have to look up the concept of speed of trend

this indicator also provides what I think is a great macro view
on bullish or bearish
and the flip between the two

Good Luck friend Happy trading / investing
dgmoon
@Sneaker_Wave,
HELLO "no problem, I return everything I learn within the public library"
force or speed mechanically if they are different concepts.
here the torque is given by the slower ma's, it is the underlying force.
the speed "horses" is given by the fast averages.
when I see the price accelerate up or down I see it as increasing the angular velocity using the pitch fan, fibonacci fan or etc.
bb is implemented
greetings "
Time_Out_2021
@dgmoon, Thank you for the update to the script
as well as for explaining how view these physics concepts relate to to the price action ...

I am going to have to look into these fans ...

I like the idea of the fast moving averages representing some phenomenon and the slow averages representing another



kind of reminds me of the supper guppy indicator
Time_Out_2021
@Sneaker_Wave,

I have a suggesting for your script
in the part "mav_10 = 100*((ma_01-ma_02)/(ma_01+ma_02))"

if you use this script from "Created by BOtrades" "study("EMA Magnetic Pull")"

FirstLength = ema(src,5)
SecondLength = ema(src,8)

Wave01= 0.0

//--- calculate percent difference ((a - b) / (a+b)/2) × 100 ---//

if (FirstLength > SecondLength )
Wave01:= ((FirstLength - SecondLength ) / (FirstLength + SecondLength )/2) * 1000

if (SecondLength > FirstLength )
Wave01:= ((SecondLength - FirstLength ) / (FirstLength + SecondLength )/2) * -1000

what this does is make the scale axis on the right provide more useful information
rather than just being 1 or 1.2
it ranges between say 0 and 150 or 0 and -150
this provides more information
I would use this information together with the concept of exhaustion or extension / stretch
Time_Out_2021
@Sneaker_Wave,

I have taken a screen shot of my version of this idea
I also like to use the rising / falling
to change the color of the waves

on the left is the original ema5-ema8
on the right is the update including the code from "BOtraders"
and the improvement in the scale data

Time_Out_2021
@Sneaker_Wave, sorry to clog up your script page with my text walls
I hope this helps
I have also found this concept to work well with the rma and or ema functions

my version does not have the function repainting feature

this seams to give you an additional bar of information and on high time frames a huge advantage

again I would like to thank you for publishing your script

Because now I need to learn about this repainting feature

I understand the concept of repainting in pine script

But I had not seen a difference until now in how it effects a script
Time_Out_2021
@Sneaker_Wave, also your squeeze and reversion alerts / plot shapes feature is very interesting as well
dgmoon
@Sneaker_Wave,
thx"
詳細