三线量价启动副图
拉升预警副图源码
GUP3:=LLV(HIGH,240);
GUP4:=100*(CLOSE-GUP3)/GUP3;
GUP5:=REF(LLV(CLOSE,480),1);
GUP6:=REF(HHV(CLOSE,480),1);
GUP7:=100*(CLOSE-GUP5)/(GUP6-GUP5);
GUP8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
GUP9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;
GUPA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
GUPB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
GUPC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
GUPD:=IF(GUPC 23.16,GUPC,0);
GUPE:=GUPC
GUPF:=GUPD;
GUP10:=GUP4 0 AND GUP7
GUP12:=(HIGH+LOW+CLOSE*2)/4;
GUP13:=EMA(GUP12,21);
GUP14:=STD(GUP12,21);
GUP15:=((GUP12-GUP13)/GUP14*100+200)/4;
GUP16:=(EMA(GUP15,89)-25)*1.56;
GUP17:=EMA(GUP16,5)*1.22;
GUP18:=EMA(GUP17,3);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=IF(CROSS(GUP19,GUP17) AND CROSS(GUP19,GUP18) AND CROSS(GUP17,GUP18),1,0);
GUP1B:=IF(CROSS(GUP17,GUP19) AND CROSS(GUP18,GUP19) AND CROSS(GUP18,GUP17),1,0);
买入:IF(FILTER(GUP8=0 AND GUPE AND GUP10 AND GUP1A,5)=1,10,0),COLORRED;
卖出:IF(FILTER(GUP8=100 AND GUPF AND GUP1B,5)=1,10,0),COLORGREEN;
GUP1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
GUP1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
GUP1E:=EMA(GUP1D,30);
GUP1F:=2*(GUP1D-GUP1E)*10;
GUP20:=POW(GUP1F,3)*0.1+POW(GUP1F,2);
GUP21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
GUP22:=EMA(GUP21*0.97,3);
GUP23:=(HIGH+LOW+CLOSE)/3;
GUP24:=(GUP23-MA(GUP23,14))/(0.015*AVEDEV(GUP23,14));
GUP25:=IF(GUP1F 0.015,GUP20,0)/45;
启动:GUP25,COLORYELLOW;
GUP26:=EMA(CLOSE,2)-EMA(CLOSE,150);
GUP27:=EMA(GUP26,100);
GUP28:=2*(GUP26-GUP27);
GUP29:=POW(GUP28,3)*0.1+POW(GUP28,1);
GUP2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
GUP2B:=EMA(GUP2A*0.97,3);
GUP2C:=(HIGH+LOW+CLOSE)/3;
GUP2D:=(GUP2C-MA(GUP2C,14))/(0.015*AVEDEV(GUP2C,14));
黑马:IF( GUP28 0.1,GUP29,0)*5,COLORRED;
量价:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,COLORWHITE;
GUP2E:=IF(FILTER(量价 0 AND 量价 3,5)=1,12,0);
拉升预警:IF(FILTER(启动 0 AND 启动 0.5 AND GUP2E AND GUP1C 3,10)=1,10,0),COLORMAGENTA;
DRAWICON(买入 0,10,1);
DRAWICON(卖出 0,10,2);
DRAWICON(拉升预警 0,10,1);
STICKLINE(拉升预警,0,8,8,0),COLORMAGENTA;
拉升预警副图源码选股
{选股公式一:拉升预警}
GUP1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
GUP1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
GUP1E:=EMA(GUP1D,30);
GUP1F:=2*(GUP1D-GUP1E)*10;
GUP20:=POW(GUP1F,3)*0.1+POW(GUP1F,2);
GUP21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
GUP22:=EMA(GUP21*0.97,3);
GUP23:=(HIGH+LOW+CLOSE)/3;
GUP24:=(GUP23-MA(GUP23,14))/(0.015*AVEDEV(GUP23,14));
GUP25:=IF(GUP1F 0.015,GUP20,0)/45;
启动:=GUP25,COLORYELLOW;
量价:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
GUP2E:=IF(FILTER(量价 0 AND 量价 3,5)=1,12,0);
拉升预警:IF(FILTER(启动 0 AND 启动 0.5 AND GUP2E AND GUP1C 3,10)=1,10,0);
{选股公式二:买入}
GUP3:=LLV(HIGH,240);
GUP4:=100*(CLOSE-GUP3)/GUP3;
GUP5:=REF(LLV(CLOSE,480),1);
GUP6:=REF(HHV(CLOSE,480),1);
GUP7:=100*(CLOSE-GUP5)/(GUP6-GUP5);
GUP8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
GUP9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;
GUPA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
GUPB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
GUPC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
GUPD:=IF(GUPC 23.16,GUPC,0);
GUPE:=GUPC
GUPF:=GUPD;
GUP10:=GUP4 0 AND GUP7
GUP12:=(HIGH+LOW+CLOSE*2)/4;
GUP13:=EMA(GUP12,21);
GUP14:=STD(GUP12,21);
GUP15:=((GUP12-GUP13)/GUP14*100+200)/4;
GUP16:=(EMA(GUP15,89)-25)*1.56;
GUP17:=EMA(GUP16,5)*1.22;
GUP18:=EMA(GUP17,3);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=IF(CROSS(GUP19,GUP17) AND CROSS(GUP19,GUP18) AND CROSS(GUP17,GUP18),1,0);
GUP1B:=IF(CROSS(GUP17,GUP19) AND CROSS(GUP18,GUP19) AND CROSS(GUP18,GUP17),1,0);
买入:IF(FILTER(GUP8=0 AND GUPE AND GUP10 AND GUP1A,5)=1,10,0),COLORRED;