The_Caretaker

Krown Moving Averages & Crossover Levels

Introducing Krown Moving Averages with Crossover levels.

This indicator

Plots 5 Ema's and 3 SMA's ( Default Krown Periods )

It calculates the price levels at which each pair of moving averages would be equal .

That means that if price closes the other side of that level the pair of moving will cross also.

These levels can therefore be considered as " crossover levels....( the price level where each pair of moving averages will cross)

It can give crossover levels for
  • SMA crossing SMA
  • EMA crossing EMA
  • EMA crossing SMA

    Plots optional Labels for all crossover levels....(off by default needs to be turned on in the settings)

    Plots optional crossover levels as lines and dots colored as the 2 colors of the pair of moving averages.....(off by default needs to be turned on in the settings)

    This indicator is aimed at traders who use simple and exponential moving average crossovers as part of their trading plan or edge.

    It takes the guesswork out of knowing at what price level a pair of moving averages will cross which helps to improve entries and risk management.

    There is an optional "Cutoff" function and user adjustable "limit factor" which cuts the plots off once they are too far below or above the current price to prevent chart auto focus issues.

    There is a decimal place truncation option to set the decimal places depending on the asset type and price accuracy required.

    Inspired by a request from a community member after one of my recent reverse engineered indicator publications.

    I am publishing this open source in the hopes that some newer coders will find the functions interesting and useful.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
You may contact me through Krowns Crypto Cave Discord https://discord.gg/
Where I am a moderator, my username there is The Caretaker also.
My Private indicators are available through https://app.krowntrading.net/

Comments

thank you bro. i cant even imagine the math behind this
+3 Reply
Up up away
+1 Reply
I have published a vastly improved and simplified public open source version of this indicator.

I will leave this here however as the functions are more clearly defined for newer coders to use as a codebase.
Reply