serkany88

Consolidation Finder Expo [serkany88]

It's relatively easy to create a repainting system where you can detect consolidation but it can be pretty hard to detect breakouts while the consolidation is happening live. This experimental approach came to my mind after brainstorming a bit.

What it does
This indicator DOES NOT REPAINT and try to show consolidation zones by coloring the bars or background to a selected color(default white)

How it works
In this approach we use weighted standard deviation of Vidya (Variable Index Dynamic Average created by Tushar Chande). The reason we use vidya is it's length is actually being adapted to volatility and lookback is dynamically adjusted. After getting vidya of base we also create same length vidya of high's and low's and get weighted standard deviation of those. After this we add and subtract those with base vidya and and get their average with our multiplier weight starting from the first bar. If our current value is higher than the average it means we are not in consolidation, else we are thus the bar and background will be painted.

How to use
Consolidation Finder can be used with your existing bot strategy as an additional filter or can be used with your manual trading system as an additional filter or detect breakouts. But be aware that you might need to tinker with length and multipliers in the settings depending on your timeframe to get best results possible before using it reliably. You can also enable the plots of vidya's from the style tab which is disabled by default to see how the deviations actually move if you are interested in it.

One does not simply win every trade.
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?