Premium Only Content

Tutorial 182 | Highest pivot within user input number of bars
Tutorial 182 demonstrates a EasyLanguage Show-me study that calculates the pivot with the highest value WITHIN a user input number of bars of the current bar (user input: LookbackBars). (N.B. This is different from finding the highest pivot value on the chart.) Each time a pivot is found it is plotted. The bar number and the price level are stored in a dictionary.
At the end of each bar the dictionary is traversed and index/values pairs where the pivot occurred more than user input LookBackBars ago are deleted. The dictionary values are then copied into a vector (named Values) which is sorted to find the highest value using the Markplex _VectorQuickSort function. This value is plotted.
More information about the _VectorQuickSort function, which uses a recursive method can be found at: https://markplex.com/free-tutorials/t...
The tutorial program and the _VectorQuickSort function are available for download at no cost to Gold Pass members.
This tutorial does not work with MultiCharts.
-
LIVE
StoneMountain64
2 hours ago1st stream BACK! Arc Raiders BRAND new exclusive alpha early look
371 watching -
LIVE
Crypto Power Hour
6 hours agoUnleashing the Future: The Thrilling Realm of Blockchain Revolution
78 watching -
LIVE
Jeff Ahern
1 hour agoNever Woke Wednesday with Jeff Ahern
124 watching -
1:14:16
Sean Unpaved
2 hours agoGridiron Fines, Playoff Grinds & Diamond Blasts
23.4K -
1:08:29
Russell Brand
3 hours agoWas This a Rehearsal for the Next Global Event? – SF575
85.9K58 -
29:42
Athlete & Artist Show
18 hours agoZach Boychuk Wins 4th Championship In 5 Years, & Heads to Team Canada Training Camp!
1911 -
31:51
The Boomer Effect
18 hours agoThe Colorful Lie: Dr Malone on Why Food Dyes Are Under Fire
801 -
1:03:26
Timcast
3 hours agoMass EU Power Outage Sparks Fear Of GLOBAL SOLAR DISASTER, Cyberattack RULED OUT
142K117 -
1:25:55
Simply Bitcoin
3 hours ago $4.08 earnedINSIDER LEAK: 4 BIGGEST Banks in The World Coming To Bitcoin In 2025?! | EP 1234
41.2K -
1:50:53
Steven Crowder
6 hours agoExposing 3 Major Anti-Trump LIES - What You Need to Look For
382K282