2024短线狙击 决战黑马《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
买入线:EMA(CLOSE,15),COLORYELLOW;
卖出线:EMA(((SLOPE(CLOSE,34)*20)+CLOSE),75),COLORGREEN;
GUP1:=(买入线-卖出线);
STICKLINE((GUP1>=0),买入线,卖出线,0.5,0),COLORRED;
STICKLINE((GUP1<0),买入线,卖出线,0.5,0),COLORBLUE;
GUP2:=EMA(((100*(CLOSE-LLV(LOW,34)))/(HHV(HIGH,34)-LLV(LOW,34))),3);
GUP3:=SMA((((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)))*100),2,1);
GUP4:=EMA(((100*(INDEXC-LLV(INDEXL,34)))/(HHV(INDEXH,34)-LLV(INDEXL,34))),3);
GUP5:=(((VOL/CAPITAL)*100)>=2);
GUP6:=(((CLOSE/REF(CLOSE,1))-1)*100);
GUP7:=(CROSS(GUP2,GUP3) AND (GUP2>=45));
GUP8:=(CROSS(GUP2,GUP4) AND (GUP2>=45));
GUP9:=(CROSS(GUP2,75) AND (GUP6>=2));
GUP10:=(CROSS(GUP2,20) AND (GUP6>=2));
DRAWTEXT((GUP7>0),(LOW*0.99),'阻击黑马'),COLORFFFF00;
DRAWTEXT((GUP8>0),(LOW*1.1),'决战黑马'),COLOR0055FF;
DRAWTEXT((GUP9>0),(LOW*1.05),'绝对黑马'),COLORRED;
DRAWTEXT((GUP10>0),(LOW*1.01),'短线黑马'),COLORRED;
GUA:=((CLOSE>OPEN) OR ((CLOSE=OPEN) AND (CLOSE>REF(CLOSE,1))));
STICKLINE(GUA,LOW,HIGH,0.8,0),COLORRED;
STICKLINE(GUA,OPEN,CLOSE,8,0),COLORRED;
STICKLINE(GUA,OPEN,CLOSE,6,0),COLOR8B6AFD;
STICKLINE(GUA,OPEN,CLOSE,2,0),COLORC6B6FE;
STICKLINE(GUA,OPEN,CLOSE,1,0),COLORF9F7FF;
STICKLINE(NOT(GUA),LOW,HIGH,0.1,0),COLORFF0000;
STICKLINE(NOT(GUA),OPEN,CLOSE,8,0),COLORFF0000;
STICKLINE(NOT(GUA),OPEN,CLOSE,6,0),COLORFF7578;
STICKLINE(NOT(GUA),OPEN,CLOSE,2,0),COLORFFBFC1;
STICKLINE(NOT(GUA),OPEN,CLOSE,0.5,0),COLORFFFFF7;
选股公式源码
{选股公式一:阻击黑马}
GUP2:=EMA(((100*(CLOSE-LLV(LOW,34)))/(HHV(HIGH,34)-LLV(LOW,34))),3);
GUP3:=SMA((((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)))*100),2,1);
GUP7:=(CROSS(GUP2,GUP3) AND (GUP2>=45));
阻击黑马:GUP7>0;
{选股公式二:决战黑马}
GUP2:=EMA(((100*(CLOSE-LLV(LOW,34)))/(HHV(HIGH,34)-LLV(LOW,34))),3);
GUP4:=EMA(((100*(INDEXC-LLV(INDEXL,34)))/(HHV(INDEXH,34)-LLV(INDEXL,34))),3);
GUP8:=(CROSS(GUP2,GUP4) AND (GUP2>=45));
决战黑马:GUP8>0;
{选股公式三:绝对黑马}
GUP2:=EMA(((100*(CLOSE-LLV(LOW,34)))/(HHV(HIGH,34)-LLV(LOW,34))),3);
GUP6:=(((CLOSE/REF(CLOSE,1))-1)*100);
GUP9:=(CROSS(GUP2,75) AND (GUP6>=2));
绝对黑马:GUP9>0;
{选股公式四:短线黑马}
GUP2:=EMA(((100*(CLOSE-LLV(LOW,34)))/(HHV(HIGH,34)-LLV(LOW,34))),3);
GUP6:=(((CLOSE/REF(CLOSE,1))-1)*100);
GUP10:=(CROSS(GUP2,20) AND (GUP6>=2));
短线黑马:GUP10>0;