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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.