副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(ABS(G2-REF(G2,1)),13,1)/SMA(MAX(G2-REF(G2,1),0),13,1)*100;
GUP2:=EMA(IF(G1*1.2,GUP1*13,GUP1/13),13);
GUP3:=IF(LLV(G2,56),1,0);
GUP4:=EMA(IF(G2<=LLV(G2,34),(GUP2+HHV(GUP2,34)*2)/2,0),3)/618*GUP3;
GUP5:=GUP4>REF(GUP4,1);
GUP6:=L=REFDATE(REF(LLV(L,100),3),DATE);
GUP7:=GUP5 AND GUP6,COLORBLUE;
GUP8:=GUP7>REF(GUP7,1);
GUP9:=V>MA(V,89);
GUP10:=EXPMA(C,5);
GUP11:=EXPMA(C,29);
GUP12:=GUP10>GUP11;
GUP13:=REF(G1,1);
GUP14:=SMA(MAX(G1-GUP13,0),12,1)/SMA(ABS(G1-GUP13),12,1)*100;
GUP15:=SMA(MAX(G1-GUP13,0),56,1)/SMA(ABS(G1-GUP13),56,1)*100;
GUP16:=GUP14>GUP15 AND GUP12 AND GUP9;
GUP17:=HHV(H,30);
GUP18:=LLV(L,30);
GUP19:=REF((GUP17/GUP18-1)*100<=30,1);
GUP20:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
GUP21:=DMA(((2.15*G1+G2+G4)/4),GUP20);
GUP22:=EMA(GUP21,200)*1.1;
妖:CROSS(C,GUP22) AND REF(C*1.097,1)<C AND GUP16 AND GUP19,COLORMAGENTA,NODRAW;
STICKLINE(IF(妖,120,0),80,0,2,0),COLORMAGENTA;
DRAWTEXT(妖,80*1.2,'捉妖'),COLORMAGENTA;
筹码起爆
GUP8>REF(GUP8,1))*75,COLORRED,NODRAW;
DRAWTEXT(GUP8>REF(GUP8,1)*75,筹码起爆*1,'起爆'),COLORRED;
STICKLINE(IF(筹码起爆,120,0),80,0,2,0),COLORRED;
选股公式源码
{选股公式一:捉妖}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(ABS(G2-REF(G2,1)),13,1)/SMA(MAX(G2-REF(G2,1),0),13,1)*100;
GUP2:=EMA(IF(G1*1.2,GUP1*13,GUP1/13),13);
GUP3:=IF(LLV(G2,56),1,0);
GUP4:=EMA(IF(G2<=LLV(G2,34),(GUP2+HHV(GUP2,34)*2)/2,0),3)/618*GUP3;
GUP5:=GUP4>REF(GUP4,1);
GUP6:=L=REFDATE(REF(LLV(L,100),3),DATE);
GUP7:=GUP5 AND GUP6,COLORBLUE;
GUP8:=GUP7>REF(GUP7,1);
GUP9:=V>MA(V,89);
GUP10:=EXPMA(C,5);
GUP11:=EXPMA(C,29);
GUP12:=GUP10>GUP11;
GUP13:=REF(G1,1);
GUP14:=SMA(MAX(G1-GUP13,0),12,1)/SMA(ABS(G1-GUP13),12,1)*100;
GUP15:=SMA(MAX(G1-GUP13,0),56,1)/SMA(ABS(G1-GUP13),56,1)*100;
GUP16:=GUP14>GUP15 AND GUP12 AND GUP9;
GUP17:=HHV(H,30);
GUP18:=LLV(L,30);
GUP19:=REF((GUP17/GUP18-1)*100<=30,1);
GUP20:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
GUP21:=DMA(((2.15*G1+G2+G4)/4),GUP20);
GUP22:=EMA(GUP21,200)*1.1;
捉妖:CROSS(C,GUP22) AND REF(C*1.097,1)<C AND GUP16 AND GUP19,COLORMAGENTA;
{选股公式二:起爆}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(ABS(G2-REF(G2,1)),13,1)/SMA(MAX(G2-REF(G2,1),0),13,1)*100;
GUP2:=EMA(IF(G1*1.2,GUP1*13,GUP1/13),13);
GUP3:=IF(LLV(G2,56),1,0);
GUP4:=EMA(IF(G2<=LLV(G2,34),(GUP2+HHV(GUP2,34)*2)/2,0),3)/618*GUP3;
GUP5:=GUP4>REF(GUP4,1);
GUP6:=L=REFDATE(REF(LLV(L,100),3),DATE);
GUP7:=GUP5 AND GUP6,COLORBLUE;
GUP8:=GUP7>REF(GUP7,1);
起爆:GUP8>REF(GUP8,1)*75,COLORRED; |