OPEN-SOURCE SCRIPT
已更新 AlgoWay GRSIM

🧭 What this strategy tries to do
This strategy detects when a market move is losing strength and prepares for a potential reversal, but it waits for fresh momentum confirmation before acting.
It combines:
________________________________________
⚙️ When it takes trades
Long (Buy):
Short (Sell):
• A bearish RSI divergence appears (buying pressure fading);
• Within a short time window, the Impulse MACD turns strongly negative;
• Optionally, the impulse line must be falling (if the Impulse Direction Filter is enabled).
If momentum confirmation happens too late, the divergence “expires” and the signal is ignored.
________________________________________
🧩 How entries work
________________________________________
🚪 How exits work
Two main exit styles:
Conservative (default):
✅ Keeps trades as long as momentum agrees.
Color-change (fast):
⚡ Faster and more defensive.
Plus:
________________________________________
📊 What you’ll see on the chart
________________________________________
🔧 What you can tune
________________________________________
💪 Strengths
________________________________________
⚠️ Things to keep in mind
________________________________________
💡 Practical tips
“AlgoWay GRSIM” is a reversal-with-confirmation strategy: it spots likely turns, demands real momentum alignment (optionally verified by impulse direction), and manages exits with clear momentum cues plus built-in protective limits.
This strategy detects when a market move is losing strength and prepares for a potential reversal, but it waits for fresh momentum confirmation before acting.
It combines:
- • RSI-based divergence (to spot exhaustion and potential turning points),
- • Impulse MACD (to verify that the new direction actually has force behind it).
________________________________________
⚙️ When it takes trades
Long (Buy):
- • A bullish RSI divergence appears (a clue that selling pressure is fading);
- • Within a short time window, the Impulse MACD turns strongly positive;
- • Optionally, the impulse line itself must be rising (if the Impulse Direction Filter is
Short (Sell):
• A bearish RSI divergence appears (buying pressure fading);
• Within a short time window, the Impulse MACD turns strongly negative;
• Optionally, the impulse line must be falling (if the Impulse Direction Filter is enabled).
If momentum confirmation happens too late, the divergence “expires” and the signal is ignored.
________________________________________
🧩 How entries work
- 1. Reversal clue:
- The strategy detects disagreement between price and RSI (price makes a new high/low, RSI doesn’t).
- That suggests a shift in underlying strength.
- 2. Momentum confirmation:
- Before entering, the Impulse MACD must agree — showing real push in the same direction.
- 3. Impulse direction filter (optional):
- When enabled, the impulse itself must accelerate (rise for longs, fall for shorts), avoiding fake signals where price diverges but momentum is still fading.
- 4. No stacking:
- It opens only one position at a time.
________________________________________
🚪 How exits work
Two main exit styles:
Conservative (default):
- Longs close when impulse crosses below its signal line.
- Shorts close when impulse crosses above its signal line.
✅ Keeps trades as long as momentum agrees.
Color-change (fast):
- Longs close immediately when impulse flips bearish.
- Shorts close immediately when impulse flips bullish.
⚡ Faster and more defensive.
Plus:
- Stop Loss (%) and Take Profit (%) act as fixed-distance protective exits (set to 0 to disable either one).
________________________________________
📊 What you’ll see on the chart
- A thick Impulse MACD line and thin signal line (oscillator view).
- Diamonds — detected bullish/bearish divergence points.
- Circles — where impulse crosses its signal (momentum change).
- A performance panel (top-right) showing Net Profit, Trades, Win Rate, Profit Factor, Pessimistic PF, and Max Drawdown.
________________________________________
🔧 What you can tune
- Signal Lifetime (bars): how long a divergence remains valid.
- Impulse Direction Filter: ensure the impulse itself is moving in the trade’s direction.
- Stop Loss / Take Profit (%): risk and target in percent.
- Exit Style: conservative cross or faster color-change.
- RSI / MA / Signal Lengths: adjust responsiveness (defaults are balanced).
________________________________________
💪 Strengths
- Confirms reversals using momentum direction, not just divergence.
- Avoids “early” signals where momentum is still fading.
- Works symmetrically for longs and shorts.
- Built-in stop/target protection.
- Clear, visual confirmation of all logic components.
________________________________________
⚠️ Things to keep in mind
- In sideways markets, the impulse can flip often — prefer conservative exits.
- Too small SL/TP → constant stop-outs.
- Too wide SL/TP → deep drawdowns.
- Always test with different timeframes and markets.
________________________________________
💡 Practical tips
- Start with default settings.
- Enable “Use Impulse Direction Filter” in trending markets, disable it in very choppy ones.
- Focus on Profit Factor, Win Rate, and Max Drawdown after several dozen trades.
- Keep SL/TP roughly aligned with typical swing size.
“AlgoWay GRSIM” is a reversal-with-confirmation strategy: it spots likely turns, demands real momentum alignment (optionally verified by impulse direction), and manages exits with clear momentum cues plus built-in protective limits.
版本注释
Added alert part for Algoway Connector开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。