donch channel on volume

Hii

I am using to test what happens when volume bar crosses above 50 period donch channel. For reliance showbar shows following instances.

Reliance donch showbar

So far so good. But when i am using it in signal tester it shows 0 results on reliance.

Sig test rel

Formula used is as below

v1 = VOL();
v2 = DONCH(v1, BARS=50, INCURBAR=False);
v1 CrossesAbove v2

Hi Deepak,

I’m not sure why it doesn’t work in the test (maybe because the Donchian channel tool calculates the low and high for every day, and volume only has one value).

Use this instead and you should get the correct results:

VOL()>HIGHESTHIGH(VOL(), BARS=50)