Documentation/AlgoCode

AlgoCode

Write strategies in Dovee (simple English) or Pine on the chart and run them live on Laabh. Pine is a v4–v6 compatible subset — not the full TradingView engine.

AlgoCode lets you write strategy logic in Dovee (simple English) or Pine, preview it on the chart, then deploy it so Laabh evaluates every closed candle and routes signals through the same order pipeline as predefined strategies.

  • Chart Script has a Pine tab and a Dovee tab — both deploy through the same live pipeline.
  • Bar-close evaluation only (not tick-by-tick).
  • Live quantity and exchange come from your deploy settings and active broker.
  • Stop loss / take profit can use platform risk (`algo.risk` / UI) or script-driven exits — see Risk & exits.

Next: Dovee language · Function reference · Deploy a live script · Examples