同花顺内空副图指标
源码
N:=5;
收盘价:CLOSE/MA(CLOSE,10), POINTDOT;
最高价:HIGH/MA(HIGH,10), POINTDOT;
最低价:LOW/MA(LOW,10), POINTDOT;
开盘价:OPEN/MA(OPEN,10), POINTDOT;
STICKLINE(收盘价 开盘价,最高价,最低价,0.5,1),COLOR00FFFF;
STICKLINE(收盘价 开盘价,最高价,最低价,0.5,0),colorblue;
STICKLINE(收盘价 开盘价,收盘价,开盘价,5,1),COLOR00FFFF;
STICKLINE(收盘价 开盘价,收盘价,开盘价,5,0),colorblue;
MA(收盘价,20),colorgreen;
Var0:=FORCAST(收盘价,10);
上轨: FORCAST(Var0*1.045,10), colorred;
下轨: FORCAST(Var0*0.955,10), colorblue;
Var1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE =OPEN*1.04;
Var2:=CLOSE (REF(HIGH,1)+REF(LOW,1))/2;
买入:STICKLINE(Var1 AND Var2,1,0.8,0.8,1),colorred;
Var3:=REF(CLOSE,1);
Var4:=SMA(MAX(CLOSE-Var3,0),6,1)/SMA(ABS(CLOSE-Var3),6,1)*100;
卖出:STICKLINE(CROSS(80,Var4),1,1.2,0.8,1),STICK,colorblue;
Var11:=0;
Var12:=EMA(CLOSE,50)-EMA(CLOSE,100);
Var13:=EMA(Var12,60);
Var14:=(Var12-Var13)*2;
长线测顶1: IF(Var14 0.3,POW(Var14,3)+POW(Var14,2),0)+0.8;
长线测顶2: EMA(长线测顶1,3);
Z: 0.8;