乾坤操盘线(五彩K线源码)
大单净差BBD:=BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1;
dd:=大单净差BBD;
DIFF:=EMA(大单净差BBD,6) - EMA(大单净差BBD,13),coloryellow;
DIFF2:=EMA(大单净差BBD,9) - EMA(大单净差BBD,20),coloryellow;
IF(diff>0 AND diff2>0 AND C*1.045[0 AND REF(diff2,1)>0)]
RETURN ("buy");
IF(diff>0 AND diff2>0 AND C*1.05[0 AND REF(diff2,1)>0)]
RETURN ("buy");
IF(diff>0 AND diff2>0)
RETURN ("colorRED");
IF(diff>0 OR diff2>0)
RETURN ("colorpink");
IF(diff<0 AND diff2<0)
RETURN ("colorgreen");
|