通达信主图⊙猎庄3号(主图 修正源码)
B:EMA(C,2),COLOR000000;
S:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY1:=CROSS(B,S);
SEL:=CROSS(S,B);
STICKLINE(B>=S,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(B>=S,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(B>=S,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(B>=S,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(B>=S,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(B<S,C,O,1,O),COLOREEEE00;
STICKLINE(B<S,C,O,2,O),COLORDDDD00;
STICKLINE(B<S,C,O,3,O),COLOREEEE00;
STICKLINE(B<S,C,O,4.5,O),COLORAAAA00;
STICKLINE(B<S,L,H,0.1,O),COLORFFFF00;
STICKLINE(CROSS(B,S) OR CROSS(S,B),OPEN,CLOSE,3.5,0),COLORYELLOW;
XJ:(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,,POINTDOT,COLORRED;
GAO:=HHV(H,0)-LLV(L,0);
TIAOJIE:=IF(GAO>=1,IF(GAO>=5,2,1),0.618);
ZDX1:XJ+(SMA(MAX(XJ-REF(XJ,1),0),5,1)/SMA(ABS(XJ-REF(XJ,1)),5,1)*TIAOJIE-TIAOJIE*0.5);
ZDX2:=XJ+(SMA(MAX(XJ-REF(XJ,1),0),5,1)/SMA(ABS(XJ-REF(XJ,1)),5,1)*100-50);
命运线:IF(C>100,ZDX2,ZDX1),LINETHICK1,COLORGREEN;
多空线:EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55),COLORYELLOW;
- 上一篇公式:通达信富力趋势飘带{副图源码贴图}
- 下一篇公式:通达信副图∨换手和背离副图修正源码贴图)