2
Follow
0
Followers
Bạn có thể cho tôi biết cách viết chiến lược chỉ báo KDJ và MACD cho tiền kỹ thuật số không?
Created 2021-09-04 17:56:06 Updated 2021-09-04 17:57:36
2
1407
Giao dịch tiền kỹ thuật số, muốn viết một chiến lược mua và bán KDJ Gold Forks trong 4 giờ hoặc cấp độ ngày
Xem tài liệu 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])
}
Nhưng nếu chúng ta không có thông tin về một cái gai vàng hay một cái gai chết, làm sao chúng ta có thể đánh giá được một tín hiệu?
Chủ yếu là muốn viết một chiến lược mua và bán KDJ Gold Forks trong 4 giờ hoặc cấp độ ngày.
Ví dụ, trong chiến lược của tôi, tôi dùng vòng lặp, theo dõi khi nào có cái gai vàng, mua, theo dõi khi nào có cái gai chết và bán.
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