买:=IF("kdj.J"<0,10,0); 条件:=crOSS(9.9,买); VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,5); VAR3:=HHV(HIGH,5); VAR4:=ema((VAR1-VAR2)/(VAR3-VAR2)*100,5); MA1:=MA(VAR4,2); AA:STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORWHITE; BBB:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORWHITE; STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORFFCC66; DRAWICON(CROSS(9.9,买),VAR4-12,5); STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,3,1),COLORBLUE; XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORBLUE; STICKLINE(FILTER(XXX ,5) ,VAR4+5,MA1-4,3,1),COLORBLUE; Y1:=LLV(L,17); Y2:=SMA(Abs(L-REF(L,1)),17,1); Y3:=SMA(MAX(L-REF(L,1),0),17,2); Q:=-(ema(IF(L<=Y1,Y2/Y3,-3),1)); STICKLINE(CROSS(Q,0),15,0,4,0), , COLORBLUE; 强拉升: IF(CROSS(Q,0),1,0),COLORBLUE; Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORLIMAGENTA; 加强拉升: IF(CROSS(Q1,-24),1,0),COLORLIMAGENTA; VAR5:=expma(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4); 天:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,2)); 地:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,1)); STICKLINE(地>天 AND 地<0,10,0,1,0),COLORWHITE; 开始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORWHITE;
|