要如何取得ma的value ,how to get the value of ma . ask for help

 

i have a quwetion

請問一下…

extern double ma1=5

extern double ma2=10

double ma1=ima(null,5,0)

double ma2=ima(null,10,0)

... what else i should wirte and that i can get the value of 5ma and 10ma

那接下來要如何寫…才能取得 5ma 及 10ma的值呢…

thanks for help

以上如能獲解十分感謝…

 

double ma1=ima(null,5,0)

double ma2=ima(null,10,0)

??? 看帮助和例子!

iMA(NULL, 0, ShortEma, 0, MODE_EMA, PRICE_CLOSE, 0);

iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, 0);