新主力进出: VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,LINETHICK1; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred; IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen; VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1); VAR31:=EMA(VAR21,10); VAR41:=HHV(HIGH,33); VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3); 主力出货:IF(VAR51>REF(VAR51,1),VAR51,0),LINETHICK1,colorblue; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),colorblue; 主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),coloryellow,NODRAW; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),coloryellow; 买卖简单显示: V1:=MA(C,3)=HHV(MA(C,3),7); V2:=MA(C,3)>MA(C,5); LC20:=REF(CLOSE,1); RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100; STICKLINE(CROSS(RSI20,11)*1,-10,20,2,0),coloryellow; VAR3A:=3; VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); 加仓:IF(FILTER(YXF=1,5),20,-10),STICK,LINETHICK3; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV (L,55))*100,5,1); FY:=EMA(A51,5); A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<5; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); 底部:=IF(VAR4=50,10,0); 头部:=IF(VAR5=50,20,60); 未来买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2; 未来卖出:IF(头部=20 AND REF(头部,1)=20 AND REF(头部,2)=60,20,60),colorgreen,LINETHICK2; ZR叠加RSI和WR( 顶尖财经 股票学院: http://www.58188.com ): 当RSI>50时,趋势上升,WR大于20,趋势上升,为买点 当RSI<50时,趋势下降,WR小于80,趋势下降,为卖点 //M:=9;N:=14; LC := REF(CLOSE,1); RSI$1:SMA(MAX(CLOSE-LC,0),r,1)/SMA(ABS(CLOSE-LC),r,1)*100,colorred,LINETHICK2; WR$2:100-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),coloryellow,LINETHICK2; a:80; d:20; 中:50,LINETHICK1,colorwhite; //bais:(CLOSE-MA(CLOSE,L1))/MA(CLOSE,L1)*100,colorgreen,LINETHICK2; DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),nodraw; DEA : EMA(DIFF,M),nodraw; MACD : 2*(DIFF-DEA),nodraw; zero:0,nodraw; DRAWICON(CROSS(zero,DEA) AND WR$2<20,0,1); //MA(C,20)>REF(MA(C,20),1) |