EvoCrypto

Moving Average Cross

Note: This is just an idea, I did not test this for trading.

MA Cross normally uses close as source in the moving averages, this script uses highs and lows as source.

In an uptrend you will see the 20 period high EMA and 50 period low EMA, once they cross, the indicator will switch to 20 period low EMA and 50 period high EMA. This gives it way less fake crosses as you see in the image on BTC.

As i said above, this is just an idea. If you change the settings, they might not cross at all.. so do your own testing.

Hope this code can help someone.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?