分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]多空预警(短期强弱、短线反弹)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-02-25 03:55:02
软件简介:

多空预警(短期强弱、短线反弹)-指标公式源码

CHECK1:=-1;
VAR1:=IF(CHECK1<0,(HIGH+LOW+CLOSE)/3,0);
VAR2:=IF(CHECK1<0,(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14)),0);
VAR3:=IF(CHECK1<0,(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70)),0);
VAR4:=IF(CHECK1<0,IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,10,0),0);
VAR5:=IF(CHECK1<0,IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-10,VAR4),0);
VAR6:=IF(CHECK1<0,(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,0);
VAR7:=IF(CHECK1<0,100-ABS(VAR6),0);
VAR8:=IF(CHECK1<0,IF(VAR7<90,VAR7,100),0);
PJX:=IF(CHECK1<0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0);
短期强弱:PJX,COLORYELLOW;
VAR1A:=IF(PJX>0,PJX,0);
VAR1B:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,VAR5))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR8<100;
VAR1D:=VAR1A<48 AND VAR1B<60 AND VAR8<100;
DRAWTEXT(VAR1D AND COUNT(VAR1D,30)=1,80,'短线反弹'),COLORRED;
STICKLINE(VAR1D AND COUNT(VAR1D,30)=1,60,80,5,0),COLORRED;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,80,'短线高点'),COLORFFCC66;
STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,60,80,5,0),COLORFFCC66;
VAR2C:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,0))+30;
VAR2E:=VAR1A<48 AND VAR2C<30 AND VAR8<100;
VAR2F:=VAR1A<48 AND VAR2C>30 AND VAR8<100;
DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,50,'短线反弹2'),COLORRED;
STICKLINE(VAR2E AND COUNT(VAR2E,30)=1,30,50,5,0),COLORRED;
DRAWTEXT(VAR2F AND COUNT(VAR2F,30)=1,50,'短线高点2'),COLORFFCC66;
STICKLINE(VAR2F AND COUNT(VAR2F,30)=1,30,50,5,0),COLORFFCC66;
VAR3D:=IF(VAR3<=200 AND VAR2<=150,-15,IF(VAR3>=-200 AND VAR2>=-150,15,VAR5));
VAR3E:=VAR3D>0 AND VAR8<100;
VAR3F:=VAR1A<48 AND VAR3D<0 AND VAR8<100;
DRAWTEXT(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,'短线反弹3'),COLORRED;
STICKLINE(VAR7<90 AND VAR2+VAR3<=0 AND VAR3F AND COUNT(VAR3F,30)=1,20,0,5,0),COLORRED;
DRAWTEXT(VAR3E AND COUNT(VAR3E,30)=1,20,'短线高点3'),COLORFFCC66;
STICKLINE(VAR3E AND COUNT(VAR3E,30)=1,20,0,5,0),COLORFFCC66;
强势线:60,COLORRED;
VAR9:=IF(VAR7<90,40,30);
分界线:30,COLORFFFFFF;
STICKLINE(FILTER(VAR1B=45,5),-20,-10,5,0),COLORFFFFFF;
DRAWTEXT(FILTER(VAR1B=45,5),0,'强支撑'),COLORFFFFFF;
STICKLINE(FILTER(VAR1B=75,5),75,60,5,0),COLORFFFFFF;
DRAWTEXT(FILTER(VAR1B=75,5),75,'高压'),COLORFFFFFF;
STICKLINE(PJX<=-19,-25,-20,12,0),COLORFF00FF;
STICKLINE(PJX>=70,85,80,12,0),COLORGREEN;
DRAWTEXT(FILTER(VAR5<0,5),30,'★'),COLORRED;
DRAWTEXT(FILTER(VAR5>0,5),30,'★'),COLORFFCC66;
多空预警:0,COLORFFCC66;
IF(VAR9=40 AND VAR2>=0 AND VAR3>=0,多空预警,DRAWNULL),LINETHICK2,COLORGREEN;

IF(VAR9=40 AND VAR2<=0 AND VAR3<=0,多空预警,DRAWNULL),LINETHICK2,COLORRED;

[url=http://www.70822.com/soft/sort013/sort05/down-30901.html]多空预警(短期强弱、短线反弹)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒