飞狐号称百万副图指标
源码
80,colorred;
20;
var1:=hhv(high,9)-llv(low,9);
var2:=hhv(high,9)-close;
var3:=close-llv(low,9);
var4:=var2/var1*1000-70;
var5:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var6:=(2*close+high+low)/4;
var7:=sma(var3/var1*100,3,1);
var8:=llv(low,34);
var9:=sma(var7,3,1)-sma(var4,9,1);
var10:=if(var9>100,var9-100,0);
var11:=hhv(high,34);
var12:=ema((var6-var8)/(var11-var8)*100,13);
var13:=ema(0.667*ref(var12,1)+0.33*var12,2);
var13,colorred;
stickline(var12-var13>0,var12,var13,8,0),color00ff0f;
stickline(var12-var13<0,var12,var13,8,0),colorred;
差值:(var12-var13)*5,pointdot,color33cc00;
stickline(差值>=0,0,差值*1,4,0),coloryellow;
stickline(差值>=0,0,差值*0.800,4,0),coloryellow;
stickline(差值>=0,0,差值*0.600,4,0),colorffbb99;
stickline(差值>=0,0,差值*0.400,4,0),colorffcccc;
stickline(差值>=0,0,差值*0.200,4,0),colorffdddd;
stickline(差值<0,0,差值*1,4,0),colorgreen;
stickline(差值<0,0,差值*0.800,4,0),color33cc00;
stickline(差值<0,0,差值*0.600,4,0),color339900;
stickline(差值<0,0,差值*0.400,4,0),color337700;
stickline(差值<0,0,差值*0.200,4,0),color005500;