副图公式源码支持: 手机/电脑
N:=3;M:=60;M1:=120;M2:=40;
GUA2:=MA(C,N);GUA3:=MA(C,M);
GUA4:=MA(C,M1);GUA5:=MA(C,M2);
GUP1:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);
上峰:STICKLINE(GUP1>0,0,GUP1,3,0),COLORRED;
下谷:STICKLINE(GUP1<0,0,GUP1,3,0),COLORLIRED;
买入:IF(CROSS(GUA2,GUA3) AND CLOSE<GUA4,15,0);
DRAWTEXT(FILTER(买入,6),-13,'买入');
GUP2:=CLOSE/GUA5*100<78;
GUP3:=CLOSE/GUA3*100<74;
GUP4:=HIGH>(LOW*1.051);
GUP5:=GUP4 AND COUNT(GUP4,5)>1;
GUP6:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;
买进:IF((REF(C,13)-CLOSE)/REF(C,13)*100*GUP3>15 AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5 AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND GUP6<=50 AND GUP5 AND (GUP2 OR GUP3),-15,0);
DRAWTEXT(FILTER(买进,6),-13,'买进');
选股公式源码
{选股公式一:买进}
N:=3;M:=60;M1:=120;M2:=40;
GUA2:=MA(C,N);GUA3:=MA(C,M);
GUA4:=MA(C,M1);GUA5:=MA(C,M2);
GUP2:=CLOSE/GUA5*100<78;
GUP3:=CLOSE/GUA3*100<74;
GUP4:=HIGH>(LOW*1.051);
GUP5:=GUP4 AND COUNT(GUP4,5)>1;
GUP6:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;
买进:(REF(C,13)-CLOSE)/REF(C,13)*100*GUP3>15 AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5 AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND GUP6<=50 AND GUP5 AND (GUP2 OR GUP3);
{选股公式二:买入}
N:=3;M:=60;M1:=120;M2:=40;
GUA2:=MA(C,N);GUA3:=MA(C,M);
GUA4:=MA(C,M1);GUA5:=MA(C,M2);
GUP1:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);
上峰:=STICKLINE(GUP1>0,0,GUP1,3,0),COLORRED;
下谷:=STICKLINE(GUP1<0,0,GUP1,3,0),COLORLIRED;
买入:CROSS(GUA2,GUA3) AND CLOSE<GUA4;
|