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 open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?