源码
{乘风破浪 通达信、大智慧 }
N:=13;月:=8;
SUM( MA(CLOSE,10),9)/10.110,POINTDOT;
SUM( MA(CLOSE,10),9)/11.114,POINTDOT;
SUM( MA(CLOSE,10),9)/7.883,POINTDOT;
SUM( MA(CLOSE,10),9)/7.007,POINTDOT;
VAR1:=LLV(LOW,144);
1*VAR1,COLORRED;
1.191*VAR1,CROSSDOT;
1.382*VAR1,CROSSDOT;
1.618*VAR1,CROSSDOT;
1.809*VAR1,COLORRED;
E1:DRAWLINE(YEAR>=2006 AND MONTH >=月 AND C=LLV(C,N),LOW,C=LLV(C,N/2) AND C>LLV(C,2*N/3),LLV(LOW,3),1),COLOR00FFFF,LINETHICK1;
E2:DRAWLINE(YEAR>=2006 AND MONTH >=月 AND C=HHV(C,N),HIGH,C=HHV(C,N/2) AND C<HHV(C,2*N/3),HHV(HIGH,3),1),COLOR00FFFF,LINETHICK1;
VA1:=LOW<=LLV(LOW,N);
V2:=REF(VA1,1)>0 AND VA1<1;
VA12:=LOW<=LLV(LOW,2*N/3);
V3:=REF(VA12,1)>0 AND VA1<1;
E3:DRAWLINE(YEAR>=2006 AND MONTH >=月 AND V2,REF( LOW,1),V3,REF( LOW,1),1),COLORRED,LINETHICK1;
VA11:=HIGH>=HHV(HIGH,N);
V22:=REF(VA11,1)>0 AND VA11<1;
VA122:=HIGH>=HHV(HIGH,2*N/3);
V33:=REF(VA122,1)>0 AND VA11<1;
E33:DRAWLINE(YEAR>=2006 AND MONTH >=月 AND V22,REF( HIGH,1),V33,REF( HIGH,1),1),COLORRED,LINETHICK1;
STICKLINE(C>=O,O,C,3,0 ),COLOR0000FF;
STICKLINE(O>C,C,O,3,0 ),COLORFFFF00;
STICKLINE(C>0,C,O,0,0 ),COLORFFFFFF;