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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。