PROTECTED SOURCE SCRIPT
GWA 15min Strategy (Relaxed with TP/SL)

Long Entry Conditions (Relaxed)
You enter a long position when all three of the following are true:
Stochastic Crossover Below 30
%K crosses above %D,
and %K is less than 30 (mildly oversold).
MACD Bullish Crossover (Relaxed)
MACD Line is just slightly greater than Signal Line:
macdLine > signalLine * 0.995
This allows for weaker bullish momentum entries.
Soft Trend Filter (Near EMA)
Price is above 98% of the 20-period EMA:
close > emaFilter * 0.98
Allows buying even slightly below the EMA, rather than strictly above.
📉 Long Exit Conditions
You exit the long position when both of the following are true:
Stochastic Overbought Reversal
%K is above 70 and crosses below %D.
MACD Bearish Crossover
MACD Line falls below the Signal Line.
🛠️ Notes
Relaxation Points:
Standard entries would require more strict crossovers (e.g., K < 20 for buy, or MACD > signalLine strictly).
You're allowing signals to trigger earlier and more often to catch quicker price action.
Labeling:
Long entries and exits are visually marked on the chart using label.new().
You enter a long position when all three of the following are true:
Stochastic Crossover Below 30
%K crosses above %D,
and %K is less than 30 (mildly oversold).
MACD Bullish Crossover (Relaxed)
MACD Line is just slightly greater than Signal Line:
macdLine > signalLine * 0.995
This allows for weaker bullish momentum entries.
Soft Trend Filter (Near EMA)
Price is above 98% of the 20-period EMA:
close > emaFilter * 0.98
Allows buying even slightly below the EMA, rather than strictly above.
📉 Long Exit Conditions
You exit the long position when both of the following are true:
Stochastic Overbought Reversal
%K is above 70 and crosses below %D.
MACD Bearish Crossover
MACD Line falls below the Signal Line.
🛠️ Notes
Relaxation Points:
Standard entries would require more strict crossovers (e.g., K < 20 for buy, or MACD > signalLine strictly).
You're allowing signals to trigger earlier and more often to catch quicker price action.
Labeling:
Long entries and exits are visually marked on the chart using label.new().
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。