PROTECTED SOURCE SCRIPT
Riesgo sp500 4.0

Key Features:
- Day Filter:
The user can choose to run the strategy on all days or restrict it to a specific weekday (Monday–Sunday).
- Session Definition:
The breakout box is built during the New York morning session (05:00–09:30 NY time).
- At the start of the session, the script initializes a box with the high and low.
- It updates the box boundaries as new highs and lows occur until the session ends.
- Vertical and horizontal lines mark the box boundaries, extended until 12:00 NY.
- Breakout Logic:
After the session ends, the strategy waits for price to break above the box high or below the box low.
- The user can select which breakout number to trade (first, second, or third).
- When the chosen breakout occurs, the strategy enters a long (buy) or short (sell) position.
- Stop Loss and Take Profit:
- A stop loss is set near the midpoint of the box, adjusted at entry.
- Two take profit levels are defined:
- TP1 at 1.2 times the risk distance.
- TP2 at 2 times the risk distance.
- Labels are drawn on the chart to mark SL and TP levels.
- Day Filter:
The user can choose to run the strategy on all days or restrict it to a specific weekday (Monday–Sunday).
- Session Definition:
The breakout box is built during the New York morning session (05:00–09:30 NY time).
- At the start of the session, the script initializes a box with the high and low.
- It updates the box boundaries as new highs and lows occur until the session ends.
- Vertical and horizontal lines mark the box boundaries, extended until 12:00 NY.
- Breakout Logic:
After the session ends, the strategy waits for price to break above the box high or below the box low.
- The user can select which breakout number to trade (first, second, or third).
- When the chosen breakout occurs, the strategy enters a long (buy) or short (sell) position.
- Stop Loss and Take Profit:
- A stop loss is set near the midpoint of the box, adjusted at entry.
- Two take profit levels are defined:
- TP1 at 1.2 times the risk distance.
- TP2 at 2 times the risk distance.
- Labels are drawn on the chart to mark SL and TP levels.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.