资源描述:
《短线是银选股公式源码(完全版)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、¶ÌÏßÊÇÒøÖ÷ͼ2MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA40:MA(CLOSE,40);ma60:ma(c,60);TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);Ç°ÆÚ
2、¸ßλ:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT;Ç°ÆÚµÍλ:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT;STICKLINE(C,Ç°ÆÚ¸ßλ,Ç°ÆÚ¸ßλ,5,0),Color00FF00;STICKLINE(C,Ç°ÆÚµÍλ,Ç°ÆÚµÍλ,5,0),ColorFF00FF;Ô¼ÛÍÐ:=ma5>ma20andma5>ma10andcross(ma10,ma20);¼¾¼ÛÍÐ:=ma20>ma60andma20>ma40andcross(ma40,m
3、a60);¶Ì³¤¼ÛÍÐ:=ma5>ma60andma5>ma10andcross(ma10,ma60);drawtext(Ô¼ÛÍÐ,l-0.12,'Ô¼ÛÍÐ'),coloryellow;stickline(Ô¼ÛÍÐ,h,l,0.5,1),coloryellow;stickline(Ô¼ÛÍÐ,o,c,6,1),linethick2,coloryellow;drawtext(¼¾¼ÛÍÐ,l-0.12,'¼¾¼ÛÍÐ'),color0099ff;stickline(¼¾¼ÛÍÐ,h,l,0.5,1),color0099ff;sticklin
4、e(¼¾¼ÛÍÐ,o,c,6,1),linethick2,color0099ff;drawtext(¶Ì³¤¼ÛÍÐ,l-0.12,'¶Ì³¤¼ÛÍÐ'),color36c0c1;stickline(¶Ì³¤¼ÛÍÐ,h,l,0.5,1),color36c0c1;stickline(¶Ì³¤¼ÛÍÐ,o,c,6,1),linethick2,color36c0c1;vol5:=MA(VOL,5),colorwhite;vol10:=MA(VOL,10),coloryellow;vol20:=MA(VOL,20),colorff00ff;Á¿ÍÐ:=vol5>
5、=vol20andcross(vol10,vol20)andref(vol10,1)[ma40and(ma40=ma20orma40>ma20));bb:=ref(count(c]6、l>ma(vol,5)and(c-ref(c,1))/ref(c,1)*100>3;ܽÈسöË®:=bbandcc,color00ff00;drawtext(ܽÈسöË®,l-0.12,'ܽÈسöË®'),colorff00ff;stickline(ܽÈسöË®,h,l,0.5,1),colorff00ff;stickline(ܽÈسöË®,o,c,6,1),linethick2,colorff00ff;Íй«Ê½+135Õ½·¨M1:MA(CLOSE,P1);M2:MA(CLOSE,P2);M3:MA(CLOSE,P3);TJ1:=
7、CROSS(M1,M2);TJ2:=CROSS(M1,M3);TJ3:=CROSS(M2,M3);TJ11:=CROSS(M2,M1);TJ22:=CROSS(M3,M1);TJ33:=CROSS(M3,M2);TS1:=BARSLAST(TJ1);TS2:=BARSLAST(TJ2);TS3:=BARSLAST(TJ3);TMAX:=MAX(TS1,MAX(TS2,TS3))+1;TMIN:=MIN(TS1,MIN(TS2,TS3));TJ4:=TMIN=0ANDCOUNT(TJ1,TMAX)=1ANDCOUNT(TJ2,TMAX)=1ANDCOUNT(
8、TJ3,TMAX)=1ANDCOUNT(TJ11,TMAX)=0A