Quanta Docs

Tài liệu Quanta hoàn chỉnh cho Quant Studio

Khái niệmrenderplot/histogram

`histogram` / `hist` — cột histogram

Cột — MACD hist, spread, volume. Story: `hist series as "…" in color`.

Truyền thống

quanta
histogram(m.hist, color: gray, title: "Hist")

Story-style (alias `hist`)

quanta
render:
  panel pulse:
    hist spread as "Trend Spread" in red
    hist (fast - slow) as "Trend Spread" in color_ribbon
  • Subject: biến series hoặc biểu thức trong ngoặc (fast - slow).
  • in color — literal (red, cyan) hoặc biến series màu (vd. color_ribbon = lime when fast > slow else red).
  • Màu động → engine gắn c per-bar trên ChartCmd; renderer tách layer theo màu.
#plot
Trợ lý Quanta"Học nhanh hơn, hiệu quả hơn cùng AI"

Xin chào! Tôi là trợ lý học ngôn ngữ Quanta. Hỏi tôi về cú pháp, hàm, hoặc cách viết một chiến lược cụ thể (ví dụ: "Làm sao để xác định đỉnh đáy để vẽ trendline?").