OPEN-SOURCE SCRIPT
Daily & Intraday Trend Alignment Strategy (KOSPI)

This strategy is designed for the KOSPI market, focusing on the synergy between daily price action and intraday momentum. It is specifically backtested on KODEX 200 Leverage (122630) with a realistic capital of 10,000,000 KRW.
Key Logic:
Trend Alignment: The script identifies the daily trend by comparing the current price with the previous day's close.
Execution: It enters a position only when the intraday candle (15M or 60M) aligns with the daily trend.
LONG: Daily Bullish + Intraday Bullish Close.
SHORT: Daily Bearish + Intraday Bearish Close.
Risk Management: - Follows TradingView House Rules by limiting risk to 10% of equity per trade.
Includes realistic 0.04% commission and 2-tick slippage.
Features built-in Stop Loss and Take Profit levels.
Intraday Focus: Automatically closes all positions at 14:50 KST to avoid overnight market gaps.
Key Logic:
Trend Alignment: The script identifies the daily trend by comparing the current price with the previous day's close.
Execution: It enters a position only when the intraday candle (15M or 60M) aligns with the daily trend.
LONG: Daily Bullish + Intraday Bullish Close.
SHORT: Daily Bearish + Intraday Bearish Close.
Risk Management: - Follows TradingView House Rules by limiting risk to 10% of equity per trade.
Includes realistic 0.04% commission and 2-tick slippage.
Features built-in Stop Loss and Take Profit levels.
Intraday Focus: Automatically closes all positions at 14:50 KST to avoid overnight market gaps.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.