The resource loading... loading...

In retrospect, two averages are used, but only one average is shown in the market data graph.

Author: Oh, my God., Created: 2023-02-19 02:04:25, Updated: 2023-03-14 10:33:14

records = exchange.GetRecords(PERIOD_M15);
if (records && records.length > 7) {
    var ma7 = TA.MA(records, 7);
}
if (records && records.length > 30) {
    var ma30 = TA.MA(records, 30);
}

Why is it that in the market data graphs, only the straight line written above is shown, and the ma30 is not?


More

Written by TradeManYou can print your own content using KineChart: https://www.fmz.com/api#klinechart...

Inventors quantify - small dreamsHello, the indicators on the backtest chart can be set to display, there is an indicator button in the upper right corner of the chart. The calculation in the policy code can only show a straight line.