波段主图
A:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2); B:EMA(REF(A,1),2); partline(B,B>=ref(B,1),rgb(255,0,0),B<ref(B,1),rgb(0,255,0)),linethick2; A1:=(3*c+l+o+h)/6; 快线:(20*A1+19*REF(A1,1)+18*REF(A1,2)+17*REF(A1,3)+16*REF(A1,4)+15*REF(A1,5)+14*REF(A1,6) +13*REF(A1,7)+12*REF(A1,8)+11*REF(A1,9)+10*REF(A1,10)+9*REF(A1,11)+8*REF(A1,12) +7*REF(A1,13)+6*REF(A1,14)+5*REF(A1,15)+4*REF(A1,16)+3*REF(A1,17)+2*REF(A1,18)+REF(A1,20))/210,Colorffaa00;
慢线:ema(快线,7),Color00ff00;
第一个通达信波段主图: A:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2); B:EMA(REF(A,1),2); IF(B>=REF(B,1),B,DRAWNULL),COLOR0000FF,LINETHICK2; IF(B<REF(B,1),B,DRAWNULL),COLOR00FF00,LINETHICK2; A1:=(3*C+L+O+H)/6; 快线:(20*A1+19*REF(A1,1)+18*REF(A1,2)+17*REF(A1,3)+16*REF(A1,4)+15*REF(A1,5)+14*REF(A1,6) +13*REF(A1,7)+12*REF(A1,8)+11*REF(A1,9)+10*REF(A1,10)+9*REF(A1,11)+8*REF(A1,12) +7*REF(A1,13)+6*REF(A1,14)+5*REF(A1,15)+4*REF(A1,16)+3*REF(A1,17)+2*REF(A1,18)+REF(A1,20))/210; 慢线:EMA(快线,7),COLOR00FF00; |
本文来自:创幻论坛 http://www.
DZH2的
主升指标
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13),COLORYELLOW,linethick2; VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); partline(VAR9,VAR9>=ref(VAR9,1),rgb(255,0,0),VAR9<ref(VAR9,1),rgb(0,255,0)),linethick2; DRAWTEXT(AA,12,'牛'),COLORYELLOW; 奔牛: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW; VERTLINE(AA,2),LINETHICK2,color0000FF; VERTLINE(CROSS(VAR9,奔牛) AND 奔牛<60,0),LINETHICK2,color0000FF;
TDX的,
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13),COLORMAGENTA,LINETHICK2; VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); IF(AA>0,50,0);
DRAWTEXT(AA,12,'牛'),COLORYELLOW; 奔牛: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW;
通达信的,个别函数通达信没有,也没用。 VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13),COLORGREEN,LINETHICK2; VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); DRAWTEXT(AA,12,'牛'),COLORYELLOW; 奔牛: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW; STICKLINE(CROSS(VAR9,奔牛) AND 奔牛<60,奔牛,0,2,0),LINETHICK2,COLORRED;
|
本文来自:创幻论坛 http://www. {改了个通达信的主图} A:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2); B:=EMA(REF(A,1),2); A1:=(3*C+L+O+H)/6; 快线:(20*A1+19*REF(A1,1)+18*REF(A1,2)+17*REF(A1,3)+16*REF(A1,4)+15*REF(A1,5)+14*REF(A1,6) +13*REF(A1,7)+12*REF(A1,8)+11*REF(A1,9)+10*REF(A1,10)+9*REF(A1,11)+8*REF(A1,12) +7*REF(A1,13)+6*REF(A1,14)+5*REF(A1,15)+4*REF(A1,16)+3*REF(A1,17)+2*REF(A1,18)+REF(A1,20))/210; 慢线:EMA(快线,7),COLOR00FF00; {主升指标} VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13),COLORYELLOW,LINETHICK2; VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); DRAWTEXT(AA,L,'牛'),COLORYELLOW; 奔牛:=EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW; STICKLINE(CROSS(VAR9,奔牛) AND 奔牛<60,C ,C ,123 ,0),COLORYELLOW; STICKLINE(AA ,C,C ,123 ,0),COLORYELLOW;
缩量挖坑,放量突破,无量回踩.
|