OPEN-SOURCE SCRIPT
Atualizado

Price Legs: Time & Distance. Measuring moves in time & price

8656
-Tool to measure price legs in terms of both time and price; gives an idea of frequency of market movements and their typical extent and duration.
-Written for backtesting: seeing times of day where setups are most likely to unfold dynamically; getting an idea of typical and minimum sizes of small/large legs.
-Two sets of editable lookback numbers to measure both small and large legs independently.
-Works across timeframes and assets (units = mins/hours/days dependent on timeframe; units = '$' for indices & futures, 'pips' for FX).

~toggle on/off each set of bull/bear boxes.
~choose lookback/forward length for each set. Increase number for larger legs, decrease for smaller legs.

(for assets outside of the big Indices and FX, you may want to edit the multiplier, pMult, on lines 23-24)

small legs
snapshot
large legs
snapshot
Notas de Lançamento
-Added Toggle box for show / hide text in boxes. Default is ON (show)
Notas de Lançamento
-Fixed minor bug: Some boxes would very occasionally misprint and cut through/ ignore a pivot high or low. This is now fixed. All else remains the same.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.