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.
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.