同花顺顶底MA副图指标
-
相关简介:同花顺顶底MA副图指标 源码 DRAWGBK(V1,STRIP(RGB(60,100,255),RGB(180,180,255),2)); p:=5;ll:=21;lh:=80; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),p,1)/SMA(ABS(CLOSE-LC),p,1)*100; 买入:CROSS(RSI,LL),Color6500CA,Linethick2; 卖出:CROSS(LH,RSI),Linethick2,ColorFFFFFF; VA
同花顺顶底MA副图指标
源码
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),2));
p:=5;ll:=21;lh:=80;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),p,1)/SMA(ABS(CLOSE-LC),p,1)*100;
买入:CROSS(RSI,LL),Color6500CA,Linethick2;
卖出:CROSS(LH,RSI),Linethick2,ColorFFFFFF;
VAR1 := EMA(CLOSE,4) - EMA(CLOSE,21);
X:=VAR1;
多方:X,Color3E3EFF;
MX:=EMA(X,3);
FILLRGN(多方,REF(多方,1),多方>REF(多方,1),RGB(158,62,255),多方<REF(多方,1),RGB(0,255,0));
X1:=-VAR1;
空方:X1;
MX1:=EMA(X1,3);
FILLRGN(空方,REF(空方,1),空方>REF(空方,1),RGB(255,255,0),空方<REF(空方,1),RGB(0,0,255));
0,COLORFFA2AF;