On the chart
- A pierced high with a close below it gets a sell mark above the bar; a pierced low with a close above it gets a buy mark below the bar.
- A dashed line from the swing to the bar is the level taken. The mark size is volume versus average: smaller at the threshold, largest from twice the threshold.
- Hovering the name in the legend shows how many marks fired in the last hour; the chart keeps the last 100 marks.
Signals and alerts
- The “Stop run” event — an alert on a closed bar with a signal, the side is buy or sell; it is preselected.
- The “Any alert() function call” subject catches every signal of the indicator at once.
How it is calculated
- A swing is a high (low) above (below) “Swing: bars on each side” bars to the left and right; it is known only after those bars on the right and is forgotten after 200 bars.
- A signal is a bar that pierces one or more swings and closes back across all of them with volume ≥ multiplier × the average over “Bars for the average”; the mark sits at the farthest level.
- The forming bar is not evaluated: its volume grows until the close. On FX the volume is tick volume.
Settings
- Volume to average, × — 1, Bars for the average — 20, Swing: bars on each side — 5.
- Show last signals — 100; buy and sell colours; Bar highlight — arrow (or candle fill, box around the bar, circle).
The indicator is a chart analysis tool, not trading advice or a promise of profit. Trading on financial markets carries a risk of losing money.
