牛熊搏击(简单实用附源码)自编
2011-03-02 19:02:00来源:本站整理浏览:78
a:2;
蓝线:=HHV(high , 5);
红线:=LLV(L , 5);
卖出:=IF(C<蓝线*0.96,0.6,0);
买进:=IF(C>红线*1.04,0.5,0);
牛胜利:if(卖出=0 and 买进=0.5,1,0),STICK,COLOR0000CC,LINETHICK7;
熊胜利:if(买进=0 and 卖出=0.6,1,0),STICK,colorblue,LINETHICK7;
平分秋色:if(买进=0.5 and 卖出=0.6,0.68,0),STICK,coloryellow,LINETHICK7;
相安无事:if(买进=0 and 卖出=0,0.68,0),STICK,colorCYAN,LINETHICK7;
和打架的道理差不多,适合初学者简单判断
- 上一篇公式:自用蛟龙出海源码
- 下一篇公式:回归斜率指标—(有效期14个月)