Nimhfx Multi TF Pivots
Written by NickThomas
----------------------------------
Multiple Timeframe EMA based pivot points
The Indicator was developed to keep track of EMA based levels across multiple timeframes, without the need for switching back and forth and marking out levels.
You are allowed to use '3 Sets' of objects - each can be configured to display the Pivot based on the input variables you set.
Example (Setup as default settings)
Visibility Inputs
Show Pivot Set # Titles - Displays the Text Labels above the pivot points - ON/OFF
Show Pivot Set # Levels - Displays the Levels set by the configuration - ON/OFF
Pivot Set #1
Pivot Set #1 Timeframe - 60 - Additional Timeframes can be configured using the standards setout in Pinescript (1, 5, 8, 15, 30, 45, 60, 120, 240, D, W, M)
Pivot Set #1 - EMA #1 Period - 100 (100 Period EMA)
Pivot Set #1 - EMA #2 Period - 200 (200 Period EMA)
Pivot Set #1 - EMA #3 Period - 500 (500 Period EMA)
This configuration will draw pivot points at the following locations:
60 Minute Timeframe 100 Period EMA
60 Minute Timeframe 200 Period EMA
60 Minute Timeframe 500 Period EMA
The Indicator can work across whichever timeframe and whichever EMA period you desire for your setup.
Pivot Set #2 and Pivot Set #3 are additional instances of Pivot Set #1 for use with different settings but operates in the same manner.