Zig zag calculator

#1
Dear Senior members,

I want to build a zig zag calculator with the help of zig function, z=zig(ARRAY, %change ) in ambroker, wherein I may put any value of array and the % change value to get the corresponding z value.

Pls Help.

Regards
 

asnavale

Well-Known Member
#2
Dear Senior members,

I want to build a zig zag calculator with the help of zig function, z=zig(ARRAY, %change ) in ambroker, wherein I may put any value of array and the % change value to get the corresponding z value.

Pls Help.

Regards
Use ParamField:

Z = Paramfield("Array", fieldnumber);

Supply the appropriate fieldnumber. The AmiBroker Help file lists the field numbers for each array.

-Anant
 
#3
Dear Anant,

I think I have not been able to explain what I need. Suppose today after market close the value of Z=zig(L,5) is found out to be 5000. The very next day stock makes a low of 4950. I want to calculate the value of Z in advance even before the market closes on the next day by using the above formula. How can I achieve that?.

Pls help.

Regards
 

Similar threads