高粘:=(ZG/ZD-1)*100MA250,POINTDOT,LINETHICK0;
穿5:=(粘合 AND CROSS(C,MA5))*0.5,COLOR000000;
穿10:=(粘合 AND CROSS(C,MA10))*1,COLOR000000;
穿20:=(粘合 AND CROSS(C,MA20))*2,COLOR000000;
穿30:=(粘合 AND CROSS(C,MA30))*3,COLOR000000;
FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1);
DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2;
优飞:=(FLSZ AND DXTP AND MA30>REF(MA30,1))*3,COLOR00FFFF,LINETHICK2; 选优:=(FLSZ AND DXTP AND MA30>REF(MA30,1) AND COUNT(高
粘,20)>=15)*3,COLOR0000FF,LINETHICK2;
JXDT:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
起飞:(NOT(粘合) AND REF(粘合,1) AND COUNT(粘合,20)>=15 AND
DTPL)*3,COLORFF00FF,LINETHICK2;
DRAWTEXT(优飞,3,'优飞'),COLOR00FFFF;
DRAWTEXT(起飞,3,'起飞'),COLOR00FFFF;
BBI:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4); UPR:=(BBI + (P10 * STD(BBI,N10)));
DWN:=(BBI - (P10 * STD(BBI,N10)));
BLK:=((LLV((UPR - DWN),2) = LLV((UPR - DWN),10)) AND ((UPR / DWN) <= 1.05));
布林口:=(BLK * 0.3),COLORFF00FF;
KX1:=((((LOW < DWN) OR (LOW < BBI)) AND CROSS(HIGH,UPR)) * 0.5);
KX2:=((COUNT(((ABS((CLOSE - OPEN)) / OPEN) <= 0.015),3) = 3) *
0.2),POINTDOT,LINETHICK0,COLORFF6600;
KXZH:=((KX1 = 0.5) OR (KX2 = 0.2));
P:=26;
S:=12;
M:=9;
DIFF:=(EMA(CLOSE,S) - EMA(CLOSE,P));
DEA:=EMA(DIFF,M);
MACD:=(2 * (DIFF - DEA));
MACD0:=(((ABS(MACD) <= 0.1) AND (DIFF > DEA)) *
0.2),POINTDOT,LINETHICK3,COLORFFFF00;
优布:(BLK AND KXZH)*3,LINETHICK2,COLORBLUE;
布林:((BLK AND KXZH) AND (MACD0 = 0.2))*3,LINETHICK2,COLORFFFF00; DRAWTEXT(布林,3,'布林'),COLORFF00FF;
DRAWTEXT(优布,3,'优布'),COLORRED;