软件名称:[B]宝塔线选股(源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2010-05-09 07:05:57
软件简介:
一直在寻觅宝塔线三平底翻红和三平顶翻绿选股,受论坛上股友的指标启发,终算弄了一个,勉强凑合,有些地方还不尽人意,希望高手帮忙优化完善。谢谢!
指标源码:
{宝塔线选股}
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))));
fh:=AA AND CLOSE>REF(OPEN,2);
fl:=BB AND CLOSE<REF(CLOSE,2);
翻红:IF(fh,50,0),colorred;
翻绿:IF(fl,50,100),colorgreen;
[url=http://www.70822.com/soft/sort013/sort03/down-19928.html]宝塔线选股(源码)[/url]