OPEN-SOURCE SCRIPT
MNQ 1H Liquidity + MTF Bot

This Pine Script is a 1-hour trading strategy for MNQ futures that uses higher-timeframe confirmation, liquidity grabs, MACD alignment, and ATR-based targets to identify high-probability trades. The strategy only triggers entries during specific hours and includes a simple risk-reward structure with defined stop loss and take profit levels.
**Buy (Long) Conditions:**
* Current hour is within allowed trading window
* 4H price is above 4H EMA 200
* 4H MACD line is above its signal
* 1H MACD is bullish
* Either a breakout above recent highs or a liquidity grab below recent lows
* No existing long position
**Sell (Short) Conditions:**
* Current hour is within allowed trading window
* 4H price is below 4H EMA 200
* 4H MACD line is below its signal
* 1H MACD is bearish
* Either a breakdown below recent lows or a liquidity grab above recent highs
* No existing short position
**Core Strategy Components:**
* Multi-timeframe trend alignment (4H MACD + EMA 200)
* 1H MACD for local momentum
* Liquidity grab detection using price structure
* ATR-based stop loss and take profit
* Time window filter for active trading hours
* Fixed percentage position sizing
**Buy (Long) Conditions:**
* Current hour is within allowed trading window
* 4H price is above 4H EMA 200
* 4H MACD line is above its signal
* 1H MACD is bullish
* Either a breakout above recent highs or a liquidity grab below recent lows
* No existing long position
**Sell (Short) Conditions:**
* Current hour is within allowed trading window
* 4H price is below 4H EMA 200
* 4H MACD line is below its signal
* 1H MACD is bearish
* Either a breakdown below recent lows or a liquidity grab above recent highs
* No existing short position
**Core Strategy Components:**
* Multi-timeframe trend alignment (4H MACD + EMA 200)
* 1H MACD for local momentum
* Liquidity grab detection using price structure
* ATR-based stop loss and take profit
* Time window filter for active trading hours
* Fixed percentage position sizing
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.