Type/to search
0
Follow
0
Followers
Ein Neuling möchte um Rat fragen: Kann der EMA-Indikator nur die EMA der K-Linie berechnen und nicht die EMA anderer Werte?
Help
Created 2021-01-27 10:38:42  
 2
 1426

var2:=LLV(LOW,10);
var3:=HHV(HIGH,25);
Kraftlinie: = EMA (((CLOSE-var2) / ((var3-var2)*4,4);
So schreibt man es auf Maic:
Wie sollte man in Python schreiben, wenn man gerade erst gelernt hat?
Ich habe mir die ganzen Informationen durchgesehen, die ich selbst geschrieben habe, aber ich habe nichts gefunden:
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)
Ich hoffe, dass Gott mir hilft.

Related Recommendations
Comment
All comments (2)

    需要自己传入一个数组,建议学习一下js或python. 可以跟着https://study.163.com/course/courseMain.htm?courseId=1006074239&share=2&shareId=400000000602076 学习
    大概2-3周能入门

    6 years ago

    好的 谢谢 我从基础慢慢学吧

    6 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)