Tutorial05

Stochastic w/ Crossover Alerts (by WJ)

Tutorial05 Aggiornato   
NOTE:
// STOCHASTIC CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT

This is the normal default built-in Stochastic indicator which I have added some stuff for visual aid:
  • Stochastic background turns green when K line crosses D line UPWARDS, D line is below the oversold level, and price is above selected MA
  • Stochastic background turns red when K line crosses D line DOWNWARDS, D line is above the overbought level, and price is below selected MA
  • Alert notification on the crossover candle with background colour change when conditions are met (MA filter)
Note di rilascio:
Changed alerts to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
Note di rilascio:
Changed to both K and D line as it seems to be the best solution
Note di rilascio:
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into account
Note di rilascio:
Added middle line
Note di rilascio:
Added toggleable background colour change when k line crosses 50
Note di rilascio:
Added new alerts for non-OBOS crossovers
Note di rilascio:
MA checking was slightly wrong (used OPEN instead of CLOSE), fixed
Note di rilascio:
Updated some stuff
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?