副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP25:=REF(G1,1);
GUP26:=((SMA(MAX((G1-GUP25),0),7,1)/SMA(ABS((G1-GUP25)),7,1))*100);
GUP27:=((SMA(MAX((G1-GUP25),0),13,1)/SMA(ABS((G1-GUP25)),13,1))*100);
GUP28:=((BARSLAST((GUP27<33))<=3) AND CROSS(GUP26,GUP27));
GUP29:=((((G1-MA(G1,33))/MA(G1,20))*100)<-12.5);
GUP30:=LLV(G2,5);
GUP31:=HHV(G4,10);
GUP32:=EMA((((G1-GUP30)/(GUP31-GUP30))*100),4);
GUP33:=EMA(((0.667*REF(GUP32,1))+(0.333*GUP32)),2);
买入:=((((0-(-1*GUP28)) AND GUP29) AND CROSS(GUP32,GUP33)) AND (GUP32<=25)),COLORYELLOW;
STICKLINE(买入,0,3,3,0),COLORYELLOW;
GUP41:=REF(G1,1);
GUP42:=((SMA(MAX((G1-GUP41),0),7,1)/SMA(ABS((G1-GUP41)),7,1))*100);
GUP43:=((SMA(MAX((G1-GUP41),0),13,1)/SMA(ABS((G1-GUP41)),13,1))*100);
GUP44:=((BARSLAST((GUP43<23))<=3) AND CROSS(GUP42,GUP43));
GUP45:=((((G1-MA(G1,23))/MA(G1,20))*100)<-12.5);
GUP46:=LLV(G2,5);
GUP47:=HHV(G4,10);
GUP48:=EMA((((G1-GUP46)/(GUP47-GUP46))*100),4);
GUP49:=EMA(((0.667*REF(GUP48,1))+(0.333*GUP48)),2);
超牛买入:=((((0-(-1*GUP44)) AND GUP45) AND CROSS(GUP48,GUP49)) AND (GUP48<=25)),COLORRED;
STICKLINE(超牛买入,0,3,3,0),COLORRED;
选股公式源码
{选股公式一:买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP25:=REF(G1,1);
GUP26:=((SMA(MAX((G1-GUP25),0),7,1)/SMA(ABS((G1-GUP25)),7,1))*100);
GUP27:=((SMA(MAX((G1-GUP25),0),13,1)/SMA(ABS((G1-GUP25)),13,1))*100);
GUP28:=((BARSLAST((GUP27<33))<=3) AND CROSS(GUP26,GUP27));
GUP29:=((((G1-MA(G1,33))/MA(G1,20))*100)<-12.5);
GUP30:=LLV(G2,5);
GUP31:=HHV(G4,10);
GUP32:=EMA((((G1-GUP30)/(GUP31-GUP30))*100),4);
GUP33:=EMA(((0.667*REF(GUP32,1))+(0.333*GUP32)),2);
买入(((0-(-1*GUP28)) AND GUP29) AND CROSS(GUP32,GUP33)) AND (GUP32<=25)),COLORYELLOW;
{选股公式二:超牛买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP41:=REF(G1,1);
GUP42:=((SMA(MAX((G1-GUP41),0),7,1)/SMA(ABS((G1-GUP41)),7,1))*100);
GUP43:=((SMA(MAX((G1-GUP41),0),13,1)/SMA(ABS((G1-GUP41)),13,1))*100);
GUP44:=((BARSLAST((GUP43<23))<=3) AND CROSS(GUP42,GUP43));
GUP45:=((((G1-MA(G1,23))/MA(G1,20))*100)<-12.5);
GUP46:=LLV(G2,5);
GUP47:=HHV(G4,10);
GUP48:=EMA((((G1-GUP46)/(GUP47-GUP46))*100),4);
GUP49:=EMA(((0.667*REF(GUP48,1))+(0.333*GUP48)),2);
超牛买入(((0-(-1*GUP44)) AND GUP45) AND CROSS(GUP48,GUP49)) AND (GUP48<=25)),COLORRED;
|