通达信主力方程(源码、副图贴图)须开通了L2行情才能正常使用

2017-01-11 22:55:00来源:本站整理浏览:514

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单3)<0,0.52,0.45,0,STRCAT(STRCAT(' ',CON2STR(中单3,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单3)>=0,0.63,0.45,0,STRCAT(STRCAT(' ',CON2STR(小单3,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单3)<0,0.62,0.45,0,STRCAT(STRCAT(' ',CON2STR(小单3,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单5)>=0,0.33,0.65,0,STRCAT(STRCAT(' ',CON2STR(特大单5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单5)<0,0.32,0.65,0,STRCAT(STRCAT(' ',CON2STR(特大单5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单5)>=0,0.43,0.65,0,STRCAT(STRCAT(' ',CON2STR(大单5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单5)<0,0.42,0.65,0,STRCAT(STRCAT(' ',CON2STR(大单5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单5)>=0,0.53,0.65,0,STRCAT(STRCAT(' ',CON2STR(中单5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单5)<0,0.52,0.65,0,STRCAT(STRCAT(' ',CON2STR(中单5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单5)>=0,0.63,0.65,0,STRCAT(STRCAT(' ',CON2STR(小单5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单5)<0,0.62,0.65,0,STRCAT(STRCAT(' ',CON2STR(小单5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单10)>=0,0.33,0.85,0,STRCAT(STRCAT(' ',CON2STR(特大单10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单10)<0,0.32,0.85,0,STRCAT(STRCAT(' ',CON2STR(特大单10,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单10)>=0,0.43,0.85,0,STRCAT(STRCAT(' ',CON2STR(大单10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单10)<0,0.42,0.85,0,STRCAT(STRCAT(' ',CON2STR(大单10,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单10)>=0,0.53,0.85,0,STRCAT(STRCAT(' ',CON2STR(中单10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单10)<0,0.52,0.85,0,STRCAT(STRCAT(' ',CON2STR(中单10,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单10)>=0,0.63,0.85,0,STRCAT(STRCAT(' ',CON2STR(小单10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单10)<0,0.62,0.85,0,STRCAT(STRCAT(' ',CON2STR(小单10,1)),' ')),COLOR00FF00;

主力力度3:=SUM(主力力度,3);
主动率3:=SUM(主动率,3) ;
BBD3:=SUM(BBD,3);
主力力度5:=SUM(主力力度,5);
主动率5:=SUM(主动率,5) ;
BBD5:=SUM(BBD,5);
主力力度10:=SUM(主力力度,10);
主动率10:=SUM(主动率,10) ;
BBD10:=SUM(BBD,10);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度3)>=0,0.73,0.45,0,STRCAT(STRCAT(' ',CON2STR(主力力度3,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度3)<0,0.72,0.45,0,STRCAT(STRCAT(' ',CON2STR(主力力度3,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度5)>=0,0.73,0.65,0,STRCAT(STRCAT(' ',CON2STR(主力力度5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度5)<0,0.72,0.65,0,STRCAT(STRCAT(' ',CON2STR(主力力度5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度10)>=0,0.73,0.85,0,STRCAT(STRCAT(' ',CON2STR(主力力度10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主力力度10)<0,0.72,0.85,0,STRCAT(STRCAT(' ',CON2STR(主力力度10,1)),' ')),COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率3)>=0,0.83,0.45,0,STRCAT(STRCAT(' ',CON2STR(主动率3,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率3)<0,0.82,0.45,0,STRCAT(STRCAT(' ',CON2STR(主动率3,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率5)>=0,0.83,0.65,0,STRCAT(STRCAT(' ',CON2STR(主动率5,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率5)<0,0.82,0.65,0,STRCAT(STRCAT(' ',CON2STR(主动率5,1)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率10)>=0,0.83,0.85,0,STRCAT(STRCAT(' ',CON2STR(主动率10,1)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(主动率10)<0,0.82,0.85,0,STRCAT(STRCAT(' ',CON2STR(主动率10,1)),' ')),COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD3)>=0,0.94,0.45,0,STRCAT(STRCAT(' ',CON2STR(BBD3,0)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD3)<0,0.93,0.45,0,STRCAT(STRCAT(' ',CON2STR(BBD3,0)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD5)>=0,0.94,0.65,0,STRCAT(STRCAT(' ',CON2STR(BBD5,0)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD5)<0,0.93,0.65,0,STRCAT(STRCAT(' ',CON2STR(BBD5,0)),' ')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD10)>=0,0.94,0.85,0,STRCAT(STRCAT(' ',CON2STR(BBD10,0)),' ')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(BBD10)<0,0.93,0.85,0,STRCAT(STRCAT(' ',CON2STR(BBD10,0)),' ')),COLOR00FF00;
DDX3:=SUM(DDX,3);
DDY3:=SUM(DDY,3);
DDZ3:=SUM(DDZ,3);
DDX5:=SUM(DDX,5);
DDY5:=SUM(DDY,5)
;DDZ5:=SUM(DDZ,5);
DDX10:=SUM(DDX,10);
DDY10:=SUM(DDY,10);
DDZ10:=SUM(DDZ,10);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(DDX3)>=0,0.03,0.45,0,STRCAT(STRCAT(' ',CON2STR(DDX3,2)),' ')),COLOR0000FF;

上一页  [1] [2] [3]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式