P11:=MA(CLOSE,10);
P22:=MA(CLOSE,30);
DRAWBAND(MA(CLOSE,10),RGB(180,30,0),MA(CLOSE,30),RGB(0,0,180));
AA22:=CLOSE;
绿K线:=O
AA77:STICKLINE(绿K线=1ANDAA22!=1,H,L,0,0),COLORGREEN;
AA88:STICKLINE(绿K线=1ANDAA22!=1,O,C,2,0),COLORGREEN;
红K线:=C K线公式指标:DRAWNULL,COLORRED;
AA55:STICKLINE(红K线=1ANDAA22!=1,H,L,0,0),COLORRED;
AA66:STICKLINE(红K线=1ANDAA22!=1,O,C,2,0),COLORRED;
MA11:=MA(CLOSE,2),COLORYELLOW;
操盘线:MA(CLOSE,3),COLORWHITE,LINETHICK2;
MA2:MA(CLOSE,10),COLORMAGENTA;
MA3:MA(CLOSE,30),COLORGREEN;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,4))/(0.015*AVEDEV(TYP,4));
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
A1:=CROSS(C,操盘线)ANDMA2 MA3AND操盘线 MA3ANDEXIST(CCI 0,2)ANDCCI 50ANDCCI REF(CCI,1);
STICKLINE(A1,OPEN,CLOSE,0.8,0),COLORYELLOW;
A2:=MA2 MA3ANDEXIST(RSI1 50,2)ANDRSI3 50ANDRSI3 REF(RSI3,1)AND
REF(RSI3 REF(RSI3,1),1);
STICKLINE(A2,OPEN,CLOSE,0.8,0),COLORWHITE;
收:C,NODRAW;
涨幅:(C-REF(C,1))/REF(C,1)*100,NODRAW;
DRAWICON(CROSS(MA2,MA3),MA3*0.99,34);
Z1:=STRCAT(HYBLOCK,
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D,LINETHICK1;
IF(J 0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K 90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D 85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(K 80 AND D 80 AND CROSS(D,K),95,2);
OBV:=K;
P:=12;
A1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11 REF(R11,1);
DRAWLINE(D1,OBV,S11,OBV,1),COLORLIRED,LINETHICK1;
A2:=REF(OBV,P)=LLV(OBV,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11 REF(T11,1);
DRAWLINE(D2,OBV,U11,OBV,1),COLORLIGREEN,LINETHICK1;
Q1:=INTPART(3*8/18);