源码
年认同价:=MA(C,240);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));
G:=价格中枢*1.2,LINETHICK2,COLOR009900;
G2:价格中枢*1.618,POINTDOT,COLORWHITE;
G3:价格中枢*1.382,POINTDOT,COLORWHITE;
G1:=价格中枢*0.8,LINETHICK2,COLOR009900;
STICKLINE(G1>0,G1,G,4,0),COLOR5F5F5F;
IF(G1>0,G,DRAWNULL),COLOR00A800,LINETHICK2;
IF(G1>0,G1,DRAWNULL),COLOR008000,LINETHICK2;
IF(G1>0,价格中枢,DRAWNULL),COLORFFB900,LINETHICK1;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
价格中枢,LINETHICK1,COLORFFBB00;
AA1:=年认同价+年认同价/FINANCE(34);
下:AA1*1.3,COLORYELLOW;
中:AA1*1.618,COLORRED;
顶:=AA1*1.9,COLORGREEN;
工作线:EMA(C,17),COLORGREEN;
回调认同:EMA(EXPMA(C,20),13),COLORWHITE;
AA:=CLOSE/REF(C,1)>=1.09;
STICKLINE(AA,O,C,3,0),COLORYELLOW;
STICKLINE(AA,L,H,0,0),COLORYELLOW;
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.02 AND ABS(O-C)/O<0.02 AND C>MA(C,30);
JYZHV:=V<REF(V,1) ;
JYZH:=JYZHK AND JYZHV;
A:=(3*C+L+O+H)/6;
C2:=EMA(A,6);
C3:=EMA(A,5);
C4:=CROSS(C2,C3);
DRAWICON(C4 OR JYZH,LOW/1.03,1),COLORRED;
AB:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
买:=CROSS(AB,0);
STICKLINE(买,OPEN,CLOSE,3,0),COLORMAGENTA;