Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

I have this indicator here which I found at forexfactory called zigzag counter, which displays the total volume of each leg of the zigzag.

 

What I wanted was for it to show the AVERAGE volume of each leg, not the total sum. Because the total sum does not give a real reading, for example, if you have one up swing with a leg formed by 4 bars, each bar with 2000 volume so total 8000, then you have a down swing with a leg made of 3 bars, two bars with 3000 and one with 2000, also with 8000 total. You would think that it has the same power that the up leg, but no, it is more powerful, it has 33% more power, in this case, if you calculate the average. up leg 8000/4 = 2000, down leg 8000/3 = 2.666

 

Can someone please tweak this indicator? I think it is easy, you just need to remove the code for summing and replace with a division code, for it to divide the total volume of the leg by the numbers of bars of the leg.

 

Thanks a lot!

 

 

https://www42.zippyshare.com/v/AhBwNve1/file.html

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...