同花顺钱龙短线副图源码
-
相关简介:N:=5; VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5); VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MY: VAR2*(1+VAR1); SHT: MY, COLORSTICK; SHTMA: MA(SHT,N); 建仓:IF(MY0,MY,0),colormagenta,LINETHICK2; 加仓:IF(MY0,0,MY),colorred,LINETHICK2; 白线破仓:IF(MYSHTMA,MY,SHT
-
文章来源:股海网作者:股海网发布时间:2017-10-09浏览次数:
N:=5;
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY: VAR2*(1+VAR1);
SHT: MY, COLORSTICK;
SHTMA: MA(SHT,N);
建仓:IF(MY<0,MY,0),colormagenta,LINETHICK2;
加仓:IF(MY<0,0,MY),colorred,LINETHICK2;
白线破仓:IF(MY<SHTMA,MY,SHTMA),colorblue,LINETHICK2;
趋势强弱:IF(MY>SHTMA,SHTMA,SHTMA),colorwhite,LINETHICK1;
IF(MY<0,MY,DRAWNULL),colorgreen;
STICKLINE(((MY<REF(MY,1)) AND (MY>0)),0,SHT,1,0),colormagenta,LINETHICK2;
STICKLINE(((MY>REF(MY,1)) AND (MY<0)),0,SHT,1,0),colorblue,LINETHICK2;