0
Follow
1
Followers
Nếu bạn muốn sử dụng mã MACD để chỉ ra rằng đường màu vàng cao hơn đường màu đỏ thì bạn nên viết như thế nào?
Created 2021-12-29 01:06:21
1
912
function main(){
// Có thể điền vào các khoảng thời gian khác nhau của dòng k, chẳng hạn như PERIOD_M1, PERIOD_M30, PERIOD_H1 ...
var records = exchange.GetRecords(PERIOD_M15)
var macd = TA.MACD(records, 12, 26, 9)
// Đăng ký xem có thể trả về ba mảng, tương ứng với DIF, DEA, MACD
Log("DIF:", macd[0], "DEA:", macd[1], "MACD:", macd[2])
}
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engine
Comment
All comments (1)
- 1
