merhaba, manuel olarak kullandıgım asagıdaki trading view kodunu matrıks IQ ye cevirebilirmiyiz,? yukarı keser se al,asagı keserse sat seklinde.tskler
study("QQE AD")
d = close-close[1]
n = input(13,"AD Line")
s = sma(d,n)
sf = input(3,"Slow Factor")
Q = input(3.5,"QQE Line")
p = 2*n - 1
Ma = ema(s,sf)
Atr = abs(Ma[1] - Ma)
MaAtr = ema(Atr,p)
dar = ema(MaAtr,p)*Q
newshortband = Ma + dar
newlongband = Ma - dar
longband = Ma[1] > longband[1] and Ma > longband[1]?
max(longband[1],newlongband):newlongband
shortband = Ma[1] < shortband[1] and Ma < shortband[1]?
min(shortband[1], newshortband):newshortband
Cross = cross(Ma, shortband[1])? 1 : cross(longband[1], Ma)? -1 : nz(Cross[1],1)
QQE_line = Cross==1? longband : shortband
co = Ma>Ma[1]? #00E676:#5d606b
plot(Ma, color=co, transp=0)
plot(QQE_line, color=#FF5252, transp=0)