This indicator will copy a moving average's plot and show whether its angle vector is negative or positive. In other words, it will show when the moving average starts to "accelerate" / "decelerate".
To use:
Add any moving average indicator to the chart
Click that indicator's More > Add Indicator on (MA)
Select the Cosmic Angle Gravity indicator
Информация о релизе
⋅
updated settings
Информация о релизе
⋅
added alerts for vector color change
Информация о релизе
⋅
upgraded to version 5
refactored code
BREAKING: removed double smoothing feature (smooth using input indicators instead)
Great indicator! I have one additional idea that would make the script even more awesome... if there was an alert feature for when a certain number of periods had a continuous slope change state. I have a strat that I am working on which has a trigger when a ma is sloping up after several periods. Would love to be able to get alerts for something like that. Also a bar color change when closing above or below the ema would be cool too. Thanks for your work!
cosmic_indicators
⋅
@blakester1111, thank you! Your ideas are indeed interesting, however our policy is to keep public scripts as generic as possible. This way anyone can easily fork them for their own unique strategy. Good luck!
hanglau02
⋅
thank you so much, I love it.
and could you add an alert when the color change? thank you.
cosmic_indicators
⋅
@hanglau02, thank you for the idea, the script is updated.
hanglau02
⋅
@cosmic_indicators, thank you for quick reply.
but did you test it? (it push noti all new canlde close)
or you can use this:
@hanglau02, yes it was tested to alert both conditions using only 1 alert. When creating the alert choose `Cosmic Vector` and `Any alert() function call`.
Would you rather prefer setting 2 separate alerts (one for Bearish Vector and another one for Bullish Vector)?
cosmic_indicators
⋅
Typo correction: the last `To use` point should say "Select the Cosmic Vector indicator"