If you want to use the code to indicate that the yellow line is higher than the red line, how should you write it?

Author: 1070278998@qq.com, Created: 2021-12-29 01:06:21, Updated:

function main (()) { // You can fill in different k-line cycles, such as PERIOD_M1, PERIOD_M30, PERIOD_H1... var records = exchange.GetRecords ((PERIOD_M15)) is the name of the var macd = TA.MACD ((records, 12, 26, and 9) // View logs to return three arrays corresponding to DIF, DEA, MACD Log ((DIF:, macd[0], DEA:, macd[1], MACD:, macd[2]) I'm not sure.


More

The grassIn addition to the open platform and MACD, you can also refer to various equity strategies.