最爱主升浪 发表于 2023-9-12 11:03:11

2023短线趋势买底 波段精简顶底《通达信+指标+公式+副图+源码》


副图公式 源码支持手机/电脑

GUP1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(LOW,5);
GUP6:=HHV(HIGH,5);
GUP7:=EMA((CLOSE-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUPB:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(HIGH+LOW+CLOSE*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(HIGH+LOW+CLOSE)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP22:=(HIGH+LOW+CLOSE+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,7);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
超短线:EMA(GUP2E,3),COLORRED;
短线:EMA(超短线,5),COLORWHITE;
趋势线:EMA((GUP2B+GUP2D)/2,2),COLORYELLOW;
DRAWICON(CROSS(趋势线,0),0,1);
DRAWICON(CROSS(100,超短线),100,2);
DRAWTEXT(趋势线>REF(趋势线,1)AND REF(趋势线,1)<REF(趋势线,2)AND COUNT(CROSS(超短线,短线),3)=1 AND 短线<30,短线,'买底'),COLORRED;

选股公式源码

{选股公式一:买底}
GUP1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(LOW,5);
GUP6:=HHV(HIGH,5);
GUP7:=EMA((CLOSE-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUPB:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(HIGH+LOW+CLOSE*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(HIGH+LOW+CLOSE)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP22:=(HIGH+LOW+CLOSE+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,7);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
超短线:=EMA(GUP2E,3),COLORRED;
短线:=EMA(超短线,5),COLORWHITE;
趋势线:=EMA((GUP2B+GUP2D)/2,2),COLORYELLOW;
买底:趋势线>REF(趋势线,1)AND REF(趋势线,1)<REF(趋势线,2)AND COUNT(CROSS(超短线,短线),3)=1 AND 短线<30;
{选股公式二:红箭头图标}
GUP1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=3*GUP2-2*GUP3;
GUP5:=LLV(LOW,5);
GUP6:=HHV(HIGH,5);
GUP7:=EMA((CLOSE-GUP5)/(GUP6-GUP5)*100,4)*2;
GUP8:=EMA(0.667*REF(GUP7,1)+0.333*GUP7,2);
GUP9:=3*GUP7-2*GUP8;
GUPA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
GUPB:=POW(MA(LOW,5),2)+MA(LOW,5);
GUPC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
GUPD:=(GUPA-LLV(GUPB,64))/(HHV(GUPC,64)-LLV(GUPB,64))*150+65-10;
GUPE:=SMA(GUPD,3,1)*1.5-100;
GUPF:=SMA(GUPE,3,1);
GUP10:=3*GUPE-2*GUPF;
GUP11:=(HIGH+LOW+CLOSE*2)/4;
GUP12:=EMA(GUP11,13);
GUP13:=STD(GUP11,13);
GUP14:=(GUP11-GUP12)*100/GUP13;
GUP15:=EMA(GUP14,5);
GUP17:=EMA(GUP15,13)+200-100;
GUP18:=EMA(GUP17,10);
GUP19:=3*GUP17-2*GUP18;
GUP1A:=GUP2+GUP7+GUPE+GUP17;
GUP1B:=GUP3+GUP8+GUPF+GUP18;
GUP1C:=GUP4+GUP9+GUP10+GUP19;
GUP1D:=(HIGH+LOW+CLOSE)/3;
GUP20:=(GUP1D-MA(GUP1D,34))/(0.015*AVEDEV(GUP1D,34));
GUP22:=(HIGH+LOW+CLOSE+GUP1D)/4;
GUP23:=EMA(GUP22,24);
GUP24:=STD(GUP22,24);
GUP25:=(GUP22-GUP23)/GUP24*100;
GUP26:=(GUP1D-MA(GUP1D,24))/(0.015*AVEDEV(GUP1D,24));
GUP27:=EMA(GUP25,5);
GUP2A:=((GUP27+GUP26+GUP20)/3+165)/4;
GUP2B:=(EMA(EMA(EMA(GUP2A,15),10),5)-25)*2;
GUP2C:=(GUP1A+GUP1B+GUP1C*30)/32/5-15;
GUP2D:=EMA(GUP2C,7);
GUP2E:=(GUP2A+GUP2C)/2/1.1;
超短线:=EMA(GUP2E,3),COLORRED;
短线:=EMA(超短线,5),COLORWHITE;
趋势线:=EMA((GUP2B+GUP2D)/2,2),COLORYELLOW;
红箭头图标:CROSS(趋势线,0);

三米烛光 发表于 2023-10-26 20:09:14

好贴不能沉!

逝去的青春956 发表于 2023-11-23 12:09:09

我抢、我抢、我抢沙发~
页: [1]
查看完整版本: 2023短线趋势买底 波段精简顶底《通达信+指标+公式+副图+源码》