0
Follow
0
Followers
Một người mới muốn xin lời khuyên, chỉ báo EMA chỉ có thể tính toán EMA của đường K mà không tính toán được EMA của các giá trị khác phải không?
Created 2021-01-27 10:38:42
2
1426
var2:=LLV(LOW,10);
var3:=HHV(HIGH,25);
Đường dẫn động: = EMA (((CLOSE-var2) / ((var3-var2)*4,4);
Đây là cách viết tiếng Ma.
Bạn có biết cách viết trong Python không?
Tôi đã đọc rất nhiều tài liệu mà tôi đã viết, nhưng không có tác dụng:
close1 = bar_arr[-2]['Close']
hh25 = TA.Highest(bar_arr, 25, 'High')
ll10 = TA.Lowest(bar_arr, 10, 'Low')
dong = (close1-ll10)/(hh25-ll10)*4
if dong and len(dong) > 4:
ema = TA.EMA(dong, 4)
Log(ema)
Tôi hy vọng Chúa sẽ giúp tôi.
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)
需要自己传入一个数组,建议学习一下js或python. 可以跟着https://study.163.com/course/courseMain.htm?courseId=1006074239&share=2&shareId=400000000602076 学习
大概2-3周能入门
6 years ago
- 1
