筹码+K线指标 副图源码介绍
筹码+K线指标 副图源码
input:N(21,1,240);
主:=WINNER(CLOSE/1.1);
var1:=主-ref(主,1);
散:=1-WINNER(CLOSE*1.1);
var2:=ref(散,1)-散;
var3:=sum((var1+var2),2);
NN:EMA(sum( var3,N),N/2),Color00FFFF;
PARTLINE(NN,(NN>REF(NN,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK3,LAYER1;
STICKLINE(var3<0 and 散>0.009,0,var3,6,0 ),Color00FF00;
STICKLINE(var3<0 and 散<0.009,0,-var3,6,0 ),COLORRED;
STICKLINE(var3>0 and 散<0.23,0,var3,8,0 ),COLORRED;
STICKLINE(var3>0 and 散>0.23 and 散<0.6999,0,var3,6,1 ),ColorFF44FF;
STICKLINE(var3>0 and 散>0.7,0,-var3,6,0),Color00FFFF;
gd19789