PROTECTED SOURCE SCRIPT

GS_MM_Swing_V12

تم تحديثه
Features Highlight:
Hull Moving Average Variants:

Hma (Hull Moving Average)
Thma (Triple Hull Moving Average)
Ehma (Exponential Hull Moving Average)
Customizable Inputs:

Strategy direction (long, short, or all).
ADR% length and calculation.
Hull line thickness, color, and transparency.
Backtest Period Control:

Users can specify custom start and stop dates for backtesting.
Signal Logic:

Buy when HMA[0] > HMA[2] and sell when HMA[0] < HMA[2].
Ensures that trades only occur during the backtesting period.
ADR% Display:

Calculates and displays ADR% as a label above the current bar.
Gap Detection:

Highlights gap-up candles based on a user-defined gap percentage using a yellow background.
Usage Suggestions:
Adjust the Hull Moving Average length for your trading style:
Use 180-200 for dynamic support/resistance levels.
Use 55 for swing trading entries.
Fine-tune the ADR% length to better reflect your target timeframe.
Use the gap detection feature to spot potential breakout or momentum setups.
ملاحظات الأخبار
To adjust your script so it works on a 1-hour chart in the Pine Screener, you need to incorporate the request.security() function. Here's how to update your script:
CyclesHull Moving Average (HMA)Trend Analysis

نص برمجي محمي

تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

إخلاء المسؤولية