This update to an old SnR PIN first shared on ForexFactory allows the Pivot to be set on any timeframe (e.g. M15).

Support-and-Resistance-PIN-v1.05-Settings
Support-and-Resistance-PIN-v1.05-Settings
//+------------------------------------------------------------------+
//|                                Fibonacci Support and Resistance  |
//|                                           Copyright 2020, JagzFX |
//|                                               https://jagzfx.com |
//+------------------------------------------------------------------+
//| v1.00   First version, 
//| v1.01   Added time offset to help with broker candle times
//| v1.02   Correct Pivot Timeframe input
//| v1.03   Renamed Reversal to Correct to Pivot
//| v1.04   Added ability to turn each SR level on/off
//| v1.05   Added additional pivot timeframes (M1,M5,M15,M30,H1,H4)
//|   "     Updated to latest PIN core (jagzfx_CDashEAX_v1_06.mqh - alerts, etc.)