hi all,
I'm beginner in amibroker, but when i want use NormDist function as we use it in excel i face error message that "im using array instead of number?
i just want to get NormDist every /year/month/week data so that i want use array in this case.
if i use number that is mean i cannt back tested!!
any idea to help please.
below is my code:
yearsaverage=MA(Close,Year());
pr=NormDist(Close,yearsaverage,1,True);
//
*Error: 5. 2nd argument of the NormDist() call has incorrect type. the function expect a NUMBER here, but found an arryay
//
i understand the message, but how can i put changeable number here based on period as example year or month? is there workaround or another function?
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.