当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信群买的主图(无源码的请下载附件导入)
通达信群买的主图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 五:MA(CLOSE,5),LINETHICK0,NODRAW;
- 离A:=MA(CLOSE,5)*1.15,COLOR770077;
- 离B:=MA(CLOSE,5)*1.10,COLOR333333;
- 离C:=MA(CLOSE,5)*0.89,COLOR333333;
- 离D:=MA(CLOSE,5)*0.84,COLOR770077;
- 收益:FINANCE(33),COLORWHITE,NODRAW;
- 市盈:DYNAINFO(39),NODRAW;
- 流通:FINANCE(7)/10000/10000,NODRAW;
- AA:=CLOSE/REF(C,1)>=1.09;
- BA:=CLOSE/REF(C,1)>=1.09;
- STICKLINE(AA,O,C,2.5,1),COLORYELLOW;
- MA1:MA(CLOSE,5),COLORRED;
- MA2:MA(CLOSE,10),COLORGREEN;
- MA3:MA(CLOSE,22),COLORWHITE;
- MA4:MA(CLOSE,60),LINETHICK1,COLOR009900;
- MA5:MA(CLOSE,120),COLORGRAY,POINTDOT;
- MA6:MA(CLOSE,250),COLOR990000;
- SARH:=CLOSE>SAR(4,2,20);
- IF(C<MA3 ,MA1,DRAWNULL),COLOR555555,LINETHICK1;
- IF(C<MA3 ,MA2,DRAWNULL),COLOR555555,LINETHICK1;
- {IF(C<MA3 ,MA3,DRAWNULL),COLOR555555,LINETHICK1;}
- IF( 离L=0,离A,DRAWNULL),COLOR770077,LINETHICK1;
- IF( 离L=0,离B,DRAWNULL),COLOR333333,LINETHICK1;
- IF( 离L=0,离D,DRAWNULL),COLOR770077,LINETHICK1;
- IF(五<REF(五,2) AND 离L=0,离A,DRAWNULL),COLOR555555,LINETHICK1;
- IF(五<REF(五,2) AND 离L=0,离D,DRAWNULL),COLOR555555,LINETHICK1;
- TYP:=(HIGH+LOW+CLOSE)/3;
- CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
- STICKLINE(C<MA3 AND 黑=1,H,L,0,0),COLOR555555;
- STICKLINE(C<MA3 AND 黑=1,O,C,2.5,1),COLOR555555;
- STICKLINE(BA AND C<MA3,O,C,2.7,1),COLORWHITE;
- DRAWICON(MACD>REF(MACD,1) AND CROSS(C,MA3) ,L,1);
- DRAWICON(REF(C>MA3,1) AND CROSS(MA(C,5),C),H,2);
- N:=14;
- M:=6;
- TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
- HD :=HIGH-REF(HIGH,1);
- LD :=REF(LOW,1)-LOW;
- DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
- DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
- PDI:=DMP*100/TR;
- MDI:=DMM*100/TR;
- ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
- ADXR:=EXPMEMA(ADX,M);
- DMIJX:=CROSS(PDI,MDI) AND C>O ;
- STICKLINE(DMIJX,H,L,0,1),COLORYELLOW;
- STICKLINE(DMIJX,O,C,2.7,0),COLORYELLOW;
- DRAWICON(DMIJX,L,1);
- {DRAWTEXT(H>离A,离A/0.99,'★'),COLORYELLOW;}
- 头上边:MAX(O,C),NODRAW;
- 头下边:MIN(O,C),NODRAW;
- 垂头:=ABS(O-C),NODRAW;{垂头}
- 长针:=(头下边-L),NODRAW;{长针}
- 垂:=长针/垂头>2 AND (H-头上边)<=长针 AND L<REF(L,1) AND O<REF(C,1),NODRAW;
- DRAWTEXT(垂 AND L<=LLV(L,3),L/1.01,'针'),COLORGREEN,LINETHICK4;
{公式在线提供:www.gszx.com.cn}