当前位置:首页 > 免费资源 > 正文

「翔博精选指标」虚拟涨跌停K线(通达信公式 主图 源码 测试图)

2022-05-08原创 编 辑:翔博软件

 {虚拟涨停K}

 KXZT:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(CLOSE,1)*1.1,DRAWNULL),NODRAW;
 STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,KXZT,MAX(OPEN,CLOSE),-1,-1),COLOR00C0C0;
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 {虚拟跌停K}
 KXDT:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(CLOSE,1)*0.9,DRAWNULL),NODRAW; 
 STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,KXDT,MIN(OPEN,CLOSE),-1,-1),COLORLIBLUE;
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 CP1:HHV(HIGH,60),COLORYELLOW;
 CP2:HHV(CLOSE,1),COLORWHITE;
底部支撑:LLV(LOW,60),COLOR6666FF;
 (EMA(CLOSE,240)) * 0.75,LINETHICK3,COLORRED;
 A1:=MA(CLOSE,5);
 A2:=MA(CLOSE,30);
铁底:(EMA(CLOSE,240)) * 0.75,COLORYELLOW;
『强势』:DRAWTEXT((A1 > A2),A2,'↑'),COLORRED;
『弱势』:DRAWTEXT((A1 <= A2),A2,'↓'),COLORGREEN;
 A3:=MA(CLOSE,20);
 A4:=MA(CLOSE,60);
 A5:=CROSS(A3,A4);
 DRAWICON(A5,(HIGH * 1.04),2);
 DRAWTEXT(A5,(HIGH * 1.06),'小心下滑'),COLORWHITE;
 A6:=CROSS(A1,A2);
 DRAWICON((A6 AND (CLOSE < (EMA(CLOSE,240)) * 0.75)),(LOW - (LOW * 0.04)),1);
 DRAWTEXT((A6 AND (CLOSE < (EMA(CLOSE,240)) * 0.75)),(LOW - (LOW * 0.05)),'←中底买 '),COLORRED;
 A7:=((CLOSE - OPEN) / (REF(CLOSE,1))) > 0.08;
 DRAWTEXT((FILTER(A7,1)),(LOW * 0.99),'追'),COLORYELLOW;
 DRAWTEXT((CROSS(底部支撑,(EMA(CLOSE,240)) * 0.75)),(LOW - (LOW * 0.02)),'小底'),COLOR00FFCC;

 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标