同花顺快炒副图指标 源码介绍
同花顺快炒副图指标 源码
快炒指标,正量线上穿轴线,买。顶线为警线。
QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),
IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),
(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),
IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));
HSL:=((XVL / 20) / 1.15);
VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);
TYP := (HIGH + LOW + CLOSE)/3;
V1=SUM(IF(TYP>REF(TYP,3),TYP*HSL,3),3)/SUM(IF(TYP<REF(TYP,3),TYP*VARTIME,3),3);
HSL:100-(100/(1+V1)),colorwhite;
正量:EMA(HSL,5),Color0000FF,linethick1;
轴线: MA(正量,2),ColorFFFFFF,linethick1;
STICKLINE(正量>轴线,正量,轴线,3,0),coloryellow;
W:=CROSS(正量,轴线)*10;
STICKLINE(W=10,95,80,3),colorgreen;
顶:95,Color00FF00,linethick1;
gd47711