副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=IF((CODELIKE('300') OR CODELIKE('688')),1.19,1.093);
GUP2:=C=H AND C/REF(C,1)>GUP1;
买一:=(G1-MA(G1,10))/MA(G1,10)*100>=0 AND (G1-MA(G1,20))/MA(G1,20)*100>=0 AND (G1-MA(G1,220))/MA(G1,220)*100>=0 AND COUNT(CROSS(C,MA(C,10)),1)>0 AND COUNT(GUP2,30)>=1;
DRAWICON(买一,L,25);
买二:=(G1-MA(G1,10))/MA(G1,10)*100>=0 AND (G1-MA(G1,20))/MA(G1,20)*100>=0 AND (G1-MA(G1,30))/MA(G1,30)*100>=-2 AND (G1-MA(G1,60))/MA(G1,60)*100>=-2 AND (G1-MA(G1,220))/MA(G1,220)*100>=0 AND (G1-MA(G1,250))/MA(G1,250)*100>=0 AND COUNT(CROSS(C,MA(C,10)),1)>0;
DRAWICON(买二,C,26);
选股公式源码
{选股公式一:红钻图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=IF((CODELIKE('300') OR CODELIKE('688')),1.19,1.093);
GUP2:=C=H AND C/REF(C,1)>GUP1;
买一:=(G1-MA(G1,10))/MA(G1,10)*100>=0 AND (G1-MA(G1,20))/MA(G1,20)*100>=0 AND (G1-MA(G1,220))/MA(G1,220)*100>=0 AND COUNT(CROSS(C,MA(C,10)),1)>0 AND COUNT(GUP2,30)>=1;
红钻图标:买一;
{选股公式二:黄钻图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=IF((CODELIKE('300') OR CODELIKE('688')),1.19,1.093);
GUP2:=C=H AND C/REF(C,1)>GUP1;
买二:=(G1-MA(G1,10))/MA(G1,10)*100>=0 AND (G1-MA(G1,20))/MA(G1,20)*100>=0 AND (G1-MA(G1,30))/MA(G1,30)*100>=-2 AND (G1-MA(G1,60))/MA(G1,60)*100>=-2 AND (G1-MA(G1,220))/MA(G1,220)*100>=0 AND (G1-MA(G1,250))/MA(G1,250)*100>=0 AND COUNT(CROSS(C,MA(C,10)),1)>0;
黄钻图标:买二; |