分析家公式网,提供股票公式,股票软件用户登录  |  用户 注册
多空翻转主图--股市期货均可使用的精品公式
  • 软件大小:5.00 KB
  • 推荐星级:
  • 更新时间:2011-09-10 03:33:12
  • 软件类别: 国产软件 / 飞狐公式
  • 软件语言:简体中文
  • 授权方式: 免费版
  • 联系方式:暂无联系方式
  • 官方主页: Home Page
  • 点击大图:  【一键转帖到论坛】
  • 插件情况:
  • 运行环境:Win9X/Win2000/WinXP/Win2003/
  • 相关Tags:主图  期货  精品  股市  多空翻转  
  • (3)50%
    (3)50%

软件介绍

input: k(1,0,3),n1(4,1,255),n(10,1,255),p1(3,1,255),m1(3,2,40),m2(3,2,40);

UP:=eMA(HIGH,40),COLORWHITE;
DOWN:=eMA(LOW,40),COLORWHITE;
STICKLINE(CLOSE>UP,OPEN,CLOSE,8,2),COLORRED;
STICKLINE(CLOSE>UP AND OPEN>CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORRED;
STICKLINE(CLOSE>UP AND OPEN>CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORRED;
STICKLINE(CLOSE>UP AND OPEN<=CLOSE,OPEN,CLOSE,8,0),COLORRED;
STICKLINE(CLOSE>UP AND OPEN<CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORRED;
STICKLINE(CLOSE>UP AND OPEN<CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORRED;
STICKLINE(CLOSE<DOWN,OPEN,CLOSE,8,0),COLORcyan;
STICKLINE(CLOSE<DOWN AND OPEN>CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORcyan;
STICKLINE(CLOSE<DOWN AND OPEN>CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORcyan;
STICKLINE(CLOSE<DOWN AND OPEN<=CLOSE,OPEN,CLOSE,8,2),COLORcyan;
STICKLINE(CLOSE<DOWN AND OPEN<CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORcyan;
STICKLINE(CLOSE<DOWN AND OPEN<CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORcyan;
STICKLINE(CLOSE>DOWN && CLOSE<UP,OPEN,CLOSE,8,0),COLORgray;
STICKLINE(CLOSE>DOWN && CLOSE<UP AND OPEN>CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORgray;
STICKLINE(CLOSE>DOWN && CLOSE<UP AND OPEN>CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORgray;
STICKLINE(CLOSE>DOWN && CLOSE<UP AND OPEN<=CLOSE,OPEN,CLOSE,8,0),COLORgray;
STICKLINE(CLOSE>DOWN && CLOSE<UP AND OPEN<CLOSE,HIGH,MAX(OPEN,CLOSE),0,0),COLORgray;
STICKLINE(CLOSE>DOWN && CLOSE<UP AND OPEN<CLOSE,MIN(OPEN,CLOSE),LOW,0,0),COLORgray;

F:=EMA(CLOSE,5);
X:=EMA(CLOSE,34),COLORGRAY,linethick1;
KS:=IF(BARSCOUNT(CLOSE)=1,CLOSE/10000,(1-CLOSE/SMA(CLOSE,13,1))*100);
RKS:=REF(KS,1);
MLS:=RKS/KS>1.23 AND RKS>10 AND CLOSE/REF(CLOSE,1)>1.02;
J:=STICKLINE(KS>=10,HIGH,LOW,0,1);
权:=EMA(CLOSE,13);
证:=EMA(KS*CLOSE/100+权,3);
反弹:=STICKLINE(MLS=1,HIGH,LOW,0,1);
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
aRSV:=SMA(下档线,3,1);
aK:=SMA(aRSV,3,1);
aD:=((3 * aRSV) - (2 * aK));
aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
aRSV24:=SMA(aJ12,3,1);
aK24:=SMA(aRSV24,3,1);
aD24:=((3 * aRSV24) - (2 * aK24));
撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD))));
底:=LLV(HIGH,30);
STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORyellow;
DRAWTEXT(BARSTATUS=2 ,撑压位,'    撑压'),COLORyellow,PXUP20;
STICKLINE(BARSTATUS=2 ,底,底,30,1),COLORred,LINETHICK3;
DRAWTEXT(BARSTATUS=2 ,底,'    底线'),COLORred;
IF k=1 then begin
aa:=REF(HIGH,n1)=HHV(HIGH,2*n1+1);
aaa:=FILTER(aa,n1);
bb:=BACKSET(aaa,n1+1);
cc1:=FILTER(bb,n1);
cc:=cc1 or BARSTATUS=2;
aa2:=REF(LOW,n1)=LLV(LOW,2*n1+1);
aaa2:=FILTER(aa2,n1);
bb2:=BACKSET(aaa2,n1+1);
cc22:=FILTER(bb2,n1);
cc2:=cc22 and NOT(cc1);
ea:=BACKSET(cc,REF(BARSLAST(cc2),1)+1);
eb:=ea>REF(ea,1);
ee:=BACKSET(eb,2);
ff1:=ee>REF(ee,1);
ee2:=BACKSET(ff1 and COUNT(cc,REF(BARSLAST(cc2),1)+2)=0,REF(BARSLAST(cc2),1)+2);
ff2:=ee2>REF(ee2,1);
ee3:=BACKSET(ff2 and COUNT(cc,REF(BARSLAST(cc2),1)+2)=0,REF(BARSLAST(cc2),1)+2);
ff3:=ee3>REF(ee3,1);
js:=IF(cc,COUNT(cc2,REF(BARSLAST(cc),1)+1),0);
g1:=IF(js=1 and cc,BARSLAST(ff1),0);
ga:=IF(cc and REF(LOW,BARSLAST(ff1))>=REF(LOW,BARSLAST(ff2)),BARSLAST(ff2),BARSLAST(ff1));
g2:=IF(js=2 and cc,ga,0);
g3:=IF(js>=3 and cc,IF(cc and REF(LOW,ga)>=REF(LOW,BARSLAST(ff3)),BARSLAST(ff3),ga),0);
gg:=g1+g2+g3;
ja:=BACKSET(cc,gg);
jb:=ja>REF(ja,1);
jj:=BACKSET(jb,2);
ld:=jj>REF(jj,1);
ld1:=ld or BARSTATUS=2;
hea:=BACKSET(ld1,REF(BARSLAST(cc),1)+1);
heb:=hea>REF(hea,1);
hee:=BACKSET(heb,2);
hff1:=hee>REF(hee,1);
hee2:=BACKSET(hff1 and COUNT(ld1,REF(BARSLAST(cc),1)+2)=0,REF(BARSLAST(cc),1)+2);
hff2:=hee2>REF(hee2,1);
hee3:=BACKSET(hff2 and COUNT(ld1,REF(BARSLAST(cc),1)+2)=0,REF(BARSLAST(cc),1)+2);
hff3:=hee3>REF(hee3,1);
hjs:=IF(ld1,COUNT(cc1,REF(BARSLAST(ld1),1)+1),0);
hg1:=IF(hjs=1 and ld1,BARSLAST(hff1),0);
hga:=IF(ld1 and REF(HIGH,BARSLAST(hff1))<=REF(HIGH,BARSLAST(hff2)),BARSLAST(hff2),BARSLAST(hff1));
hg2:=IF(hjs=2 and ld1,hga,0);
hg3:=IF(hjs>=3 and ld1,IF(ld1 and REF(HIGH,hga)<=REF(HIGH,BARSLAST(hff3)),BARSLAST(hff3),hga),0);
hgg:=hg1+hg2+hg3;
hja:=BACKSET(ld1,hgg);
hjb:=hja>REF(hja,1);
hjj:=BACKSET(hjb,2);
hd:=hjj>REF(hjj,1);
x1:=BACKSET(BARSTATUS=2,BARSLAST(ld)+1);
x2:=x1>REF(x1,1);
y1:=BACKSET(BARSTATUS=2,BARSLAST(hd)+1);
y2:=y1>REF(y1,1);
z1:=IF(BARSLAST(x2)<BARSLAST(y2),x2,y2);
z2:=IF(BARSLAST(x2)<BARSLAST(y2),LOW,HIGH);
DRAWLINE(z1,z2,BARSTATUS=2,CLOSE,0),POINTDOT,colorff9900;
uu:=BACKSET(BARSTATUS=2,BARSLAST(ld)+1);
vv:=uu>REF(uu,1);
ww:=BACKSET(vv,REF(BARSLAST(ld),1)+2);
xx:=ww>REF(ww,1);
DRAWLINE(xx,LOW,vv,LOW,1),colorwhite;
uu2:=BACKSET(BARSTATUS=2,BARSLAST(hd)+1);
vv2:=uu2>REF(uu2,1);
ww2:=BACKSET(vv2,REF(BARSLAST(hd),1)+2);
xx2:=ww2>REF(ww2,1);
DRAWLINE(xx2,HIGH,vv2,HIGH,1),colorwhite;
END;
IF k=2 then begin
V7:=BARSTATUS=2;
V8:=(REF(HIGH,n) = HHV(HIGH,((2 * n) + 1)));
V9:=FILTER(V8,n);
VA:=BACKSET(V9,(n + 1));
VB:=FILTER(VA,n);
VC:=(VB OR V7);
VD:=(REF(LOW,n) = LLV(LOW,((2 * n) + 1)));
VE:=FILTER(VD,n);
VF:=BACKSET(VE,(n + 1));
V10:=FILTER(VF,n);
V11:=(V10 AND NOT(VB));
V12:=BACKSET(VC,(REF(BARSLAST(V11),1) + 1));
V13:=(V12 > REF(V12,1));
V14:=BACKSET(V13,2);
V15:=(V14 > REF(V14,1));
V16:=BACKSET((V15 AND (COUNT(VC,(REF(BARSLAST(V11),1) + 2)) = 0)),(REF(BARSLAST(V11),1) + 2));
V17:=(V16 > REF(V16,1));
V18:=BACKSET((V17 AND (COUNT(VC,(REF(BARSLAST(V11),1) + 2)) = 0)),(REF(BARSLAST(V11),1) + 2));
V19:=(V18 > REF(V18,1));
V1A:=IF(VC,COUNT(V11,(REF(BARSLAST(VC),1) + 1)),0);
V1B:=IF(((V1A = 1) AND VC),BARSLAST(V15),0);
V1C:=IF((VC AND (REF(LOW,BARSLAST(V15)) >= REF(LOW,BARSLAST(V17)))),BARSLAST(V17),BARSLAST(V15));
V1D:=IF(((V1A = 2) AND VC),V1C,0);
V1E:=IF(((V1A >= 3) AND VC),IF((VC AND (REF(LOW,V1C) >= REF(LOW,BARSLAST(V19)))),BARSLAST(V19),V1C),0);
V1F:=((V1B + V1D) + V1E);
V20:=BACKSET(VC,V1F);
V21:=(V20 > REF(V20,1));
V22:=BACKSET(V21,2);
V23:=(V22 > REF(V22,1));
V24:=(V23 OR V7);
V25:=BACKSET(V24,(REF(BARSLAST(VC),1) + 1));
V26:=(V25 > REF(V25,1));
V27:=BACKSET(V26,2);
V28:=(V27 > REF(V27,1));
V29:=BACKSET((V28 AND (COUNT(V24,(REF(BARSLAST(VC),1) + 2)) = 0)),(REF(BARSLAST(VC),1) + 2));
V2A:=(V29 > REF(V29,1));
V2B:=BACKSET((V2A AND (COUNT(V24,(REF(BARSLAST(VC),1) + 2)) = 0)),(REF(BARSLAST(VC),1) + 2));
V2C:=(V2B > REF(V2B,1));
V2D:=IF(V24,COUNT(VB,(REF(BARSLAST(V24),1) + 1)),0);
V2E:=IF(((V2D = 1) AND V24),BARSLAST(V28),0);
V2F:=IF((V24 AND (REF(HIGH,BARSLAST(V28)) <= REF(HIGH,BARSLAST(V2A)))),BARSLAST(V2A),BARSLAST(V28));
V30:=IF(((V2D = 2) AND V24),V2F,0);
V3B:=IF(((V2D >= 3) AND V24),IF((V24 AND (REF(HIGH,V2F) <= REF(HIGH,BARSLAST(V2C)))),BARSLAST(V2C),V2F),0);
V3C:=((V2E + V30) + V3B);
V3D:=BACKSET(V24,V3C);
V3E:=(V3D > REF(V3D,1));
AA:=BACKSET(V3E,2);
AAA:=(AA > REF(AA,1));

地址


软件评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

说明

* 使用方法:点击上面蓝色块,打开新页面按照提示进行

* 本网站提供的各种股票软件,例如大智慧软件,通达信软件,同花顺软件,东方财富通等等,和各种股票公式指标,例如大智慧公式,通达信公式,同花顺公式,文华公式,博易大师公式,股票价格计算公式等等公式指标等,都来源网上公开来源收集

本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!

* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。

* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程

* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!

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