这里发的指标均是通达信电脑版软件指标公式,手机软件有的可能不通用,但大部分通用,具体没测试过。
指标说明:
副图指标,出现底部柱是阶段性低点可抄底
指标例图:
指标源:
VAR1:=(EMA(C,5)-EMA(C,26))*100;
IF(VAR1>=0,VAR1*0.8,0),COLOREEEEFF;
IF(VAR1>=0,VAR1*0.7,0),COLORDDDDFF;
IF(VAR1>=0,VAR1*0.6,0),COLORCCCCFF;
IF(VAR1>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR1>=0,VAR1*0.4,0),COLORAAAAFF;
IF(VAR1>=0,VAR1*0.3,0),COLOR9999FF;
IF(VAR1>=0,VAR1*0.2,0),COLOR8888FF;
IF(VAR1>=0,VAR1*0.1,0),COLOR7777FF;
IF(VAR1<0,VAR1*0.8,0),COLORFFB0B0;
IF(VAR1<0,VAR1*0.7,0),COLORFF9D9D;
IF(VAR1<0,VAR1*0.6,0),COLORFF8E8E;
IF(VAR1<0,VAR1*0.5,0),COLORFF7D7D;
IF(VAR1<0,VAR1*0.4,0),COLORFF6A6A;
IF(VAR1<0,VAR1*0.3,0),COLORFF4D4D;
IF(VAR1<0,VAR1*0.2,0),COLORFF2D2D;
IF(VAR1<0,VAR1*0.1,0),COLORFF0000;
IF(VAR1>=0,VAR1*0.8,0),COLOREEEEFF;
IF(VAR1>=0,VAR1*0.7,0),COLORDDDDFF;
IF(VAR1>=0,VAR1*0.6,0),COLORCCCCFF;
IF(VAR1>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR1>=0,VAR1*0.4,0),COLORAAAAFF;
IF(VAR1>=0,VAR1*0.3,0),COLOR9999FF;
IF(VAR1>=0,VAR1*0.2,0),COLOR8888FF;
IF(VAR1>=0,VAR1*0.1,0),COLOR7777FF;
IF(VAR1<0,VAR1*0.8,0),COLORFFB0B0;
IF(VAR1<0,VAR1*0.7,0),COLORFF9D9D;
IF(VAR1<0,VAR1*0.6,0),COLORFF8E8E;
IF(VAR1<0,VAR1*0.5,0),COLORFF7D7D;
IF(VAR1<0,VAR1*0.4,0),COLORFF6A6A;
IF(VAR1<0,VAR1*0.3,0),COLORFF4D4D;
IF(VAR1<0,VAR1*0.2,0),COLORFF2D2D;
IF(VAR1<0,VAR1*0.1,0),COLORFF0000;
0,COLORFFA2AF;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长:=A+100;
短:=B+100;
中:=D+100;
底部区域:=(长<12 AND 中<8 AND (短<7.2 OR REF(短,1)<5) AND (中>REF(中,1) OR 短>REF(短,1)))
OR (长<8 AND 中<7 AND 短<15 AND 短>REF(短,1)) OR (长<10 AND 中<7 AND 短<1) ;
低位金叉:=长<15 AND REF(长,1)<15 AND 中<18 AND 短>REF(短,1) AND CROSS(短,长) AND 短>中
AND (REF(短,1)<5 OR REF(短,2)<5 ) AND (中>=长 OR REF( 短,1)<1 );
STICKLINE(FILTER(底部区域,25)=1,20,0,3.6,0 ),COLOR550055;
STICKLINE(FILTER(底部区域,25)=1,20,0,2.8,0 ),COLOR770077;
STICKLINE(FILTER(底部区域,25)=1,20,0,1.7,0 ),COLOR990099;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.9,0 ),COLORBB00BB;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.5,0 ),COLORDD00DD;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.1,0 ),COLORFF00FF;
STICKLINE(FILTER(低位金叉,20)=1,35,0,3.6,0 ),COLOR003333;
STICKLINE(FILTER(低位金叉,20)=1,35,0,2.8,0 ),COLOR005555;
STICKLINE(FILTER(低位金叉,20)=1,35,0,1.7,0 ),COLOR007777;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.9,0 ),COLOR009999;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.5,0 ),COLOR00BBBB;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.1,0 ),COLOR00DDDD;
DRAWTEXT(FILTER(底部区域,25)=1,19,'.底部区域'),COLORRED,LINETHICK6;
DRAWTEXT(FILTER(低位金叉,20)=1,33,'.低位金叉'),COLORWHITE ,LINETHICK6;
|