how can I get the standard deviation of volume with the iStdDev()function ?

 
I am a beginner in Mql5 programming. Iwant to know how to get the standard deviation of volume with the iStdDev()function. thanks for your time and efforts.regards.
 
tao zemin.:
I am a beginner in Mql5 programming. Iwant to know how to get the standard deviation of volume with the iStdDev()function. thanks for your time and efforts.regards.

You can't do this with iStdDev - it's only for prices. You may search the code base for analogs for volumes. 

 

Thank you for your reply.My present idea on this is:

1. use iVolumes()to obtain a handle H_VOL to volume indicator.

2. use H_VOL as the last parameter for the iStdDev().

I hope it works.

 
tao zemin.:

Thank you for your reply.My present idea on this is:

1. use iVolumes()to obtain a handle H_VOL to volume indicator.

2. use H_VOL as the last parameter for the iStdDev().

I hope it works.

Then do just that! Write your code and test it! Then if it still does not do exactly what you expect, then post here so that we can offer suggestions.
Reason: