Type the formula into the symbol search, such as SPY/GLD, and press Enter.
- Click the symbol name at the left of the chart toolbar.
- Type the first market, then an operator:
/(ratio),-(spread),+(sum) or*(product). The market turns into a part of the formula. - Type the next market and pick it from the list.
- Press
Enter, or click the Plot ... row at the top of the list.
You can also paste the whole formula, such as SPY/GLD, into super search (Ctrl/Cmd+K) and pick Plot SPY ÷ GLD.
Building longer formulas
- Add more markets with more operators:
AAPL+MSFT-QQQ. - Type a plain number to scale a market:
BTC*2. - Type
(and)to group parts:(BTC-ETH)*2. - Write
BYBIT:ETHto take a market from one exchange. - Click a part to change it.
Backspacesteps back one part.
A pair written with its quote, such as EUR/USD, is searched as one market, not as a formula.
Limits
- A formula holds up to 5 markets.
- DEX pools cannot be part of a formula.
- Only the four operators, brackets and numbers work. Functions such as powers or logs do not.
- Formulas with stocks, forex or commodities work as the main chart only, not as a compare overlay.
To draw two markets as separate lines instead, see compare two markets.