OPEN-SOURCE SCRIPT
QuantLine Geometric Conflict Lite V2

QuantLine Geometric Conflict Lite asks one question: where is BTC inside its own range —
and where are the alts inside theirs?
If BTC sits near the TOP of its range while most alts sit near the BOTTOM of theirs,
"long the alt off support" setups can look valid but often rest on borrowed strength —
BTC simply has not rolled over yet.
How it is calculated:
For each asset, position inside its own range on a chosen timeframe (default 4H):
pos = (last - range_low) / (range_high - range_low)
• 0 = at support (floor) · 1 = at resistance (ceiling) · 0.5 = mid-range
Headline metric — gap in percentage points:
conflict = (btc_pos - median(alt_pos)) * 100
Verdict (default ±30 pp — user-adjustable hypothesis, not a validated signal):
• ≥ +threshold → CONFLICT: BTC near ceiling, alts near floor. Handle alt support longs
with care.
• ≤ -threshold → INVERSE: mirror — BTC low, alts high.
• between → AGREEMENT: same part of their ranges — no contradiction.
Details:
• Degenerate ranges dropped if width < min % of price (default 0.5%).
• "Alts at floor N/M" counts basket members with pos ≤ 0.33.
• Basket is a fixed set of major crypto pairs, editable in settings. Keep it crypto —
session-gapped stock tickers distort a 24/7 breadth read.
Why this is not just a mashup of unrelated plots:
It measures one breadth relationship (BTC range position vs median alt range position)
and turns it into a single readable gap + verdict. Teaching lens for "whose strength is
this move standing on?" — not an entry system.
No entries, stops, or targets. No liquidation/OI/on-chain data. Not financial advice.
and where are the alts inside theirs?
If BTC sits near the TOP of its range while most alts sit near the BOTTOM of theirs,
"long the alt off support" setups can look valid but often rest on borrowed strength —
BTC simply has not rolled over yet.
How it is calculated:
For each asset, position inside its own range on a chosen timeframe (default 4H):
pos = (last - range_low) / (range_high - range_low)
• 0 = at support (floor) · 1 = at resistance (ceiling) · 0.5 = mid-range
Headline metric — gap in percentage points:
conflict = (btc_pos - median(alt_pos)) * 100
Verdict (default ±30 pp — user-adjustable hypothesis, not a validated signal):
• ≥ +threshold → CONFLICT: BTC near ceiling, alts near floor. Handle alt support longs
with care.
• ≤ -threshold → INVERSE: mirror — BTC low, alts high.
• between → AGREEMENT: same part of their ranges — no contradiction.
Details:
• Degenerate ranges dropped if width < min % of price (default 0.5%).
• "Alts at floor N/M" counts basket members with pos ≤ 0.33.
• Basket is a fixed set of major crypto pairs, editable in settings. Keep it crypto —
session-gapped stock tickers distort a 24/7 breadth read.
Why this is not just a mashup of unrelated plots:
It measures one breadth relationship (BTC range position vs median alt range position)
and turns it into a single readable gap + verdict. Teaching lens for "whose strength is
this move standing on?" — not an entry system.
No entries, stops, or targets. No liquidation/OI/on-chain data. Not financial advice.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.