以下是短线买卖(源码 副图 同花顺 贴图)金叉买死叉卖
短线买卖(源码 副图 同花顺 贴图)金叉买死叉卖
N:=5;M1:=3;M2:=3;
ZG:=MA(HIGH,5);
ZD:=MA(LOW,5);
YG:=MA(HIGH,5);
YD:=MA(LOW,12);
ZJ:=MA(CLOSE,5);
YJ:=MA(CLOSE,12);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
涨:SMA(RSV,M1,1),LINETHICK2;
心:SMA(涨,M2,1),LINETHICK2;
跌:3*心-2*涨,LINETHICK2;
MID:=MA(涨,10);
CMSS:=1.03*SQRT(MA(POW((涨-MID),2),10));
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*400;
DEA:=EMA(DIFF,9),COLORFFFF00;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
控盘:=SMA(RSV,M1,1),LINETHICK1;;
STICKLINE(控盘<0,控盘,0,3,0),colorFFAA00;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3,0),colorred;
STICKLINE(控盘0,控盘,0,3,1),colorgreen;
BT2:=CROSS(涨,跌) AND 涨<-10;
买:IF((CROSS(涨,跌) AND 涨<-10),1,0),LINETHICK1,COLORC87800;