M1:MA(CLOSE,3);
M2:MA(CLOSE,20);生命线:MA(CLOSE,89),LINETHICK2;牛熊线:MA(CLOSE,321),COLORWHITE,POINTDOT,LINETHICK4;保护价:(OPEN+REF(C,1)+REF(C,2))/3,NODRAW;止损:=(REF(H,1)+REF(L,1))/2,NODRAW,COLORGREEN;中心价:=(O+C)/2; 多头:IF(M2>=REF(M2,1),M2,DRAWNULL),COLORRED,LINETHICK2;空头:IF(M2<REF(M2,1),M2,DRAWNULL),COLORGREEN,LINETHICK2;DT:=CROSS(M1,M2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;DRAWTEXT(DT,(LOW*0.98)*(1),'买'),COLORWHITE;DRAWICON(DT,(LOW*0.99)*(1),13);{逃顶}V1:=(REF(HIGH,1)+REF(LOW,1))/2;V2:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(V1,V2),HIGH*1.00,6);DRAWTEXT(CROSS(V1,V2),HIGH*1.01,'卖'), COLORGREEN;V3:=REF(CLOSE,1);V4:=SMA(MAX(CLOSE-V3,0),7,1)/SMA(ABS(CLOSE-V3),7,1)*100;V5:=CROSS(89,V4);V6:=FILTER(V5,4);DRAWICON(V6,HIGH*1.00,2);DRAWTEXT(V6,HIGH*1.01,'卖'), COLORGREEN;{划线}A1:=BARSLAST(CROSS(MA(C,10),MA(C,5)));C1:=REF(MA(C,5),A1);STICKLINE(CURRBARSCOUNT<=CONST(A1)+1 AND A1>=0, C1,C1,-1,0),COLORGREEN;{肉夹馍}VAR110:=REF(C,2)>REF(O,2);VAR120:=(REF(C,2)-REF(C,3))/REF(C,3)>0.02;VAR210:=REF(C,1)<REF(O,1);VAR310:=C>O AND C>REF(O,1) AND C>REF(C,2) ;VAR320:=V>REF(V,2) AND V>REF(V,1);VAR330:=((H-C)/(H-L))<0.3;VAR410:=VAR110 AND VAR120 AND VAR210 AND VAR310 AND VAR320 AND VAR330;DRAWTEXT(VAR410,(LOW*1.02)*(1),'肉夹馍 '),COLORYELLOW;DRAWICON(VAR410,(LOW*1.01)*(1),5);{概念板块}DRAWTEXT_FIX(1,0.00,0.04,0,'【概念板块】')COLORFF00FF;Z1:=STRCAT(DYBLOCK,' ');Z2:=STRCAT(Z1,HYBLOCK);Z3:=STRCAT(Z2,FGBLOCK);Z4:=STRCAT(Z3,' ');DRAWTEXT_FIX(1,0.09,0.04,0,STRCAT(Z4,GNBLOCK)),COLORFF00FF;DRAWTEXT_FIX(1,0.00,0.12,0,'【主题投资】'),COLOR0000FF;DRAWTEXT_FIX(1,0.09,0.12,0,EXTERNSTR(0,1)),COLOR0000FF;{注意:我的数据号是1}DRAWTEXT_FIX(1,0.00,0.20,0,'【主营业务】'),COLORGREEN;DRAWTEXT_FIX(1,0.09,0.20,0,EXTERNSTR(0,2))COLORGREEN;{这个数据号是2};股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的通达信星光主图指标公式的问题一些解决方案仅供辅助你学习通达信公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:通达信星光主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说