Type/to search

Demostración de KLineChart

Common strategy
Created: 2022-05-13 20:19:42
Last modified: 4 years ago
12
Follow
656
Followers

La plataforma (lenguajes Javascript/Python) ha habilitado el soporte para KLineChart, compatible con todas las funciones de dibujo del lenguaje Pine (parámetros consistentes), y admite señales personalizadas de compra/venta.
A continuación se muestra un ejemplo de demostración.

Documento de referencia: https://www.fmz.com/api#klinechart

img

Source
JavaScript
/*backtest
start: 2022-05-31 00:00:00
end: 2022-06-29 23:59:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Binance","currency":"BTC_USDT"}]
*/

function main() {
    let c = KLineChart({overlay: true})
    let bars = exchange.GetRecords()
    if (!bars) {
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)