EclipsePhage

A Better Fractal (Williams)

DESCRIPTION:
This is a more advanced version of the classic Williams Fractal algo, using a looped barindex iterator to examine highs/lows.
You may choose ideal or regular fractals, along with the amount of bars (periods) used to calculate; the minimum being 3. Oddnums only.
Ideal fractals = fractals with each bar needing to be lower/higher than the preceding bar, with the midbar at the apex.
Regular fractals = the typical Williams fractal, wherein each bar only has to be lower/higher than the midbar (apex) only.
How to trade? Combine with other indicators and use breakout or reversal strategies, typically. Set buy/sell stops at the high/low of a fractal, for instance
... to trade the breakout when it occurs. Or, track momentum when a fractal prints and trade accordingly. Or perhaps trade with the alligator or 3 EMA.
Experiment with different types of fractals to achieve the desired result, with higher period fractals obviously offering more solid indication though with higher lag.

Note: A fractal does not print until n/2 (rounded down) bars after, where n = the period you chose.
Script protetto
Questo script è pubblicato con codice protetto, ma puoi comunque usarlo gratuitamente. Mettendolo tra i preferiti potrai applicarlo al grafico, senza però la possibilità di visualizzare o modificare il codice sorgente.
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?