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
ZENNY
49 minutes agoBO7 IS HERE BOT POV MF HAHAHAHA 6v6 PG18+ | UNFILTERED CHAT | CURSES AND BAD
39 watching -
LIVE
qixso
2 hours ago $0.26 earnedBO7 IS HERE TAP IN !! | @qixso
70 watching -
1:37:49
Tucker Carlson
15 hours agoBlackmail, Bribes, and Fear: Netanyahu Claims He Controls Donald Trump and America. Tucker Responds.
58.3K218 -
1:37:29
The Mel K Show
2 hours agoMORNINGS WITH MEL K - Information Warfare & Common Sense 10-2-25
8.16K2 -
1:26:12
Steven Crowder
4 hours agoThe Left is Violent (Part 2) | Change My Mind
273K361 -
40:54
The Rubin Report
3 hours ago‘The View’ Hosts Aghast When Mamdani Accidentally Repeats Hamas Talking Points
44.1K64 -
1:50:50
Benny Johnson
4 hours agoElon Declares WAR on Netflix, Stock COLLAPSES as Millions CANCEL | Dems HUMILIATED in Trump Meme War
92.1K136 -
DVR
Bannons War Room
7 months agoWarRoom Live
39.1M9.05K -
1:00:41
VINCE
5 hours agoThe Schumer Shutdown Shafts Americans Again | Episode 138 - 10/02/25
194K129 -
30:17
Simply Bitcoin
4 hours ago $1.41 earnedBitcoin Crucible Episode 2 w/ Alex Stanczyk
31.9K5