so, you take the avg volume for the last n bars, in this case 20, then if the current volume exceeds 110% of the average volume, then this initiates the marker.
avg_volume_bars = 20
minimum percentage volume for marker = 110
The reason for this would be differing instruments having different volume profiles, so making it a % of average volume makes more sense.
Many thanks
Mark
Comment