副图公式 源码支持手机/电脑
GUP3:=EMA(CLOSE,9);
走势线:EMA(GUP3*1.11,5),COLORMAGENTA,LINETHICK2;
GUP4:=CLOSE*VOL;
GUP5:=EMA((EXPMA(GUP4,3)/EXPMA(VOL,3)+EXPMA(GUP4,6)/EXPMA(VOL,6)+EXPMA(GUP4,12)/EXPMA(VOL,12)+EXPMA(GUP4,24)/EXPMA(VOL,24))/4,13);
GUP6:=1.13*GUP5;
GUP7:=MA(HIGH,30)*(1+15/100);
DRAWICON(CROSS(CLOSE,走势线),LOW*0.92,13);
GUP10:=CROSS(CLOSE,GUP7) AND CLOSE>=REF(CLOSE,1)*1.048;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.09,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.049 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.098,CLOSE,OPEN,2,0),COLORMAGENTA;
GUP12:=MA(CLOSE,5);
GUP13:=MA(CLOSE,8);
GUP14:=MA(CLOSE,13);
GUP15:=MA(CLOSE,21);
GUP16:=MA(CLOSE,34);
GUP17:=MA(CLOSE,50);
GUP18:=OPEN<=GUP12 AND CLOSE>GUP12;
GUP19:=OPEN<=GUP13 AND CLOSE>GUP13;
GUP20:=OPEN<=GUP14 AND CLOSE>GUP14;
GUP21:=OPEN<=GUP15 AND CLOSE>GUP15;
GUP22:=OPEN<=GUP16 AND CLOSE>GUP16;
GUP23:=OPEN<=GUP17 AND CLOSE>GUP17;
GUP24:=GUP18+GUP19+GUP20+GUP21+GUP22+GUP23>4;
GUP25:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.03 AND CLOSE=HIGH AND GUP24;
DRAWICON(GUP25,LOW*0.98,38);
STICKLINE(GUP25,CLOSE,OPEN,2,0),COLORYELLOW;
STICKLINE(GUP25,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(GUP25,CLOSE,LOW,0.02,0),COLORBLACK;
STICKLINE(GUP25,OPEN,LOW,0,0),COLORGREEN;
选股公式源码
{选股公式一:红三角图标}
GUP12:=MA(CLOSE,5);
GUP13:=MA(CLOSE,8);
GUP14:=MA(CLOSE,13);
GUP15:=MA(CLOSE,21);
GUP16:=MA(CLOSE,34);
GUP17:=MA(CLOSE,50);
GUP18:=OPEN<=GUP12 AND CLOSE>GUP12;
GUP19:=OPEN<=GUP13 AND CLOSE>GUP13;
GUP20:=OPEN<=GUP14 AND CLOSE>GUP14;
GUP21:=OPEN<=GUP15 AND CLOSE>GUP15;
GUP22:=OPEN<=GUP16 AND CLOSE>GUP16;
GUP23:=OPEN<=GUP17 AND CLOSE>GUP17;
GUP24:=GUP18+GUP19+GUP20+GUP21+GUP22+GUP23>4;
GUP25:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.03 AND CLOSE=HIGH AND GUP24;
{DRAWICON(GUP25,LOW*0.98,38);}
红三角图标:GUP25;
{选股公式二:红球图标}
GUP3:=EMA(CLOSE,9);
走势线:=EMA(GUP3*1.11,5),COLORMAGENTA,LINETHICK2;
GUP4:=CLOSE*VOL;
GUP5:=EMA((EXPMA(GUP4,3)/EXPMA(VOL,3)+EXPMA(GUP4,6)/EXPMA(VOL,6)+EXPMA(GUP4,12)/EXPMA(VOL,12)+EXPMA(GUP4,24)/EXPMA(VOL,24))/4,13);
GUP6:=1.13*GUP5;
GUP7:=MA(HIGH,30)*(1+15/100);
{DRAWICON(CROSS(CLOSE,走势线),LOW*0.92,13);}
红球图标:CROSS(CLOSE,走势线); |