LonesomeTheBlue

Intelligent Moving Average

LonesomeTheBlue Wizard Aggiornato   
For 4 simple moving averages, the script tests every single combination for maximum profitability and finds the best pair.

Combinations:
sma1 and sma2,
sma1 and sma3,
sma1 and sma4,
sma2 and sma3,
sma2 and sma4,
sma3 and sma4

And then paint the pair which get best performance. sma lengths are optional, so you can change lengths as you wish.

You will see in some charts that for example sma1 and sma2 pair was best perfrmance and colored on the chart but then sma2 and sma3 pair got better performance, so script starts to paint sma2 and sma3. so it's dynamic based on best performance.

keep in mind => length1 < length2 < length3 < length4 will be better


I didn't have enough time to test the script, so please comment when you test it.



by LonesomeTheBlue
Note di rilascio:
upgraded to v4

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?