同花顺百万银河指标
源码
VAR6:=(2*C+H+L)/4;
VAR8:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6- VAR8)/(VAR11-VAR8)*100,13 );
VAR13:=EMA(0.667*REF(VAR12 ,1) +0.333*VAR12,2 );
VAR13,colorred;
STICKLINE(VAR12-VAR13 >0,VAR12 ,VAR13 ,8 ,0 ),colorred;
STICKLINE(VAR12-VAR13 <0,VAR12 ,VAR13 ,8 ,0),colorgreen;
差值:=(VAR12-VAR13)*5;
STICKLINE( 差值>=0 ,0 ,差值 ,4 ,0 ),coloryellow;
Var101:=SMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3,1);
Var102:=IF(Var101<20,Var101*3.5,0);
STICKLINE(Var102>20,Var102*1.04,0) , colorred,linethick2;
STICKLINE(Var102>20,Var102*1.06,0),coloryellow,linethick2 ;
STICKLINE(Var102>20,Var102*1.08,0), colorgreen,linethick2;
STICKLINE(Var102>20,Var102*1.01,0),
STICKLINE(Var102>=0,0,Var102*1,4,0), colorred ;
STICKLINE(Var102>=0,0,Var102*0.8,4,0), COLOR0000ff ;
STICKLINE(Var102>=0,0,Var102*0.6,4,0), COLOR0066ff ;
STICKLINE(Var102>=0,0,Var102*0.4,4,0), cOLOR0099ff ;
STICKLINE(Var102>=0,0,Var102*0.2,4,0), coloryellow;