以下是同花顺极品波副图指标
同花顺极品波副图指标
源码
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-C;
VAR3:=C-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(C-LLV(LOW,44))/(HHV(HIGH,44)-LLV(LOW,44))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,21);
VAR9:=SMA(VAR7 ,3 ,1 )-SMA(VAR4 ,9 ,1);
VAR10:=IF(VAR9>100 ,VAR9-100 ,0 );
VAR11:=HHV(HIGH,21);
VAR12:=EMA((VAR6- VAR8)/(VAR11-VAR8)*100,9 );
VAR13:=EMA(0.667*REF(VAR12 ,1) +0.333*VAR12,2 );
波波线:VAR13,CulorFFFFFF;
资金:=EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),3), colorred,LINETHICK2;
PARTLINE(资金,资金>REF(资金,1),RGB(250,10,10),资金<=REF(资金,1),RGB(10,250,250)),LINETHICK3;
STICKLINE(资金>0,资金 ,4 ,0 ),Culor0000CA;
STICKLINE(资金>0,资金,2 ,0 ),Culor0000F7;
STICKLINE(资金>0,资金,1 ,0 ),Culor2626FF;
STICKLINE(资金<=REF(资金,1),资金,8 ,0),CulorD2D200;
STICKLINE(资金<=REF(资金,1),资金 ,6 ,0),CulorF2F200;
STICKLINE(资金<=REF(资金,1),资金 ,4 ,0),CulorFFFF28;
差值:(VAR12-VAR13)*5,POINTDOT,COLOR33CC00;
STICKLINE( 差值>=0 ,0 ,差值*1 ,8 ,0 ),coloryellow;
STICKLINE( 差值>=0 ,0 ,差值*0.8 ,6 ,0),CulorBF00BF;
STICKLINE( 差值>=0 ,0 ,差值*0.6 ,4 ,0),CulorD500D5;
STICKLINE( 差值>=0 ,0 ,差值*0.4 ,4 ,0),CulorF200F2;
STICKLINE( 差值>=0 ,0 ,差值*0.2 ,4 ,0),CulorFF1AFF;
STICKLINE( 差值<=0 ,0 ,差值*1 ,8 , 0),colorgreen;
STICKLINE( 差值<=0 ,0 ,差值*0.8 ,6 ,0),CulorC3C3C3;
STICKLINE( 差值<=0 ,0 ,差值*0.6 ,4 ,0),CulorDDDDDD;
STICKLINE( 差值<=0 ,0 ,差值*0.4 ,4 ,0),CulorFFFFFF;
STICKLINE( 差值<=0 ,0 ,差值*0.2 ,4 ,0),CulorFFFFFF;
随行线:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,Culor1EFF1E;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),21,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,9);
VAR4:=LLV(LOW,3);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),4);
VAR6:=VAR5>REF(VAR5,1);
短线买:IF(COUNT(VAR6,4)=3 AND VAR6=0,10,0)*9.5,Culor0BFFFF,LINETHICK1;
评论(0)