OPEN-SOURCE SCRIPT
Surf Distance

Qullamaggie Surfing the EMA
The median for Qullamaggie is 0.110
The measurement
Take the entry price and subtract the 10-day average. That gives the distance in dollars.
Divide by the stock's typical daily range (probably ATR or average daily range in your system; check which one you used). That gives the distance in "daily ranges."
Dividing by the range makes stocks comparable. A 30-cent gap is huge for a quiet $10 stock and meaningless for a volatile $300 one. Measured in daily ranges, both are on the same scale.
Reading 0.110: The median entry was 0.11 of one day's range above the 10-day average. A normal day's wiggle is one full range, so 0.11 is well inside the noise. Price was essentially sitting on the average when the entry triggered. Half the entries were closer than that (or below it) and half were further.
Example
10-day average: $50.00
Daily range (ATR): $2.50
Entry: $50.275
Distance = ($50.275 − $50.00) / $2.50 = 0.110. You paid 27.5 cents above the average, on a stock that moves $2.50 on a normal day. That's an entry at the average.
Compare an entry at $55.00: ($55.00 − $50.00) / $2.50 = 2.0. The stock is two full daily ranges above its average, which is extended and usually a chase.
Why it matters: The finding says the Qullamaggie entries are mostly pullbacks or consolidations that come back to the 10-day (the "surf" the average idea), not chases of extended moves. It also gives you a testable rule: entries far above 0 (say, above 1 range) are outside the profile that the system's results come from.
The median for Qullamaggie is 0.110
The measurement
Take the entry price and subtract the 10-day average. That gives the distance in dollars.
Divide by the stock's typical daily range (probably ATR or average daily range in your system; check which one you used). That gives the distance in "daily ranges."
Dividing by the range makes stocks comparable. A 30-cent gap is huge for a quiet $10 stock and meaningless for a volatile $300 one. Measured in daily ranges, both are on the same scale.
Reading 0.110: The median entry was 0.11 of one day's range above the 10-day average. A normal day's wiggle is one full range, so 0.11 is well inside the noise. Price was essentially sitting on the average when the entry triggered. Half the entries were closer than that (or below it) and half were further.
Example
10-day average: $50.00
Daily range (ATR): $2.50
Entry: $50.275
Distance = ($50.275 − $50.00) / $2.50 = 0.110. You paid 27.5 cents above the average, on a stock that moves $2.50 on a normal day. That's an entry at the average.
Compare an entry at $55.00: ($55.00 − $50.00) / $2.50 = 2.0. The stock is two full daily ranges above its average, which is extended and usually a chase.
Why it matters: The finding says the Qullamaggie entries are mostly pullbacks or consolidations that come back to the 10-day (the "surf" the average idea), not chases of extended moves. It also gives you a testable rule: entries far above 0 (say, above 1 range) are outside the profile that the system's results come from.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.