通达信基本面指标(源码)

2015-10-12 20:35:00来源:本站整理浏览:1145

量能饱和:=(IF(SAT>1,1,SAT)*100);
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;
活跃:=(WRSI-WR10);
活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));
DRAWTEXT_FIX(1,0.74,0.15,1,STRCAT(STRCAT("量能饱和: ",CON2STR(量能饱和,2)),"%")),COLORBLACK;
DRAWTEXT_FIX(1,0.74,0.35,1,STRCAT(STRCAT("活跃度比: ",CON2STR(活跃度比,2)),"%")),COLORBLACK;
DRAWTEXT_FIX(1,0.74,0.55,1,STRCAT(STRCAT("获利筹码: ",CON2STR(获利筹码,2)),"%")),COLORBLACK;
DRAWRECTREL(970,340,580,270,RGB(150,10,250));
DRAWRECTREL(970,470,580,540,RGB(150,10,250));
DRAWRECTREL(970,670,580,740,RGB(150,10,250));
DRAWRECTREL(970,340,580+CONST(量能饱和*(970-580)/100),270,RGB(0,100,0));
DRAWRECTREL(970,470,580+CONST(活跃度比*(970-580)/100),540,RGB(0,100,0));
DRAWRECTREL(970,670,580+CONST(获利筹码*(970-580)/100),740,RGB(0,100,0));
DRAWTEXT_FIX(1,0.92,0.01,1,"大盘趋势 (向上 OR 向下):"),COLORRED;
DRAWTEXT_FIX( CONST(INDEXC) >SAR(4,2,20),0.95,0.01,1,"∧∧∧"),COLORRED;
DRAWTEXT_FIX( CONST(INDEXC) >SAR(4,2,20),0.95,0.11,1,"∧∧∧"),COLORRED;
DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.95,0.01,1,"∨∨∨"),COLORGREEN;
DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.95,0.11,1,"∨∨∨"),COLORGREEN;
DRAWTEXT_FIX(1,0.87,0.85,1,"不以涨喜不以跌悲————(开心买卖)"),COLORBLACK;


上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式