通达信红色牛线副图源码 说明
说明:如图所示:红线持股,绿色持币,但特别要注意一点,当蓝线下面发出绿色方块的时候就是阶段地部的时候
以次类推,当顶部发出红色方块的时侯,就是阶段性头部,红色方块是比逃的信号.这个指标的特殊之处就是抄
底逃顶快一步,大家用了就知道.
80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2;
{
50,COLORRED;
FILLRGN(1,20,80),COLOR222222;
FILLRGN(1,90,100),COLOR000068;
FILLRGN(1,79,90),COLOR663366;
FILLRGN(1,10,20),COLOR666600;
FILLRGN(1, 0,10),COLOR663300;
}
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
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),LINETHICK2;
?£êD??:A+100,LINETHICK2,COLORMAGENTA;
?ì?ú??:B+100,COLORBLACK;
?D?ú??:D+100,COLORBLACK,LINETHICK1;
{???¥:(?£êD??>85 OR REF(?£êD??,1)>85 ) AND (CROSS(?D?ú??,?ì?ú??) OR CROSS(REF(?D?ú??,1),REF(?ì?ú??,1)) )AND CROSS(?£êD??,?ì?ú??);
}
???¥:(REF(?D?ú??,1)>85 AND REF(?ì?ú??,1)>85 AND REF(?£êD??,1)>65) AND CROSS(?£êD??,?ì?ú??) ;
?¥2???óò:(?D?ú??<REF(?D?ú??,1) AND REF(?D?ú??,1)>80) AND (REF(?ì?ú??,1)>95 OR REF(?ì?ú??,2)>95 ) AND ?£êD??>60 AND ?ì?ú??<83.5
AND ?ì?ú??<?D?ú?? AND ?ì?ú??<?£êD??+4;
?¥2?:=FILTER(?¥2???óò,4);
{DRAWICON( ???¥, 108, 2 );}
μ×2???óò:(?£êD??<12 AND ?D?ú??<8 AND (?ì?ú??<7.2 OR REF(?ì?ú??,1)<5) AND (?D?ú??>REF(?D?ú??,1) OR ?ì?ú??>REF(?ì?ú??,1)))
OR (?£êD??<8 AND ?D?ú??<7 AND ?ì?ú??<15 AND ?ì?ú??>REF(?ì?ú??,1)) OR (?£êD??<10 AND ?D?ú??<7 AND ?ì?ú??<1) ;
STICKLINE( {???¥ OR} ?¥2?,99,103,10,1 ),COLORRED,LINETHICK2;
STICKLINE( μ×2???óò,-4,0,22,0 ),COLORGREEN;
μí???e2?:?£êD??<15 AND REF(?£êD??,1)<15 AND ?D?ú??<18 AND ?ì?ú??>REF(?ì?ú??,1) AND CROSS(?ì?ú??,?£êD??) AND ?ì?ú??>?D?ú??
AND (REF(?ì?ú??,1)<5 OR REF(?ì?ú??,2)<5 ) AND (?D?ú??>=?£êD?? OR REF( ?ì?ú??,1)<1 );
STICKLINE( μí???e2?,0,5,11,0 ),COLORRED;
?֐???:=
3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1),3,1),COLORFFFFFF;
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,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/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.333*VAR12,2 );
VAR13,COLORRED;
STICKLINE(VAR12-VAR13 >0,VAR12 ,VAR13 ,1,0 ),COLORRED;
STICKLINE(VAR12-VAR13 <0,VAR12 ,VAR13 ,1 ,0),COLORAAFF00;
Q1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);
A5:=Q1 AND A2>0.5 AND A3>0.3 AND A4;
A6:=COUNT(A5,20)=1;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
2033188113.png
|