Using GVs to Store More Than Last 4 Swings using Pesavento Patterns Study

This is an example of how to use gvs to store more swings than the property window on the Pesavento Patterns study allows.

Chart with swings listed:


DYO - Line C is the number of data points being saved. GVs 240 and 241 will have the same value due to Line C using the shift right command.


Can be changed to be the 4th swing:
chart


Chart with second dyo for index (bar number)


DYO for adding bar index:



This chart is an example of tracking swings using 2 different Pesavento Patterns settings.


Thanks for the team effort to come up with this one!!