OptiTrade Documentation
Everything you need to know about setting up and using OptiTrade effectively.
Signal Alerts
TradingView Requirement
To create alerts on TradingView, you need at least the TradingView Essential Plan.
Start a 30-day Free Trial of the Essential Plan—it's risk-free and takes less than a minute.
Step-by-Step: How to Create Alerts
Create alerts to be notified of all Entry and Exit Signals via your preferred notification method.
Before you start:
In OptiTrade's Alerts settings, choose your alert mode:
- • Automatic Trading — see the Automatic Trading section below
- • Manual Trading — follow the steps below
- 1Open TradingView and click the Alerts icon in the right sidebar.
- 2Click the + button to create a new alert.
- 3Under Condition: Click the first dropdown and select your strategy.
- 4In the Message tab: Give your alert any name, then paste this in the Message field:{{strategy.order.alert_message}}
- 5Open the Notifications tab and choose how you want to be notified.
- 6Click Create.
⚠️ Important Notes
- • If using automatic trading, select "Webhook URL" in notifications and paste your connector's webhook link.
- • If you change OptiTrade's settings, the alert won't update automatically—create a new one.
- • Changing the timeframe or chart also requires creating a new alert.
Automatic Trading
How Does It Work?
Signal Generated
OptiTrade gives a signal, triggering an alert on TradingView.
Connector Receives
The alert sends signal details to your Connector via webhook.
Trade Executed
Your Connector forwards the order to your broker, which executes the trade.
Supported Connectors
Choose a connector based on which broker or platform you want to use. Here are our trusted connectors:
TradeAdapter
| Broker | Markets |
|---|---|
| Capital.com | Crypto, Stocks, Indices, Forex, Commodities |
| OANDA | Crypto, Stocks, Indices, Forex, Commodities |
| Alpaca | Crypto, Stocks, Indices, Options |
| Binance | Crypto |
| Binance US | Crypto |
| Bybit | Crypto |
| MEXC | Crypto |
| KuCoin | Crypto |
| Kraken | Crypto |
| Coinbase | Crypto |
| OKX | Crypto |
| BingX | Crypto |
| Bitget | Crypto |
| Gate.io | Crypto |
SignalStack
| Broker | Markets |
|---|---|
| Capital.com | Crypto, Stocks, Indices, Forex, Commodities |
| Oanda | Crypto, Stocks, Indices, Forex, Commodities |
| Alpaca | Crypto, Stocks, Indices, Options |
| E*TRADE | Crypto, Stocks, Forex, Options |
| Interactive Brokers | Crypto, Stocks, Forex, Options |
| Charles Schwab | Stocks, Forex, Options |
| AutoShares | Stocks, Options |
| BitMEX | Crypto, Futures |
| Ironbeam | Crypto, Futures |
| Fyers | Stocks |
| FXOpen | Forex |
| Forex.com | Forex |
| Binance | Crypto |
| BingX | Crypto |
| Bitget | Crypto |
| BitMart | Crypto |
| Bybit | Crypto |
| Coinbase | Crypto |
| Gemini | Crypto |
Supported Platforms
| Connector | Platform | Markets |
|---|---|---|
| TradeAdapter | MetaTrader 4 and 5 | All |
| SignalStack | MetaTrader 4 and 5 | All |
| SignalStack | cTrader | All |
| CrossTrade.io | Ninjatrader | All |
Setup Steps
- 1Pick a Connector — Choose from the list above based on your broker/platform.
- 2Follow Their Setup — Sign up with your connector and follow their website instructions.
📺 Video Tutorial
For TradeAdapter, check out our YouTube playlist for step-by-step video guides.
Alert Message Notes
- • OptiTrade is a Pine Script Strategy—your connector may require specific placeholders like
{{strategy.order.contracts}} - • Each connector has its own message format—follow their documentation.
Setup Guide
Take Profit & Stop Loss Strategy
This setup guide is dedicated to the TP-SL strategy. Instructions for other OptiTrade strategies will be available soon.
What You'll See on the Chart
Signals
Buy and Sell entry signals with exit signals showing profit/loss
SL and TP Boxes
One Stop Loss and 4 Take Profit levels visualized
Dashboard
Bottom-right table showing backtesting results and settings
WaveTrend AI
Visual overlay for trend & momentum identification
💡 Tip:
If you don't see signals, zoom out and look further back in the chart history.
1. Opening Settings
Double-click the Dashboard (the table in the bottom-right corner) to open OptiTrade settings.
2. General Settings
Settings Selection
- • Automatic: OptiTrade searches for optimal settings based on your limits
- • Manual: Use the exact settings you specify
Optimize For
- • Total Profit: Maximize overall profit (recommended)
- • Win Rate: Maximize win percentage (not recommended—often leads to smaller trades)
- • Profit Factor: Maximize the ratio of wins to losses
- • Minimum Drawdown: Minimize risk exposure
3. Automatic Settings Selection
When set to Automatic, OptiTrade runs hundreds of backtests to find the best combination of:
📏
Signal Length
Controls signal frequency
🛡️
Stop Loss
Measured in ATR
🎯
Risk-Reward Ratio
TP distance vs SL
Understanding Resolutions
Total backtests = Signal Length Resolution × Risk Resolution
More backtests = finer search but longer load times. Keep total backtests under 1000 for best performance.
✨ Why This Is Powerful
You're not guessing settings—OptiTrade searches hundreds of combinations in seconds and locks in the best one automatically. This is what makes OptiTrade feel unfairly good.
4. Manual Settings
If you prefer full control, set "Settings Selection" to Manual and enter your exact Signal Length, Stop Loss, and Risk-Reward values.
Troubleshooting
Feeling overwhelmed? Below are quick fixes you can apply immediately.
💡 Some solutions below are specific to the TP-SL strategy.
I don't see signals▼
Fix:
Automatic Settings Selection → Signal Length → set between 2 and 10
I see too many signals▼
Fix:
Automatic Settings Selection → Signal Length → set between 50 and 100
Trades are too small▼
Fix:
Automatic Settings Selection → Stop Loss → set between 2.5 and 6
Trades are too big▼
Fix:
Automatic Settings Selection → Stop Loss → set between 1 and 2.5
The dashboard is too small▼
Fix:
Visuals → Tables → Dashboard Size → increase the size
I don't understand the colored area▼
Fix:
That's WaveTrend AI—disable it in Visuals → WaveTrend AI
I see a warning▼
Fix:
Read the warning and apply the suggested change
It takes too long to load▼
Fix:
Automatic Settings Selection → Resolutions → set to 8 and 15
I need to reset settings▼
Fix:
Click Defaults (bottom-right) → Reset Settings
My win rate is too low▼
Fix:
General Settings → Optimize For → select Win Rate (but total profit matters more!)
What are the yellow lines?▼
Fix:
Take-Profit levels. Set General Settings → Take Profits to 1 for just one
I don't like the colors▼
Fix:
Visuals → Color Palette → choose Green & Red
My results aren't good enough
Try a different timeframe or symbol—results vary. Read through this guide to understand how to tune settings.
I just took a loss
Losses are part of trading. Focus on overall performance over a sample of trades, not individual results.

