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
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.