天数:=200;
下角度调整:=70;
上角度线开关:=1;
分割比率开关:=1;
DRAWTEXT_FIX(1,0.75,0.01,1,'江恩角度线在缺省值是200天周期内自动选择高、低起点,调整天数会选定新的起点,1×1线的终点要通过上、下角度值的调整确定,上升趋势中选择行情的关键最高点,下降趋势中选择行情的关键最低点。'),COLORYELLOW;
A111:=REF(H,3)=HHV(H,2*6+1);
C111:=BacKSET(B111,3+1);
A112:=REF(L,3)=LLV(L,2*6+1);
C112:=BACKSET(B112,3+1);
E111:=(REF(LLV(L,2*3),1)+REF(HHV(H,2*3),1))/2;
H111:=(D111 AND NOT(D112 AND E111>=E112)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
H112:=D111 AND NOT(D112 AND E111>=E112);
F111:=BACKSET(H111 AND COUNT(L111,X111)>0,LLVBARS(IF(L111,LOW,10000),X111));
I111:=BACKSET(G111,2);
L112:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
F112:=BACKSET(L112 AND COUNT(H112,X112)>0,HHVBARS(IF(H112,HIGH,0),X112));
I112:=BACKSET(G112,2);
IF(趋势线开关=1,DRAWLINE(LD,L,HD,H,0),DRAWNULL)LINETHICK1,DOTLINE,COLOR0000FF;
J111:=BACKSET(BARSTATUS=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1);
预测走势:=IF(趋势线开关=1,DRAWLINE(J112,IF(HD,H,L),BARSTATUS=2,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),DRAWNULL),COLORYELLOW,DOTLINE;
DRAWNUMBER(趋势线开关=1 AND HD,H,G),COLORLIRED,DRAWAbovE;
STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,2.5,0),COLOR454500;
STICKLINE(C<O,C,O,1.5,0),COLOR656500;
STICKLINE(C<O,C,O,0.5,0),COLOR858500;
角度:=100;
源码太长未完全复制完整...下载附件源码