通达信多头空间箱体主图指标 多空变色线 源码 贴图
2022-08-01 08:53:00来源:本站整理浏览:1821
通达信多头空间箱体主图指标 多空变色线 源码 贴图
SVAR0:=1;
DRAWTEXT(CLOSE / REF(CLOSE,1) >= 1.098 > 0,CLOSE + CLOSE * 0.031,'★'),COLOR0000FF;
DRAWTEXT(CLOSE / REF(CLOSE,1) >= 1.06 > 0 AND CLOSE / REF(CLOSE,1) < 1.098 > 0,CLOSE + CLOSE * 0.031,'★'),COLOR00FFFF;
DRAWTEXT(REF(CLOSE,1) / CLOSE >= 1.098 > 0,CLOSE - CLOSE * 0.031,'★'),COLOR00FF00;
DRAWTEXT(REF(CLOSE,1) / CLOSE >= 1.06 > 0 AND REF(CLOSE,1) / CLOSE < 1.098 > 0,CLOSE - CLOSE * 0.031,'★'),COLORFFFF00;
{DRAWTEXTABS(5,10,BKNAME),COLOR00FFFF;}
SVAR1:=MA(CLOSE,1) ;
SVAR2:=SMA(SMA(SMA(SVAR1,2,1),2,1),2,1) ;
箱体线:HHV(MA(SVAR2,1),67),COLORFFFFFF ;
SVAR3:=(3 * CLOSE + LOW + OPEN + HIGH) / 6 ;
B:(20 * SVAR3 + 19 * REF(SVAR3,1) + 18 * REF(SVAR3,2) + 17 * REF(SVAR3,3) + 16 * REF(SVAR3,4) + 15 * REF(SVAR3,5) + 14 * REF(SVAR3,6) + 13 * REF(SVAR3,7) + 12 * REF(SVAR3,8) + 11 * REF(SVAR3,9) + 10 * REF(SVAR3,10) + 9 * REF
(SVAR3,11) + 8 * REF(SVAR3,12) + 7 * REF(SVAR3,13) + 6 * REF(SVAR3,14) + 5 * REF(SVAR3,15) + 4 * REF(SVAR3,16) + 3 * REF(SVAR3,17) + 2 * REF(SVAR3,18) + REF(SVAR3,20)) / 210,COLOR0000FF ;
D:MA(B,4),COLOR00FFFF ; {公式网WWW.GPXIAZAI.COM}
空间:(B - CLOSE) / REF(CLOSE,1) * 100,NODRAW,COLOR0000FF ;
MA40:EMA(CLOSE,40),NODRAW,COLOR00FFFF ;
MA40上升:MA40 > REF(MA40,1),NODRAW,COLOR0000FF ;
占上多头:CLOSE > D * 0.98 AND CROSS(B,D),NODRAW,COLOR0000FF ;
SVAR4:=MA40 >= REF(MA40,1) AND SVAR0 ;
SVAR5:=MA40 < REF(MA40,1) AND SVAR0 ;
DRAWICON(CROSS(B,D),B - 0.1,1);
DRAWICON(CROSS(D,B),D + 0.1,2);
{VERTLINE(TIME = 150000,1),COLOR000080;}
IF(SVAR4,MA40,DRAWNULL),COLORRED;
IF(SVAR5,MA40,DRAWNULL),COLORGREEN;
- 上一篇公式:通达信涨跌停标注主图指标 自动变色 源码 贴图
- 下一篇公式:通达信底部参考副图指标 抄底参考指标 源码 贴图