同花顺钱龙短线副图指标 源码介绍
同花顺钱龙短线副图指标 源码
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;
gd47832