软件名称:[B]K线中的八卦数(源码、贴图、用法)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-09-24 04:37:26
软件简介:
{K线八卦显示 插入任意主图指标均可}
{M1:5;M2:10;M3:20;M4:60}
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
Z:=ISLASTBAR;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98*REF(H,1),'①乾/天:阳极,防变'),COLORFF00FF;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'②兑/泽:阳减,调整'),COLORFFFF00;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98*REF(H,1),'③离/火:阳光,关注'),COLOR00FFFF;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'④震/雷:继阴,空仓'),COLORFF0000;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98*REF(H,1),'⑤巽/风:继阳,持股'),COLORFF00FF;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'⑥坎/水:阴风,看跌'),COLORFF0000;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98*REF(H,1),'⑦艮/山:阴减,反弹'),COLOR00FFFF;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'⑧坤/地:阴极,待转'),COLORFF0000;
如果你的软件有定位显示函数,则可用下列代码:
Z:=ISLASTBAR;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98,0.2,1,'①乾/天:阳极,防变'),COLORFF00FF;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98,0.2,1,'②兑/泽:阳减,调整'),COLORFFFF00;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98,0.2,1,'③离/火:阳光,关注'),COLOR00FFFF;
DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98,0.2,1,'④震/雷:继阴,空仓'),COLORFF0000;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98,0.2,1,'⑤巽/风:继阳,持股'),COLORFF00FF;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98,0.2,1,'⑥坎/水:阴风,看跌'),COLORFF0000;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98,0.2,1,'⑦艮/山:阴减,反弹'),COLOR00FFFF;
DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98,0.2,1,'⑧坤/地:阴极,待转'),COLORFF0000
[url=http://www.70822.com/soft/sort013/sort05/down-39150.html]K线中的八卦数(源码、贴图、用法)[/url]