股民大家庭

 找回密码
 立即注册

扫一扫,访问微社区

搜索
查看: 7926|回复: 1
打印 上一主题 下一主题

"宝塔"主图源码

[复制链接]
跳转到指定楼层
1
发表于 2008-06-28 13:38:53 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
close2:=C;h2:=H;l2:=L;o2:=O;
ma1:MA(C,5),colorff00ff;
ma2:MA(C,10),color00ff00;
ma3:MA(C,30),colorffff00;
B1:=REF(close2,1);B2:=REF(close2,2);
SS:=IF(close2>REF(close2,1) AND REF(close2,1)>=REF(close2,2),1,IF(C<REF(close2,1) AND REF(close2,1)<=REF(close2,2),-1,IF(close2>REF(close2,2) AND REF(close2,2)>REF(close2,1),2,IF(close2<REF(close2,2) AND REF(close2,2)<REF(close2,1),-2,0))));
SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));
mc:IF(REF(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLOR000000;
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,close2,6,0),COLOR0000ff;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,close2,6,0),COLOR00FF00;
STICKLINE(SS=2,B2,C,6,0),colorred;
STICKLINE(SS=-2,B2,C,6,0),COLOR00FF00;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,6,0),colorred;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,6,0),COLOR00FF00;
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < REF(CLOSE, 7))));
bb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF(CLOSE, 3) <= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) > REF(CLOSE, 6), 1,REF(CLOSE, 6) > REF(CLOSE, 7))));
DRAWICON(aa AND CLOSE>REF(OPEN,2),LOW,1);
DRAWICON(bb AND CLOSE<REF(CLOSE,2),HIGH*1.01,2);
DRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW*0.995,'三平底翻红'),color00ffff;
DRAWTEXT(bb AND CLOSE<REF(CLOSE,2),HIGH*1.01,'三平顶翻绿'),color00ff00;
{三平底翻红选股:IF(aa AND CLOSE>REF(OPEN,2),1,0);
三平顶翻绿选股:IF(bb AND CLOSE<REF(CLOSE,2),1,0);};



上一篇:WHK涨跌分离线
下一篇:庄家秘密
2
发表于 2008-08-10 04:00:23 | 只看该作者
很好!很强大!很和谐!和谐万岁!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

今日股市|网站地图|股民学校|手机版|小黑屋|股民大家庭 |网站地图24小时在线客服

GMT+8, 2025-1-25 09:00 , Processed in 7.638386 second(s), 27 queries , Gzip On.

Powered by 股民大家庭

© 2007-2019 www.gupiao168.com


快速回复 返回顶部 返回列表