软件名称:[B]带买卖提示的行情[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2016-01-31 01:51:17
软件简介:
//定义的基本参数和条件
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : =EMA(DIFF,9);
MACD : =2*(DIFF-DEA);
攻击角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角5:=攻击角度;
角10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
中 : = MA(CLOSE,20);
上: 中 + 2*STD(CLOSE,20);
下: 中 - 2*STD(CLOSE,20);
中上轨:上-(上-下)/N;
中下轨:下+(上-下)/N;
三线上开花:=ma5>MA20 AND 角5>0 AND 角10>0 AND 角20>0;
三线下开花:=MA5<MA20 AND 角5<0 AND 角10<0 AND 角20<0;
趋势上涨:=IF(三线上开花,1,0);
趋势下跌:=IF(三线下开花,1,0);
震荡:=IF(趋势上涨=0 AND 趋势下跌=0,1,0);
//用不同颜色画不同行情的K线
STICKLINE(趋势上涨=1,H,L,0,0),colorred;
STICKLINE(趋势上涨=1 AND C>=O,C,O,10,1),colorred;
STICKLINE(趋势上涨=1 AND C<O,C,O,10,0),colorred;
STICKLINE(趋势下跌=1,H,L,0,0),RGB(0,100,255);
STICKLINE(趋势下跌=1 AND C>=O,C,O,10,1),RGB(0,100,255);
STICKLINE(趋势下跌=1 AND C<O,C,O,10,0),RGB(0,100,255);
STICKLINE(震荡=1,H,L,0,0),coloryellow;
STICKLINE(震荡=1 AND C>=O,C,O,10,1),coloryellow;
STICKLINE(震荡=1 AND C<O,C,O,10,0),coloryellow;
//界面中上方信息提示
DRAWNUMBER_FIX(ISLASTBAR,0.69,0.1,0,TOSTRING(角5,0)),colorcyan;
DRAWTEXT_FIX(ISLASTBAR,0.57,0.1,0,"最新上攻角度 -->"),colorred;
DRAWTEXT_FIX(C>0,0.57,0.05,0,'<使用说明> -->'),colorred;
DRAWTEXT_FIX(C>0,0.64,0.05,0,'红色上涨,蓝色下跌,黄s震荡'),colorcyan;
//震荡行情买卖点提示
//均线非多空排列震荡时高抛低吸提示
高:=MAX(O,C);
低:=MIN(O,C);
波动:=(高-低)/低*100;
十日平均波动:MA(波动,10);
跳空高开:=O>REF(C,1) AND (O-REF(C,1))/REF(C,1)*100>十日平均波动*0.5;
跳空低开:=O<REF(C,1) AND (REF(C,1)-O)/REF(C,1)*100>十日平均波动*0.5;
大阴:=C<O AND (O-C)/C*100>十日平均波动*2.5;
大阳:=C>O AND (C-O)/O*100>十日平均波动*2.5;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
震荡:=三线上开花=0 AND 三线下开花=0;
低吸:=L<中下轨 AND L<=MA5 AND 震荡 AND 大阴=0 AND 跳空低开=0;
高抛:=H>中上轨 AND H>=MA5 AND 震荡 AND 大阳=0 AND 跳空高开=0;
DRAWICON(低吸,L,1);
DRAWICON(高抛,H,2);
//K线小头部或底部买卖提示 www.70822.com
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K=SMA(RSV,3,1);
D=SMA(K,3,1);
J=3*K-2*D;
新高收阴:=C<REF(C,1) AND H>REF(H,1) AND H<=上 AND 高>MA20;
新低收阳:=C>REF(C,1) AND L<REF(L,1) AND L>=下 AND 低<MA20;
J顶:=J<REF(J,1) AND REF(J,1)>REF(J,2) AND H<=上 AND 高>MA20;
J底:=J>REF(J,1) AND REF(J,1)<REF(J,2) AND L>=下 AND 低<MA20;
抛0:=REF(新高收阴,1) OR REF(J顶,1);
抛:=抛0 AND H>=MA5 AND 跳空高开=0;
吸0:=REF(新低收阳,1) OR REF(J底,1);
吸:=吸0 AND L<=MA5 AND 跳空低开=0;
DRAWTEXT(抛,MAX(H,上)*1.01,"S"),colorgreen;
DRAWTEXT(吸,MIN(L,下)*0.99,"B"),colorred;
[url=http://www.70822.com/soft/sort013/sort036/down-93979.html]带买卖提示的行情[/url]