通达信西点利器运作副图 源码

TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))*100/(1.5*AVEDEV(TYP,14)),COLORFF00FF;
涨:CROSS(CCI,0),COLOR0000FF;
强:CROSS(CCI,100),COLORYELLOW;
平衡:CROSS(100,CCI) AND CCI>0,COLOR00FF00;
STICKLINE(涨,0,100,2,0),COLORYELLOW;
DRAWTEXT(涨,80,涨),POINTDOT,COLOR0000FF;
STICKLINE(强,100,200,2,0),COLORFF00FF;
DRAWTEXT(强,200,强),POINTDOT,COLOR00FF00;
STICKLINE(平衡,150,50,2,0),COLORWHITE;
DRAWTEXT(平衡,120,平衡),COLOR00FF00;
STICKLINE(CCI>=100,100,150,2,0),COLORYELLOW;
STICKLINE(CCI>=150,150,200,2,0),COLORRED;
STICKLINE(CCI<=-150,-150,-200,2,0),COLORFF6600;
个股资金指数:=EMA(((100 * (CLOSE – LLV(LOW,34))) / (HHV(HIGH,34) – LLV(LOW,34))),3);
市场资金指数:=EMA(((100 * (INDEXC – LLV(INDEXL,34))) / (HHV(INDEXH,34) – LLV(INDEXL,34))),3);
资金运作安全区:STICKLINE((市场资金指数 > 50),0,60,2.5,0),COLOR7BBEB2;
DRAWICON(CROSS(50,市场资金指数),50,2);
DRAWICON(CROSS(市场资金指数,50),50,1);
DRAWTEXT(ISLASTBAR,资金运作安全区,’资金运作安全区’),COLORRED ;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。