以下是同花顺极品波段副图源码

自己用的一个指标,源码也附上了,大家看看好不好用。

 低位:10,POINTDOT,Linethick2,CulorFFFFFF;
高位:85,POINTDOT,Linethick2,colorgreen;
 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 ,10 ,0 ),coloryellow;
 STICKLINE( 差值>=0 ,0 ,差值*0.8 ,10 ,0),CulorBF00BF;
 STICKLINE( 差值>=0 ,0 ,差值*0.6 ,6 ,0),CulorD500D5;
 STICKLINE( 差值>=0 ,0 ,差值*0.4 ,4 ,0),CulorF200F2;
 STICKLINE( 差值>=0 ,0 ,差值*0.2 ,2 ,0),CulorFF1AFF;
 STICKLINE( 差值<=0 ,0 ,差值*1 ,10 , 0),colorgreen;
 STICKLINE( 差值<=0 ,0 ,差值*0.8 ,10 ,0),CulorC3C3C3;
 STICKLINE( 差值<=0 ,0 ,差值*0.6 ,6 ,0),CulorDDDDDD;
 STICKLINE( 差值<=0 ,0 ,差值*0.4 ,4 ,0),CulorFFFFFF;
 STICKLINE( 差值<=0 ,0 ,差值*0.2 ,2 ,0),CulorFFFFFF;
随行线:=(CLOSE-EMA(CLOSE,40))/MA(CLOSE,40)*100,Culor1A1AFF,Linethick2;
 PARTLINE(随行线,随行线>REF(随行线,1),RGB(250,30,30),随行线<=REF(随行线,1),RGB(30,250,30)),LINETHICK3;
 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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。