PROTECTED SOURCE SCRIPT
KARAMAN Swing High/Low

This Pine Script indicator detects and visualizes swing highs/lows, daily levels, and Fair Value Gaps (FVGs) with full customization:
Swing points:
Validated swings are shown as small triangles (red = high, green = low).
Optional rays extend from swing points, and a ZigZag line connects them.
Daily high/low:
Tracks daily extremes (UTC+3).
Draws right-extended rays from the previous day’s high/low.
Fair Value Gaps (FVGs):
Automatically detects bullish and bearish FVGs.
Draws boxes and three rays (top, middle, bottom).
When price touches the middle line, the box and two lines are deleted, leaving only the untouched boundary.
If price fully breaks the FVG, all elements are removed.
Settings panel:
Every element (swing candidates, valid swings, rays, ZigZag, daily levels, FVG boxes/rays) can be turned on or off.
Swing points:
Validated swings are shown as small triangles (red = high, green = low).
Optional rays extend from swing points, and a ZigZag line connects them.
Daily high/low:
Tracks daily extremes (UTC+3).
Draws right-extended rays from the previous day’s high/low.
Fair Value Gaps (FVGs):
Automatically detects bullish and bearish FVGs.
Draws boxes and three rays (top, middle, bottom).
When price touches the middle line, the box and two lines are deleted, leaving only the untouched boundary.
If price fully breaks the FVG, all elements are removed.
Settings panel:
Every element (swing candidates, valid swings, rays, ZigZag, daily levels, FVG boxes/rays) can be turned on or off.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.