副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP0:=C/REF(C,1);
GUP1:=HHV(G4,9);
GUP2:=LLV(G2,9);
GUP3:=(GUP1-GUP2)/100;
GUP4:=(G1-GUP2)/(GUP1-GUP2)*100;
GUP5:=SMA(GUP4,3,1);
GUP6:=SMA(GUP5,3,1);
GUP7:=3*GUP5-2*GUP6;
GUP8:=GUP5*GUP3+GUP2;
GUP9:=GUP6*GUP3+GUP2;
GUP10:=GUP7*GUP3+GUP2;
GUP11:=EMA(G1,12)-EMA(G1,26);
GUP12:=EMA(GUP11,9);
GUP13:=2*(GUP11-GUP12);
GUP14:=1.25*GUP11-0.25*GUP12;
GUP15:=(GUP14*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP16:=(GUP11*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP17:=(GUP12*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP18:=(GUP15+GUP17)/2;
GUP19:=EMA(GUP18,1);
稳健买入:CROSS(GUP19,GUP17) AND GUP0<1.09,NODRAW,COLORLIRED;
风险搏击:CROSS(GUP19,GUP17) AND GUP0>=1.09,NODRAW,COLORLIMAGENTA;
STICKLINE(稳健买入 ,0,8,1,0),COLORLIRED;
STICKLINE(风险搏击 ,0,8,1,0),COLORLIMAGENTA;
DRAWTEXT(稳健买入,5,’稳健买入’),COLORLIRED;
DRAWTEXT(风险搏击,5,’风险搏击’),COLORLIMAGENTA;
选股公式源码
{选股公式一:稳健买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP0:=C/REF(C,1);
GUP1:=HHV(G4,9);
GUP2:=LLV(G2,9);
GUP3:=(GUP1-GUP2)/100;
GUP4:=(G1-GUP2)/(GUP1-GUP2)*100;
GUP5:=SMA(GUP4,3,1);
GUP6:=SMA(GUP5,3,1);
GUP7:=3*GUP5-2*GUP6;
GUP8:=GUP5*GUP3+GUP2;
GUP9:=GUP6*GUP3+GUP2;
GUP10:=GUP7*GUP3+GUP2;
GUP11:=EMA(G1,12)-EMA(G1,26);
GUP12:=EMA(GUP11,9);
GUP13:=2*(GUP11-GUP12);
GUP14:=1.25*GUP11-0.25*GUP12;
GUP15:=(GUP14*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP16:=(GUP11*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP17:=(GUP12*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP18:=(GUP15+GUP17)/2;
GUP19:=EMA(GUP18,1);
稳健买入:CROSS(GUP19,GUP17) AND GUP0<1.09,COLORLIRED;
{选股公式二:风险搏击}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP0:=C/REF(C,1);
GUP1:=HHV(G4,9);
GUP2:=LLV(G2,9);
GUP3:=(GUP1-GUP2)/100;
GUP4:=(G1-GUP2)/(GUP1-GUP2)*100;
GUP5:=SMA(GUP4,3,1);
GUP6:=SMA(GUP5,3,1);
GUP7:=3*GUP5-2*GUP6;
GUP8:=GUP5*GUP3+GUP2;
GUP9:=GUP6*GUP3+GUP2;
GUP10:=GUP7*GUP3+GUP2;
GUP11:=EMA(G1,12)-EMA(G1,26);
GUP12:=EMA(GUP11,9);
GUP13:=2*(GUP11-GUP12);
GUP14:=1.25*GUP11-0.25*GUP12;
GUP15:=(GUP14*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP16:=(GUP11*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP17:=(GUP12*13*27-27*11*EMA(G1,12)+13*25*EMA(G1,26))/28;
GUP18:=(GUP15+GUP17)/2;
GUP19:=EMA(GUP18,1);
风险搏击:CROSS(GUP19,GUP17) AND GUP0>=1.09,COLORLIMAGENTA;
暂无评论内容