ثبت نام

ترمینال

خانه >

تحلیل ها >

سوینگ

سوینگ

Vincent_Makgetla91

analysis_chart
مشخصات معامله

قیمت در زمان انتشار:

۱,۸۸۷.۶۹

توضیحات
//@version=6
indicator("قدرت بازه‌های زمانی - CRT / SMC / OB / FVG", overlay=true, max_boxes_count=50, max_lines_count=100, max_labels_count=100)

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// ورودی‌ها
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

htf = input.timeframe("240", "گرایش بازه 4 ساعته")
setupTF = input.timeframe("60", "بازۀ 1 ساعته تنظیمات")
entryTF = input.timeframe("5", "بازۀ ورود 5 دقیقه‌ای")

swingLen = input.int(3, "طول نوسان", minval=1)
rrMin = input.float(3.0, "حداقل نسبت RR", minval=1.0, step=0.5)

showLiquidity = input.bool(true, "نمایش نقدینگی")
showFVG = input.bool(true, "نمایش FVG")
showOB = input.bool(true, "نمایش بلوک‌های سفارش")
showCRT = input.bool(true, "نمایش دامنه CRT")
showSignals = input.bool(true, "نمایش سیگنال‌ها")

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 4H ساختار بازار
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

htfHigh = request.security(
syminfo.tickerid,
htf,
high,
lookahead=barmerge.lookahead_off)

htfLow = request.security(
syminfo.tickerid,
htf,
low,
lookahead=barmerge.lookahead_off)

htfClose = request.security(
syminfo.tickerid,
htf,
close,
lookahead=barmerge.lookahead_off)

htfPH = request.security(
syminfo.tickerid,
htf,
ta.pivothigh(high, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

htfPL = request.security(
syminfo.tickerid,
htf,
ta.pivotlow(low, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

var float lastHTFHigh = na
var float previousHTFHigh = na
var float lastHTFLow = na
var float previousHTFLow = na

if not na(htfPH)
previousHTFHigh := lastHTFHigh
lastHTFHigh := htfPH

if not na(htfPL)
previousHTFLow := lastHTFLow
lastHTFLow := htfPL

bullStructure =
not na(lastHTFHigh) and
not na(previousHTFHigh) and
not na(lastHTFLow) and
not na(previousHTFLow) and
lastHTFHigh > previousHTFHigh and
lastHTFLow > previousHTFLow

bearStructure =
not na(lastHTFHigh) and
not na(previousHTFHigh) and
not na(lastHTFLow) and
not na(previousHTFLow) and
lastHTFHigh < previousHTFHigh and
lastHTFLow < previousHTFLow

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 4H PREMIUM / DISCOUNT
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

htfRangeHigh = request.security(
syminfo.tickerid,
htf,
ta.highest(high, 20),
lookahead=barmerge.lookahead_off)

htfRangeLow = request.security(
syminfo.tickerid,
htf,
ta.lowest(low, 20),
lookahead=barmerge.lookahead_off)

htfMid = (htfRangeHigh + htfRangeLow) / 2.0

discount = close < htfMid
premium = close > htfMid

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 1H ساختار بازار
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

oneHHigh = request.security(
syminfo.tickerid,
setupTF,
high,
lookahead=barmerge.lookahead_off)

oneHLow = request.security(
syminfo.tickerid,
setupTF,
low,
lookahead=barmerge.lookahead_off)

oneHPH = request.security(
syminfo.tickerid,
setupTF,
ta.pivothigh(high, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

oneHPL = request.security(
syminfo.tickerid,
setupTF,
ta.pivotlow(low, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

var float oneHLastHigh = na
var float oneHPrevHigh = na
var float oneHLastLow = na
var float oneHPrevLow = na

if not na(oneHPH)
oneHPrevHigh := oneHLastHigh
oneHLastHigh := oneHPH

if not na(oneHPL)
oneHPrevLow := oneHLastLow
oneHLastLow := oneHPL

oneHBull =
not na(oneHLastHigh) and
not na(oneHPrevHigh) and
oneHLastHigh > oneHPrevHigh

oneHBear =
not na(oneHLastLow) and
not na(oneHPrevLow) and
oneHLastLow < oneHPrevLow

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// نقدینگی
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

recentHigh = ta.highest(high , 20)
recentLow = ta.lowest(low , 20)

buySideLiquidity = recentHigh
sellSideLiquidity = recentLow

sweepHigh = high > recentHigh and close < recentHigh
sweepLow = low < recentLow and close > recentLow

if showLiquidity
plot(
buySideLiquidity,
"Buy-Side Liquidity",
color=color.new(color.red, 20),
style=plot.style_linebr)

plot(
sellSideLiquidity,
"Sell-Side Liquidity",
color=color.new(color.green, 20),
style=plot.style_linebr)

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// CRT RANGE
// Current completed higher-timeframe candle
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

crtHigh = request.security(
syminfo.tickerid,
setupTF,
high ,
lookahead=barmerge.lookahead_off)

crtLow = request.security(
syminfo.tickerid,
setupTF,
low ,
lookahead=barmerge.lookahead_off)

crtMid = (crtHigh + crtLow) / 2.0

crtBullSweep =
low < crtLow and
close > crtLow

crtBearSweep =
high > crtHigh and
close < crtHigh

crtBullBreak =
crtBullSweep and close > crtHigh

crtBearBreak =
crtBearSweep and close < crtLow

if showCRT
plot(crtHigh, "CRT High", color=color.orange, style=plot.style_linebr)
plot(crtLow, "CRT Low", color=color.orange, style=plot.style_linebr)
plot(crtMid, "CRT 50%", color=color.gray, style=plot.style_linebr)

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 5M ساختار
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

entryHigh = request.security(
syminfo.tickerid,
entryTF,
high,
lookahead=barmerge.lookahead_off)

entryLow = request.security(
syminfo.tickerid,
entryTF,
low,
lookahead=barmerge.lookahead_off)

entryClose = request.security(
syminfo.tickerid,
entryTF,
close,
lookahead=barmerge.lookahead_off)

entryPH = request.security(
syminfo.tickerid,
entryTF,
ta.pivothigh(high, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

entryPL = request.security(
syminfo.tickerid,
entryTF,
ta.pivotlow(low, swingLen, swingLen),
lookahead=barmerge.lookahead_off)

var float last5High = na
var float last5Low = na

if not na(entryPH)
last5High := entryPH

if not na(entryPL)
last5Low := entryPL

bullBOS = not na(last5High) and entryClose > last5High
bearBOS = not na(last5Low) and entryClose < last5Low

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// CHOCH
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

var int previousStructure = 0

bullCHOCH =
bearStructure and
bullBOS

bearCHOCH =
bullStructure and
bearBOS

if bullCHOCH
previousStructure := 1

if bearCHOCH
previousStructure := -1

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Displacement
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

atr5 = request.security(
syminfo.tickerid,
entryTF,
ta.atr(14),
lookahead=barmerge.lookahead_off)

body5 = math.abs(entryClose - request.security(
syminfo.tickerid,
entryTF,
open,
lookahead=barmerge.lookahead_off))

bullDisplacement =
entryClose > request.security(syminfo.tickerid, entryTF, open) and
body5 > atr5 * 0.7

bearDisplacement =
entryClose < request.security(syminfo.tickerid, entryTF, open) and
body5 > atr5 * 0.7

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// فِج ارزش منصفانه
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

entryHigh2 = request.security(
syminfo.tickerid,
entryTF,
high ,
lookahead=barmerge.lookahead_off)

entryLow2 = request.security(
syminfo.tickerid,
entryTF,
low ,
lookahead=barmerge.lookahead_off)

bullFVG =
entryLow > entryHigh2

bearFVG =
entryHigh < entryLow2

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// بلوک سفارش
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

entryOpen = request.security(
syminfo.tickerid,
entryTF,
open,
lookahead=barmerge.lookahead_off)

bullOB =
entryClose > entryOpen and
entryClose > entryHigh

bearOB =
entryClose < entryOpen and
entryClose < entryLow

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// امتیاز هم‌سوئی
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

bullScore = 0
bearScore = 0

bullScore += bullStructure ? 1 : 0
bullScore += oneHBull ? 1 : 0
bullScore += discount ? 1 : 0
bullScore += sweepLow ? 1 : 0
bullScore += crtBullSweep ? 1 : 0
bullScore += bullCHOCH ? 1 : 0
bullScore += bullBOS ? 1 : 0
bullScore += bullFVG ? 1 : 0
bullScore += bullOB ? 1 : 0
bullScore += bullDisplacement ? 1 : 0

bearScore += bearStructure ? 1 : 0
bearScore += oneHBear ? 1 : 0
bearScore += premium ? 1 : 0
bearScore += sweepHigh ? 1 : 0
bearScore += crtBearSweep ? 1 : 0
bearScore += bearCHOCH ? 1 : 0
bearScore += bearBOS ? 1 : 0
bearScore += bearFVG ? 1 : 0
bearScore += bearOB ? 1 : 0
bearScore += bearDisplacement ? 1 : 0

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// منطق معامله نهایی
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

bullSetup =
bullStructure and
oneHBull and
sweepLow and
bullCHOCH and
bullBOS and
bullDisplacement and
(bullFVG or bullOB) and
discount

bearSetup =
bearStructure and
oneHBear and
sweepHigh and
bearCHOCH and
bearBOS and
bearDisplacement and
(bearFVG or bearOB) and
premium

buySignal = bullSetup
sellSignal = bearSetup

noTrade = not buySignal and not sellSignal

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// سیگنال‌ها
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

plotshape(
showSignals and buySignal,
title="BUY",
text="خرید",
style=shape.labelup,
location=location.belowbar,
color=color.green,
textcolor=color.white,
size=size.small)

plotshape(
showSignals and sellSignal,
title="SELL",
text="فروش",
style=shape.labeldown,
location=location.abovebar,
color=color.red,
textcolor=color.white,
size=size.small)

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// داشبورد
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

var table dashboard = table.new(
position.top_right,
2,
8,
border_width=1)

biasText =
bullStructure ? "صعودی" :
bearStructure ? "نزولی" :
"بازار محدوده‌ای"
directionText =
buySignal ? "خرید" :
sellSignal ? "فروش" :
"بدون معامله"

sweepText =
sweepLow ? "سویپ به سمت فروش" :
sweepHigh ? "سویپ به سمت خرید" :
"منتظر"

structureText =
bullCHOCH ? "CHOCH صعودی" :
bearCHOCH ? "CHOCH نزولی" :
bullBOS ? " BOS صعودی" :
bearBOS ? " BOS نزولی" :
"تایید نشده"

zoneText =
discount ? "DISCOUNT" :
premium ? "PREMIUM" :
"MID"

if barstate.islast
table.cell(dashboard, 0, 0, "POWER TF")
table.cell(dashboard, 1, 0, "وضعیت")

table.cell(dashboard, 0, 1, "4H Bias")
table.cell(dashboard, 1, 1, biasText)

table.cell(dashboard, 0, 2, "منطقه")
table.cell(dashboard, 1, 2, zoneText)

table.cell(dashboard, 0, 3, "نقدینگی")
table.cell(dashboard, 1, 3, sweepText)

table.cell(dashboard, 0, 4, "ساختار")
table.cell(dashboard, 1, 4, structureText)

table.cell(dashboard, 0, 5, "Bull Score")
table.cell(dashboard, 1, 5, str.tostring(bullScore) + "/10")

table.cell(dashboard, 0, 6, "Bear Score")
table.cell(dashboard, 1, 6, str.tostring(bearScore) + "/10")

table.cell(dashboard, 0, 7, "DECISION")
table.cell(dashboard, 1, 7, directionText)

//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// هشدارها
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

alertcondition(
buySignal,
title="POWER TF BUY",
message="POWER TF BUY: 4H bullish + liquidity sweep + 1H setup + 5M confirmation.")

alertcondition(
sellSignal,
title="POWER TF SELL",
message="POWER TF SELL: 4H bearish + liquidity sweep + 1H setup + 5M confirmation.")

alertcondition(
noTrade,
title="POWER TF NO TRADE",
message="POWER TF: NO TRADE. Required confluences are not aligned.")

آخرین تحلیل‌های undefined

خلاصه تحلیل ها
مشاهده بیشتر
تحلیل هوشمند چارت TAOUSDT
صعودی

تحلیل هوشمند چارت TAOUSDT

در نمودار قیمت در بازه زمانی قابل مشاهده، الگوهای شمعدانی نشان‌دهنده نوسانات زیاد و تغییر جهت موقت هستند. سطح پشتیبانی در نزدیکی قیمت 196 و مقاومت نزد...

کاربر بدون نام-image

کاربر بدون نام

14 دقیقه قبل

منتخب سردبیر

مشاهده بیشتر

دستیار هوشمند ارز دیجیتال

ترمینال ترید بایتیکل نرم‌افزار جامع ترید و سرمایه‌گذاری در بازار ارز دیجیتال است و امکاناتی مانند دوره‌های آموزشی ترید و سرمایه‌گذاری، تریدینگ ویو بدون محدودیت، هوش مصنوعی استراتژی ساز ترید، کلیه داده‌‌های بازارهای مالی شامل داده‌های اقتصاد کلان، تحلیل احساسات بازار، تکنیکال و آنچین، اتصال و مدیریت حساب صرافی‌ها و تحلیل‌های لحظه‌ای را برای کاربران فراهم می‌کند.

دستیار هوشمند ارز دیجیتال
دستیار هوشمند ارز دیجیتال