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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。