Type/to search
0
Follow
0
Followers
백테스트에서는 이동평균선 2개를 사용하였으나 시장데이터 차트에는 이동평균선이 1개만 표시됨
Help
Created 2023-02-19 02:04:25  Updated 2023-03-14 10:33:14
 2
 1096
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); }

왜 상위 평균선만 표시되고, ma30은 표시되지 않는가?

Related Recommendations
Comment
All comments (2)

    可以使用KineChart自行打印所需内容:https://www.fmz.com/api#klinechart...

    3 years ago

    您好,回测图表上的指标是可以设置显示的,图表右上角有一个指标按钮。策略代码中的计算只能显示一条均线。

    4 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)