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
LFA TV
2 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 9/17/25
14,807 watching -
1:15:33
JULIE GREEN MINISTRIES
2 hours agoLIVE WITH JULIE
44.9K113 -
LIVE
The Bubba Army
22 hours agoState of Utah Wants Tyler Robinson DEAD! - Bubba the Love Sponge® Show | 9/17/25
1,994 watching -
LIVE
JuicyJohns
27 minutes ago🟢#1 REBIRTH PLAYER 10.2+ KD🟢
63 watching -
29:02
ChopstickTravel
7 days ago $1.98 earnedToronto's #1 Chilli Crab 🇨🇦 Canada's Seafood Meets China's Wok ft.@InstaNoodls
56.9K1 -
17:07
Fit'n Fire
4 days ago $0.65 earned*NEW* Bulgarian RPK Mag That Actually Work?
10.2K5 -
10:56
Nicholas Bowling
18 hours ago $2.22 earnedBisexual “Christian” CONFRONTS Preacher on College Campus!
14.5K13 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 9/17/2025
188 watching -
9:50
Red Pill MMA
20 hours agoCandace Owens Exposes What Really Happened With Charlie Kirk!
17.5K28 -
30:29
DeVory Darkins
1 day ago $11.24 earnedtroubling FBI report details the shooter left chilling note as more Democrats suffer humiliation
34.1K129