2
Follow
0
Followers
Você poderia me dizer como escrever a estratégia dos indicadores KDJ e MACD para moeda digital?
Created 2021-09-04 17:56:06 Updated 2021-09-04 17:57:36
2
1407
A negociação de moedas digitais, quer escrever uma estratégia de compra e venda de forquilhas de ouro KDJ de 4 horas ou dia
Veja a documentação da API:
function main(){
var records = exchange.GetRecords(PERIOD_M15)
var kdj = TA.KDJ(records, 9, 3, 3)
Log("k:", kdj[0], "d:", kdj[1], "j:", kdj[2])
}
A saída é um monte de informação, sem dar uma forca de ouro ou uma forca morta, como é que se pode dizer que deu um sinal?
A principal estratégia é escrever um KDJ de quatro horas ou um dia para comprar um garfo de ouro e um garfo de ouro para vender.
Por exemplo, na minha estratégia, eu uso o juízo circular, eu observo quando há um garfo de ouro, eu compro, e eu observo quando há um garfo de ouro, e eu vendo.
Related Recommendations
How 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 engineHow to install ta-lib on linux docker?
Comment
All comments (2)
- 1