PROTECTED SOURCE SCRIPT

ST -TP1-TP5 + CALL/PUT

219
Signal engine: Uses Supertrend (Factor & ATR Length) to detect a trend flip.

Flip up ⇒ CALL setup.

Flip down ⇒ PUT setup.

Entry & levels: On a flip, it sets:

Entry at the flip candle’s close.

Stop-loss (SL) at Entry ± ATR × slx.

Targets TP1–TP5 at Entry ± ATR × (tp1x…tp5x).
(Plus for CALL, minus for PUT.)

Visuals: Draws horizontal lines for Entry, SL, TP1–TP5 and auto-extends them to the right. Labels on the right edge show each level’s price.

CALL/PUT label placement (your choice):

Bar Start (Open): Prints “CALL/PUT” precisely above the signal candle’s open (for early entries).

Right Edge: Shows “CALL/PUT” near the level labels on the far right.

Confirmation toggle: Turn “Show only after candle CLOSE” on if you want confirmed (non-intrabar) signals; off for immediate, intrabar display.

Progress tracking: Internally marks when TP1…TP5 or SL are hit on the same candle to avoid repeated flags. (Optional small bar flags can be enabled.)

Inputs you control:
ATR Length, Supertrend Factor, line extension length, TP/SL multipliers, CALL/PUT padding, right-edge vs bar-start mode, and confirmation setting.

Typical use: Wait for a flip → take CALL or PUT near Entry → manage risk with SL and scale out at TP1–TP5. Enabling “after close” reduces noise; intrabar mode enables faster entries but can change before the bar closes.


محرك الإشارة: يستخدم Supertrend (عامل Factor وطول ATR) لاكتشاف انقلاب الاتجاه.

انقلاب صاعد ⇒ إعداد CALL.

انقلاب هابط ⇒ إعداد PUT.

الدخول والمستويات: عند حدوث الانقلاب يحدد:

Entry عند إغلاق شمعة الانقلاب.

وقف الخسارة (SL) عند Entry ± ATR × slx.

الأهداف TP1–TP5 عند Entry ± ATR × (tp1x…tp5x)
(إشارة + للـ CALL، وإشارة − للـ PUT).

المرئيات: يرسم خطوطًا أفقية لـ Entry، SL، TP1–TP5 ويمدّها تلقائيًا إلى اليمين، مع تسميات أسعار على الطرف الأيمن من الشارت.

موضع علامة CALL/PUT (اختياري):

بداية الشمعة (الافتتاح): يطبع “CALL/PUT” بدقة فوق افتتاح شمعة الإشارة (للدخول المبكر).

الحافة اليمنى: يظهر “CALL/PUT” قرب تسميات المستويات بأقصى اليمين.

تأكيد الإغلاق: فعّل خيار “إظهار فقط بعد إغلاق الشمعة” لإشارات مؤكدة (غير داخل الشمعة)، أو عطّله لظهور فوري أثناء تكوّن الشمعة.

تتبع التقدم: يضع علامات داخلية عند ضرب TP1…TP5 أو SL في نفس الشمعة لمنع تكرار الأعلام (ويمكن إظهار أعلام صغيرة اختيارية على الشموع).

مدخلات قابلة للتحكم: طول ATR، عامل Supertrend، طول امتداد الخطوط، معاملات TP/SL، مسافة علامة CALL/PUT، وضع بداية الشمعة أو الحافة اليمنى، وخيار تأكيد الإغلاق.

الاستخدام المعتاد: انتظر الانقلاب → ادخل CALL أو PUT قرب Entry → أدِر المخاطر بـ SL وقسّم الخروج على TP1–TP5. تفعيل “بعد الإغلاق” يقلل الضجيج؛ أمّا وضع “داخل الشمعة” فيمنح دخولًا أسرع لكنه قد يتغير قبل الإغلاق.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.