Getting started on Algocrab
Use the chart code editor to write Dovee, run on live candles, save scripts, and publish strategies to algo trading.
1. Prerequisites
- Connect a broker from the broker panel.
- Open a chart and load a symbol with candle data.
- Open the code editor from the chart (code icon).
2. Run workflow
- Edit your Dovee script.
- Press Add to chart or Ctrl+Enter.
- Change values in the Inputs panel, then apply and run again.
- Check the editor console for compile or runtime messages.
3. First strategy (Dovee)
strategy "My EMA" len = input 20 as "Length" ma = ema(close, len) plot ma as "EMA" blue when close crosses above ma buy when close crosses below ma sell
You should see the EMA line and Strategy Tester results after run. Learn Dovee syntax in the language tour.
4. Save & publish
Save from the editor to store scripts in your account. When backtests look acceptable, publish to algo trading from the chart — see Strategies.
5. Documentation
Full Dovee language docs live on this site at /docs/dovee (same content model as charting.in/docs/dovee). Open Docs from the editor status bar in a new tab anytime.