OPEN-SOURCE SCRIPT
Trade Wzrd - Session Open Strategy Shell

Trade Wzrd - Session Open Strategy Shell
WHAT IT IS
Educational strategy shell that only allows new entries while price is inside a user-defined session window. Optional modes: break of the developing session high/low, or a simple MA cross for baseline testing. Orders carry webhook-ready alert_message strings built through a shared open-source string library.
This is a template for learning session-filtered automation wiring. It is not a signal service.
WHY IT EXISTS (ORIGINALITY)
Many public strategies fire all day. Prop and desk workflows usually care about a session (for example cash open or London/NY window) and need clean entry/exit alert text for external execution. This script combines:
1) a session gate
2) optional session-range break entries
3) ATR or fixed risk exits with R-multiple targets
4) structured alert_message strings for BUY/SELL and CLOSE
HOW IT WORKS
1) Session input defines when entries are allowed (chart/exchange timezone rules apply as on TradingView).
2) While in session, the script tracks session high and low.
3) Entry mode A: break above session high or below session low.
4) Entry mode B: EMA cross (for simple tests when break mode is off).
5) Optional max one entry per session day.
6) Stop distance uses ATR multiplier or a fixed distance; take-profit uses risk:reward.
7) alert_message values use comma-separated command text (BUY/SELL with VOL or RISK, SL, TP, TPSLTYPE; CLOSE on exits).
HOW TO USE
1) Add to a clean chart (defaults intended for liquid FX/metals such as XAUUSD).
2) Set the session window to the hours you actually trade.
3) Choose break mode or MA mode under Entry logic.
4) Set Trade Wzrd Automation size mode (VOL or RISK), size value, and TPSLTYPE.
5) Create a strategy alert; set the message to:
{{strategy.order.alert_message}}
6) Point the alert webhook field at whatever endpoint you already use.
7) Use Symbol override when your broker symbol differs from the chart ticker.
DEFAULTS
- Commission and slippage are set in strategy properties for more realistic tests
- Position sizing default is percent of equity for the strategy tester (separate from alert VOL/RISK text)
- Magic default example tag is provided and can be cleared
LIMITATIONS
- Session range break is a simple educational structure, not a complete prop system
- Past results do not predict future results
- Not intended for buy/sell use on non-standard chart types
- You own risk, symbol mapping, and execution choices
No external links are required to understand or use this script.
WHAT IT IS
Educational strategy shell that only allows new entries while price is inside a user-defined session window. Optional modes: break of the developing session high/low, or a simple MA cross for baseline testing. Orders carry webhook-ready alert_message strings built through a shared open-source string library.
This is a template for learning session-filtered automation wiring. It is not a signal service.
WHY IT EXISTS (ORIGINALITY)
Many public strategies fire all day. Prop and desk workflows usually care about a session (for example cash open or London/NY window) and need clean entry/exit alert text for external execution. This script combines:
1) a session gate
2) optional session-range break entries
3) ATR or fixed risk exits with R-multiple targets
4) structured alert_message strings for BUY/SELL and CLOSE
HOW IT WORKS
1) Session input defines when entries are allowed (chart/exchange timezone rules apply as on TradingView).
2) While in session, the script tracks session high and low.
3) Entry mode A: break above session high or below session low.
4) Entry mode B: EMA cross (for simple tests when break mode is off).
5) Optional max one entry per session day.
6) Stop distance uses ATR multiplier or a fixed distance; take-profit uses risk:reward.
7) alert_message values use comma-separated command text (BUY/SELL with VOL or RISK, SL, TP, TPSLTYPE; CLOSE on exits).
HOW TO USE
1) Add to a clean chart (defaults intended for liquid FX/metals such as XAUUSD).
2) Set the session window to the hours you actually trade.
3) Choose break mode or MA mode under Entry logic.
4) Set Trade Wzrd Automation size mode (VOL or RISK), size value, and TPSLTYPE.
5) Create a strategy alert; set the message to:
{{strategy.order.alert_message}}
6) Point the alert webhook field at whatever endpoint you already use.
7) Use Symbol override when your broker symbol differs from the chart ticker.
DEFAULTS
- Commission and slippage are set in strategy properties for more realistic tests
- Position sizing default is percent of equity for the strategy tester (separate from alert VOL/RISK text)
- Magic default example tag is provided and can be cleared
LIMITATIONS
- Session range break is a simple educational structure, not a complete prop system
- Past results do not predict future results
- Not intended for buy/sell use on non-standard chart types
- You own risk, symbol mapping, and execution choices
No external links are required to understand or use this script.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.