OPEN-SOURCE SCRIPT

Trade Manager + Divergence

478
Trade Manager + Divergence — Smart Entry & Automated Risk Control

Trade Manager + Divergence is a versatile trading strategy that combines automated RSI divergence detection, manual level entries, and a multi‑layered safety‑order system with advanced risk management.
It is designed for traders who want precise technical entries supported by fully automated position handling.

🔍 Key Features
1. RSI Divergence Entry Module
The strategy automatically detects:
Bullish divergence (Higher Low on RSI + Lower Low on price)
Bearish divergence (Lower High on RSI + Higher High on price)
Additional options include:
Divergence strength filtering
MA200 trend filter
Visual divergence markers on the chart

2. Manual Entry Levels
You can define:
A manual LONG entry price
A manual SHORT entry price
Automatic removal of the level after entry
Perfect for traders who prefer to work from key zones they identify themselves.

3. Multi‑Level Safety Order System
The strategy supports:
Initial base order
Up to 8 safety orders
Volume scaling
Step scaling
All parameters are fully customizable:
Order size
Distance between orders
Scaling coefficients
Maximum number of safety orders

4. Automated Take Profit
Take profit is calculated from the average position price:
Separate TP settings for LONG and SHORT
TP levels displayed directly on the chart

5. Breakeven Mechanism
After a specified number of safety orders, the strategy can:
Automatically close the position at breakeven
Include exchange fees in the calculation

6. Mini Status Panel
A compact table in the top‑right corner shows:
Position size
Position value
Number of open trades
Current PnL
Equity
This makes monitoring your position simple and intuitive.

⚙️ Clean and Organized Settings
All inputs are grouped into clear sections:
General
Entry Mode
Divergence Settings
Manual Levels
Risk Management

Each parameter includes a tooltip explaining its purpose.

📌 Disclaimer
This script does not guarantee profits and is not financial advice.
Always test strategies on historical data and use proper risk management.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。