Filippo Pozzebon / Publications
Forum
problems with ima call function
Hi eberybody, i 've the following problems about the return valure of the iMA function . Here's my code, without any errors: int OnInit () { mediaexp= iMA ( NULL , 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE ); return ( 0 ); } void OnTick () { CopyBuffer (mediaexp, 0 , 0 , 3 ,Expmedia); ArraySetAsSeries