主升浪黄金线(源码 主图 同花顺)
两线上零轴开启主升浪,零轴上死叉调整,金叉主升浪拉升
红线: EMA(CLOSE,6) - EMA(CLOSE,10),LINETHICK2,colormagenta;
绿线 : EMA(红线,5),LINETHICK2,colorgreen;
开始上涨:0;
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);
控盘:=EMA(CLOSE,6) - EMA(CLOSE,10);
STICKLINE(控盘 0,控盘,0,5,0),COLORFFAA00;
STICKLINE(控盘 REF(控盘,3) AND 控盘 0,控盘,0,8,0),colorred;
STICKLINE(控盘 REF(控盘,3) AND 控盘 0,控盘,0,5,0),COLOR008800;
BT2:=CROSS(红线,绿线) AND 红线
买:IF((CROSS(红线,绿线) AND 红线 -10),1,0),LINETHICK1,COLORC87800;