V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
VOLUME:=MA(VOL,1),COLOR005000;
MA10:MA(VOL,10),COLOR808080;
买量:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),
卖量:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN,LINETHICK0;
VAR7B:=IF(TROUGHBARS(3,6,1)=0 AND HIGH>LOW+0.04,4,0);
买:REF(VAR7B>0,1),COLORYELLOW,LINETHICK1;
VAR55:=IF(VAR33=1,2,0);
卖:顶>REF(顶,1),COLORGREEN;
STICKLINE(进出量<0,0,进出量,3.0,0),COLORFF6600;
STICKLINE(进出量<0,0,进出量,0.0,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.0,0),COLORCYAN;
STICKLINE(进出量>0,0,进出量,2.0,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,0.0,0),COLORCC66FF;
DRAWTEXT(CROSS(CLOSE,HY1),LOW,’买进’),COLORYELLOW;
LONG:=26;
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
MACD:=2*(DIFF-DEA);
DRAWTEXT(低位金叉,L*0.92,’低位金叉’),COLOR8000FF;
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(A1=2,21)=1;
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
DRAWTEXT(CROSS(Y,X),(LOW * 0.95),’安全C级’);
VAR2:=HHV(HIGH,21);
AK:=EMA((((CLOSE – VAR1) / (VAR2 – VAR1)) * 50),13);
VAR3:=LLV(LOW,55);
VAR5:=EMA((((CLOSE – VAR3) / (VAR4 – VAR3)) * 100),3);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
BB1:=(CROSS(AK1,BB) AND (BB < 30));
DRAWTEXT((CD = 0.6),(LOW * 0.95),’安全A级’);
多空:MA(CLOSE,30){,CIRCLEDOT},COLOR808080,LINETHICK1;
加仓:=MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>MA(C,10) AND V>MA(V,5) AND CROSS(C,MA(C,5));
X1:=(C+L+H)/3;
X3:=EMA(X2,5);
EMA8:=EMA(C,8);
EMA8,’∠45上升’),COLORWHITE;
(CLOSE,1),10,0),COLORGREEN,LINETHICK6;
评论(0)