副图公式源码支持 手机/电脑
GUA1:=27;GUA2:=55;
多头:=(3*SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,27)-LLV(LOW,GUA1))*100,5,1),3,1)),COLOR00FFFF,LINETHICK2;
空头:=100*(HHV(HIGH,GUA2)-CLOSE)/(HHV(HIGH,GUA2)-LLV(LOW,GUA2)),COLOR00EC00,LINETHICK1;
量比:=V/REF(MA(V,5),1);
量攻:C/REF(C,1)>1.091 AND 量比>1.1 AND CROSS(多头,空头),COLORRED;
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA30:=EMA(C,30);
GUB1:=MA5>=REF(MA5,1);
GUB2:=MAX(MAX(MA5,MA13),MA30);
GUB3:=MIN(MIN(MA5,MA13),MA30);
GUB4:=C/REF(C,1);
GUB5:=GUB4>1.095 AND H=C;
抄底:GUB2<C AND O<GUB3 AND GUB1 AND MA2>REF(MA2,1) AND GUB5,COLORMAGENTA;
GUP1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP2:=REF(GUP1,1);
GUP3:=EMA(CLOSE,13)-EMA(CLOSE,26);
GUP4:=EMA(GUP3,3);
GUP5:=(GUP3-GUP4)*2;
GUP6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUP7:=EMA(CLOSE,5);
GUP8:=EMA(CLOSE,10);
GUP9:=MA(CLOSE,20);
GUP10:=MA(CLOSE,60);
GUP11:=IF(CLOSE>=GUP7,1,(-1));
GUP12:=IF(CLOSE>=GUP8,1,(-1));
GUP13:=IF(CLOSE>=GUP9,1,(-1));
GUP14:=IF(GUP7>=REF(GUP7,1),1,(-1));
GUP15:=IF(GUP8>=REF(GUP8,1),1,(-1));
GUP16:=IF(GUP9>=REF(GUP9,1),1,(-1));
GUP17:=(GUP11+GUP12+GUP13+GUP14+GUP15+GUP16)/6*100;
GUP18:=(-10);
GUP19:=EMA(VOL,13);
GUP20:=EMA(AMOUNT,13);
GUP21:=GUP20/GUP19/100;
GUP22:=(CLOSE-GUP21)/GUP21*100;
GUP23:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP24:=LLV(OPEN,30);
GUP25:=SMA(GUP23,3,1);
GUP26:=SMA(GUP25,3,1);
GUP27:=3*GUP25-2*GUP26;
GUP28:=EMA(HHV(HIGH,1),8);
GUP29:=EMA(CLOSE,8);
GUP30:=GUP29<REF(GUP29,1) AND CLOSE<GUP29;
GUP31:=IF(GUP28<REF(GUP28,1) OR GUP30,1,0);
GUP32:=(COUNT(GUP31=1,4)=3 AND GUP31=0 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89;
量价买:GUP32 AND GUP5>=(-0.01) AND CAPITAL<15000000 AND REF(GUP1,1)<6,COLORYELLOW;
选股公式源码
{选股公式一:量攻}
GUA1:=27;GUA2:=55;
多头:=(3*SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,27)-LLV(LOW,GUA1))*100,5,1),3,1)),COLOR00FFFF,LINETHICK2;
空头:=100*(HHV(HIGH,GUA2)-CLOSE)/(HHV(HIGH,GUA2)-LLV(LOW,GUA2)),COLOR00EC00,LINETHICK1;
量比:=V/REF(MA(V,5),1);
量攻:C/REF(C,1)>1.091 AND 量比>1.1 AND CROSS(多头,空头),COLORRED;
{选股公式二:抄底}
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA30:=EMA(C,30);
GUB1:=MA5>=REF(MA5,1);
GUB2:=MAX(MAX(MA5,MA13),MA30);
GUB3:=MIN(MIN(MA5,MA13),MA30);
GUB4:=C/REF(C,1);
GUB5:=GUB4>1.095 AND H=C;
抄底:GUB2<C AND O<GUB3 AND GUB1 AND MA2>REF(MA2,1) AND GUB5,COLORMAGENTA;
{选股公式三:量价买}
GUP1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP2:=REF(GUP1,1);
GUP3:=EMA(CLOSE,13)-EMA(CLOSE,26);
GUP4:=EMA(GUP3,3);
GUP5:=(GUP3-GUP4)*2;
GUP6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUP7:=EMA(CLOSE,5);
GUP8:=EMA(CLOSE,10);
GUP9:=MA(CLOSE,20);
GUP10:=MA(CLOSE,60);
GUP11:=IF(CLOSE>=GUP7,1,(-1));
GUP12:=IF(CLOSE>=GUP8,1,(-1));
GUP13:=IF(CLOSE>=GUP9,1,(-1));
GUP14:=IF(GUP7>=REF(GUP7,1),1,(-1));
GUP15:=IF(GUP8>=REF(GUP8,1),1,(-1));
GUP16:=IF(GUP9>=REF(GUP9,1),1,(-1));
GUP17:=(GUP11+GUP12+GUP13+GUP14+GUP15+GUP16)/6*100;
GUP18:=(-10);
GUP19:=EMA(VOL,13);
GUP20:=EMA(AMOUNT,13);
GUP21:=GUP20/GUP19/100;
GUP22:=(CLOSE-GUP21)/GUP21*100;
GUP23:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP24:=LLV(OPEN,30);
GUP25:=SMA(GUP23,3,1);
GUP26:=SMA(GUP25,3,1);
GUP27:=3*GUP25-2*GUP26;
GUP28:=EMA(HHV(HIGH,1),8);
GUP29:=EMA(CLOSE,8);
GUP30:=GUP29<REF(GUP29,1) AND CLOSE<GUP29;
GUP31:=IF(GUP28<REF(GUP28,1) OR GUP30,1,0);
GUP32:=(COUNT(GUP31=1,4)=3 AND GUP31=0 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89;
量价买:GUP32 AND GUP5>=(-0.01) AND CAPITAL<15000000 AND REF(GUP1,1)<6,COLORYELLOW; |