亮剑智者富之-黄金分割 亮剑智者富之-黄金分割
主线:=WMA(CLOSE,P1)*0.98; VAR1:=POW(CLOSE-主线,1); VAR2:=MA(VAR1,3); VAR3:=SQRT(VAR2); 阻力线:=主线+1.96*VAR3; 支撑线:=主线-1.96*VAR3; PARTLINE(主线>REF(主线,1) AND 阻力线<>支撑线,主线),LINETHICK3,colorFF; PARTLINE(主线<REF(主线,1),主线),LINETHICK2,colorFF0000; DRAWICON(主线>REF(主线,1),主线,10); N1:=SYSPARAM(3); N:=N1-SYSPARAM(2)+1; HH:=HHV(HIGH,N); LL:=LLV(LOW,N); 最高:HH[N1],colorFF; 最低:LL[N1],colorFF; 最低+(最高-最低)*0.191; 最低+(最高-最低)*0.382; 最低+(最高-最低)*0.5,colorFF00FF; 最低+(最高-最低)*0.618; 最低+(最高-最低)*0.809; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.191,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*0.191,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.382,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*0.382,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.5,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*0.5,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.618,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*0.618,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.809,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*0.809,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*1,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),REF(最低+(最高-最低)*1,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),2),SHIFT110,colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'000%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.191,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'19.1%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.382,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'38.2%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.5,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'50%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.618,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'61.8%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*0.809,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'80.9%↑'),colorFFFF; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(2),REF(最低+(最高-最低)*1,BARSLAST(BARSCOUNT(CLOSE)=SYSPARAM(2))),'99.99%↑'),colorFFFF; VAR1:=WINNER(CLOSE); VAR2:=VOL/CAPITAL; VAR3:=VAR2/VAR1; 财神线:=IF(VAR1<N1/100,VAR3,0); DRAWICON(财神线>3,LOW,10),ALIGN5; VAR1:=WINNER(CLOSE); VAR2:=VOL/CAPITAL; VAR3:=VAR2/VAR1; 财神线:=IF(VAR1<N1/100,VAR3,0); 财神到:=财神线; DRAWICON(财神线<REF(财神线>1,1) AND 财神线>0.5 AND 财神线<1,HIGH,1),ALIGN5; VAR1111:=FORCAST(CLOSE,5); STICKLINE(CLOSE<OPEN,HIGH,LOW,1,0),color8800; STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),colorFF00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),color8800; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),color9900; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0),colorAA00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,5,0),colorBB00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,4,0),colorCC00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),colorDD00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),colorEE00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),colorFF00; STICKLINE(CLOSE>=OPEN,HIGH,LOW,1,0),colorFF; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorEEFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),color22FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),color44FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),color66FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),color88FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),colorAAFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorCCFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),colorEEFF; DRAWNUMBER(SYSPARAM(2)=BARPOS,CLOSE,FINANCE(33),2),ALIGN5; DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,' -收益'),ALIGN5; DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'\n所属块:'+BLKNAME),ALIGN4,colorFFFF; STICKLINE(CLOSE<OPEN,HIGH,LOW,1,0),color8800; STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),colorFF00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),color8800; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),color9900; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0),colorAA00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,5,0),colorBB00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,4,0),colorCC00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),colorDD00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),colorEE00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),colorFF00; STICKLINE(CLOSE>=OPEN,HIGH,LOW,1,0),colorFF; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorEEFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),color22FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),color44FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),color66FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),color88FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),colorAAFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorCCFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),colorEEFF; VAR1:=(CLOSE+HIGH+LOW)/3; CB:=MA(VAR1,4); A1:=HHV(CB,18); A2:=HHV(CB,41); A3:=HHV(HIGH,62)*0.98; B1:=LLV(CB,18); B2:=LLV(LOW,62)*1.02; MID:=MA(CLOSE,20); UPPER:=MID+2*STD(CLOSE,20); LOWER:=MID-2*STD(CLOSE,20); VAR18:=EMA(CLOSE,3)-EMA(CLOSE,6)-(EMA(CLOSE,6)-EMA(CLOSE,12))*(-100); VAR28:=EMA(VAR18,3); VAR38:=EMA(CLOSE,3)-EMA(CLOSE,6)-(EMA(CLOSE,24)-EMA(CLOSE,36))*(-100); VAR48:=EMA(VAR38,9); VAR58:=CROSS(VAR18,VAR28); VAR36:=CROSS(VAR28,VAR18); STICKLINE(VAR36,OPEN,CLOSE,1.5,0),colorFFFFFF; STICKLINE(VAR58,OPEN,CLOSE,8,0),colorFF; STICKLINE(VAR58,OPEN,CLOSE-(CLOSE-OPEN)*0.33,8,0),colorFFFF; STICKLINE(VAR58,OPEN,CLOSE-(CLOSE-OPEN)*0.66,8,0),LINETHICK2,colorFF00FF; 拐点:=MA(CLOSE,N8); 拐点1:=MA(CLOSE,N8); GD1:=REF(COUNT(拐点<=REF(拐点,1),5)=5,1) AND 拐点>REF(拐点,1); GD2:=REF(COUNT(拐点1<=REF(拐点1,1),5)=5,1) AND 拐点1>REF(拐点1,1); DRAWICON(GD1,LOW*0.99,8); DRAWICON(GD1,LOW*0.98,1); MID:=MA(CLOSE,20); UPPER:=MID+2*STD(CLOSE,20); LOWER:=MID-2*STD(CLOSE,20); V1:=(CLOSE-LOWER)/(UPPER-LOWER)*100; V2:=V1-EMA(V1,5); K1:=SUM(LLV(V2,4),4)/4; V3:=EMA(V2,64)*10; V4:=EMA(0.4*V2*(-1),3); V5:=-1*EMA(V2,39)*10; A:=V3>10; B:=V2>V4; D:=V5>10; E:=V3<=10 OR V2<=V4 OR V5<=10; KS:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100); RKS:=REF(KS,1); MLS:=RKS/KS>1.23 AND RKS>13 AND CLOSE/REF(CLOSE,1)>1.03; 开:=OPEN; 高:=HIGH; 低:=LOW; 收:=CLOSE; 超跌:STICKLINE(KS>13,高,低,0,1),LINETHICK2,colorFFFFFF; 反弹:STICKLINE(MLS=1,高,低,0,1),LINETHICK2,colorFF00 |
- 软件大小:5.00 KB
- 推荐星级:
- 更新时间:2008-11-09 21:47:09
- 软件类别: 国产软件 / 飞狐公式
- 软件语言:简体中文
- 授权方式: 解密版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/2000/XP/2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(1)100%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!