OPEN-SOURCE SCRIPT

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

已更新
-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
快照
large legs
快照
版本注释
-Added Toggle box for show / hide text in boxes. Default is ON (show)
版本注释
-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.
backtestingChart patternsCyclesfrequencymeasuremovesperiodicitypricelegtimeandprice

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3

免责声明