n字形连线指标公式(bbi指标怎样与ma指标同框)
maobv指标使用技巧 多指标同框指标公式分享(附公式)
源码:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26)
DEA:=EMA(DIF,9)
STICKLINE(DIFgt=DEA,42,46,2,0),COLORBROWN
STICKLINE(DIFltDEA,42,46,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,44,#39★MACD多头★#39),COLORWHITE
TYP:=(HIGH+LOW+CLOSE)/3
CCI:=(TYP-MA(TYP,14))/(0.015AVEDEV(TYP,14))
P3:=CCIgt100
P4:=CCIlt100
STICKLINE(P3,36,40,2,0),COLOR0000BB
STICKLINE(P4,36,40,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,38,#39★CCgt100★#39),COLOR00FFFF
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))100
K:= A(RSV,3,1)
D:= A(K,3,1)
J:=3K-2D
STICKLINE(KgtD,30,34,2,0),COLORBB00BB
STICKLINE(KltD,30,34,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,32,#39★KDJ多头 ★#39),COLOR00FFFF
SR1:=SAR(10,2,10)
P1:=IF(CLOSEgtSR1,SR1,DRAWNULL),CIRCLEDOT,COLORRED
P2:=IF(CLOSEltSR1,SR1,DRAWNULL),CIRCLEDOT,COLORGREEN
STICKLINE(P1,24,28,2,0),COLORRED
STICKLINE(P2,24,28,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,26,#39★SAR红珠★#39),COLORWHITE
{BBIBOOL}
CV:=CLOSE
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4
UPR:=BBIBOLL+6STD(BBIBOLL,11)
DWN:=BBIBOLL-6STD(BBIBOLL,11)
STICKLINE(CgtBBIBOLL,18,22,2,0),COLOR00FFFF
STICKLINE(CltBBIBOLL,18,22,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,20,#39★BBIBOLL线上★ #39),COLORFF00FF
VA:=IF(CLOSEgtREF(CLOSE,1),VOL,-VOL)
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)
MAOBV:=MA(OBV,30)
STICKLINE(OBVgtMAOBV,12,16,2,0),COLOR9F9F6F
STICKLINE(OBVltMAOBV,12,16,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,14,#39★OBV多头★#39),COLORFFFFFF
VOLUME:=VOL,VOLSTICK
MAVOL1:=MA(VOLUME,5)
MAVOL2:=MA(VOLUME,10)
STICKLINE(MAVOL1gt=MAVOL2,6,10,2,0),COLOR4D4DFF
STICKLINE(MAVOL1ltMAVOL2,6,10,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,8,#39★VOL多头★#39),COLORWHITE
MA5:=MA(C,5)
MA10:=MA(C,10)
STICKLINE(MA5gt=MA10,0,4,2,0),COLORFF00FF
STICKLINE(MA5ltMA10,0,4,3,1),COLOR696969
DRAWTEXT(CURRBARSCOUNT=13,2,#39★MA多头 ★#39),COLORWHITE
XG1:=DIFgt=DEA
XG2:=P3
XG3:=KgtD
XG4:=P1gt0
XG5:=CgtBBIBOLL
XG6:=OBVgtMAOBV
XG7:=MAVOL1gt=MAVOL2
XG8:=MA5gt=MA10
XG9:=XG1 AND XG2 AND XG3 AND XG4 AND XG5 AND XG6 AND XG7 AND XG8
XGE:=XG1 + XG2 + XG3 + XG4 + XG5 + XG6 + XG7 + XG8
STICKLINE(1,48,52,3,1),COLOR696969
DRAWNUMBER(1,52,XGE),COLORLIGRAY
DRAWNUMBER(XGE=8,52,XGE),COLORMAGENTA
XG:REF(XG9,1)ltgt1 AND XG9=1,NODRAW
STICKLINE(XG,0,46,0,0),COLORRED
喜欢帮忙点个赞,谢谢!不懂的地方单独找我私信 178,我看到了都会分享
bbi指标怎样与ma指标同框 上扬指标公式大全