0
Follow
1
Followers
Se você quiser usar o código MACD para indicar que a linha amarela está mais alta que a linha vermelha, como você deve escrevê-lo?
Created 2021-12-29 01:06:21
1
912
function main(){
// Pode ser preenchido em diferentes períodos de k linhas, como PERIOD_M1, PERIOD_M30, PERIOD_H1 ...
var records = exchange.GetRecords(PERIOD_M15)
var macd = TA.MACD(records, 12, 26, 9)
// Regressa três matrizes correspondentes a DIF, DEA e 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
