马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
源码如下:-
-
- F:=100*(C-REF(C,1))/REF(C,1); <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
- 即日:=IF(C<REF(O,1) AND F<0,1,0);
- S1:=即日;
- 前日:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
- S2:=前日;
- A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
- A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
- A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
- DRAWTEXT(A3=1,4.8,'◎全仓◎'),colormagenta;
- 量: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG
- (3,6),2),colormagenta,LINETHICK2;
- DRAWTEXT(量=1,0.8,'◎买进◎'),colormagenta;
- 部撤: ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG
- (3,10),2),coloryellow,LINETHICK2;
- DRAWTEXT(部撤=1,1.3,'◇清仓◇'),coloryellow;
- VAR3:=PEAKBARS(2,15,1)<10;
- VAR5:=IF(VAR3=1,2,0);
- 顶:= IF(VAR5=2,2,0);
- 全撤:IF(顶>REF(顶,1),2,0),colorgreen,LINETHICK2;
- DRAWTEXT(全撤=2,2,'◇减仓◇'),colorgreen;
复制代码
|