副图公式源码支持 手机/电脑
GUP1:=(C>O OR C>REF(C,1)) AND V>REF(V,1);
GUP2:=COUNT(GUP1,3)=3;
GUP3:=LLV(L,5)=LLV(L,120);
GUP4:=C>MA(C,3);
GUP5:=GUP2 AND GUP3 AND GUP4;
GUP6:=LLV(LOW,10);
GUP7:=HHV(H,25);
减仓:3.2;
出逃:3.5,COLORBLUE;
趋势线:EMA((C-GUP6)/(GUP7-GUP6)*4,4);
买入:GUP5,LINETHICK1,COLORGREEN;
底部:0.3,COLORYELLOW;
GUA2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
GUA3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
GUA4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
GUA5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
GUA6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
GUA7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
GUA8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
GUA9:=(GUA3+GUA4+GUA5+GUA6+GUA7+GUA8)/6;
GUAA:=EMA(GUA9,3);
GUAB:=ABS(GUA6-GUA8);
GUAC:=(GUA9+GUAB)/2;
GUAD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
GUAE:=GUAD+GUAC;
GUAF:=IF(GUA2>0 AND GUAE<0,200,0);
GUA10:=IF(GUAC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
GUA11:=IF(GUAE<0 AND GUA10=-50,100,0);
GUA12:=MA(CLOSE,3);
GUA13:=REF(CLOSE,2)*0.865;
GUA14:=REF(CLOSE,13)*0.772;
GUA15:=MIN(GUA13,GUA14);
GUA16:=100*VOL/CAPITAL;
GUA17:=MA(CLOSE,13);
GUA18:=IF((CLOSE-GUA15)/CLOSE<0.03 AND SUM(GUA16,5)/5<1.8,1,0);
GUA19:=IF(GUA18>0 AND (GUA10<0 OR GUA2>0),100,0);
GUA1A:=GUA19;
GUA1B:=IF(GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0) AND (GUA10<0 OR GUA2>0) AND GUA19<10,50,0);
GUA1C:=(GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0) AND (GUA10<0 OR GUA2>0);
GUA1D:=GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
大底现身GUA1C OR GUA1D)*3,LINETHICK2,COLORRED;
分界:2;
选股公式源码
{选股公式一:大底现身}
GUA2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
GUA3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
GUA4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
GUA5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
GUA6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
GUA7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
GUA8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
GUA9:=(GUA3+GUA4+GUA5+GUA6+GUA7+GUA8)/6;
GUAA:=EMA(GUA9,3);
GUAB:=ABS(GUA6-GUA8);
GUAC:=(GUA9+GUAB)/2;
GUAD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
GUAE:=GUAD+GUAC;
GUAF:=IF(GUA2>0 AND GUAE<0,200,0);
GUA10:=IF(GUAC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
GUA11:=IF(GUAE<0 AND GUA10=-50,100,0);
GUA12:=MA(CLOSE,3);
GUA13:=REF(CLOSE,2)*0.865;
GUA14:=REF(CLOSE,13)*0.772;
GUA15:=MIN(GUA13,GUA14);
GUA16:=100*VOL/CAPITAL;
GUA17:=MA(CLOSE,13);
GUA18:=IF((CLOSE-GUA15)/CLOSE<0.03 AND SUM(GUA16,5)/5<1.8,1,0);
GUA19:=IF(GUA18>0 AND (GUA10<0 OR GUA2>0),100,0);
GUA1A:=GUA19;
GUA1B:=IF(GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0) AND (GUA10<0 OR GUA2>0) AND GUA19<10,50,0);
GUA1C:=(GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0) AND (GUA10<0 OR GUA2>0);
GUA1D:=GUAF>0 AND GUA11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUA18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
大底现身GUA1C OR GUA1D)*3,LINETHICK2,COLORRED;
{选股公式二:买入}
GUP1:=(C>O OR C>REF(C,1)) AND V>REF(V,1);
GUP2:=COUNT(GUP1,3)=3;
GUP3:=LLV(L,5)=LLV(L,120);
GUP4:=C>MA(C,3);
GUP5:=GUP2 AND GUP3 AND GUP4;
买入:GUP5;
|