To find Volume when price was high in last 1 month in Explore

I want to find Volumn when price made high in last 1 month in explore mode.
The following Code is giving incorrect result.

AddColumn(ValueWhen(HHV(H,22),V),"Volumn at HIGH",1.2);

Can any one help / suggest what's wrong.

Thanks,

Regards,

Sanjay

You could try the following:

AddColumn(ValueWhen(H==HHV(H,22),V),"Volumn at HIGH",1.2);
1 Like

Many Many thanks Anthony.
It is working perfectly as required.

Thanks again.

Regards,

Sanjay