0
Follow
0
Followers
Un débutant aimerait demander conseil, l'indicateur EMA peut-il uniquement calculer l'EMA de la ligne K et ne pas calculer l'EMA d'autres valeurs ?
Created 2021-01-27 10:38:42
2
1426
var2:=LLV(LOW,10);
var3:=HHV(HIGH,25);
La ligne de force est égale à EMA (CLOSE-var2) /var3-var2.*4,4);
C'est ainsi qu'on écrit en maï
Comment écrire en python, si vous ne savez pas encore écrire, dites-moi.
J'ai été surpris de voir que le blogueur avait un blog sur le sujet, mais il n'y a pas eu de réponse.
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)
J'espère que Dieu m'aidera.
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
