以下是通达信分时指标 分时副图 源码(无源码的请下载附件导入)
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
P:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(P,3);Q:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
现在操作:STICKLINE(趋势线<=13 AND Q>13,0,50,5,0),COLORRED;
BB:=趋势线<=13 AND Q>13 AND FILTER((趋势线<=13 AND Q>13),10);
DRAWTEXT (BB,45,'现在操作'),COLORYELLOW;
915566129.jpg
|