{飞狐主图25} DRAWGBK(1,COLORRGB(44,22,108),COLORRGB(33,0,0),0),color10000; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,1),colorFFFF50; STICKLINE(OPEN>=CLOSE,HIGH,OPEN,0,0),colorFFFF50; STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0),colorFFFF50; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,1),color5050FF; STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0,0),color5050FF; STICKLINE(CLOSE>=OPEN,LOW,OPEN,0,0),color5050FF; {www.fxjgsw.com} var4:=((hhv(high,9) - close)/(hhv(high,9) - llv(low,9)))*(100) - 70; var5:=((close - llv(low,60))/(hhv(high,60) - llv(low,60)))*(100); var7:=sma(((close - llv(low,9))/(hhv(high,9) - llv(low,9)))*(100),3,1); var8:=llv(low,34); varc:=ema(((((2)*(close) + high + low)/(4) - var8)/(hhv(high,34) - var8))*(100),8); vard:=ema(varc,5); vare:=((hhv(high,9) - close)/(hhv(high,9) - llv(low,9)))*(100) - 70; var11:=sma(((close - llv(low,9))/(hhv(high,9) - llv(low,9)))*(100),3,1); var12:=sma(var11,3,1) + 100; var13:=var12 - sma(vare,9,1) + 100; var14:=zig(3,13); 建仓:=if((varc > 17) and (varc < 59) and (varc - vard >= 0),10,(-10)); 猎豹:=if((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),10,45); 丰收:=if((varc > 70) and (varc - vard >= 0),77,82); 牛:=if((var13 > 100),var13 - 100,0); 顶:=if((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),95,55); 风:=if((varc - vard > 0),varc,vard); stickline((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),close,open,5,0),color66ff00; stickline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),close,open,5,0),coloryellow; drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick5,color070084; drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick4,color0000a3; drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick3,color0000b7; drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick2,color0000cd; drawline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.08),(ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.05),0),linethick1,color077bf3; stickline((open >= close),close,open,5,0),colorff5b00; stickline((open >= close),close,open,4.5,0),colorff6c00; stickline((open >= close),close,open,4,0),colorff7b00; stickline((open >= close),close,open,3.5,0),colorff9c00; stickline((open >= close),close,open,2,0),colorffbe00; stickline((open >= close),close,open,1,0),colorffcc00; stickline((open >= close),close,open,0.5,0),colorcccccc; stickline((close >= open),close,open,5,0),color070084; stickline((close >= open),close,open,4.5,0),color0000a3; stickline((close >= open),close,open,4,0),color0000b7; stickline((close >= open),close,open,3.5,0),color0000cd; stickline((close >= open),close,open,2,0),color0000e9; stickline((close >= open),close,open,1,0),color0754e9; stickline((close >= open),close,open,1,0),color076ef3; stickline((close >= open),close,open,0.5,0),color077bf3; stickline((close > open),open,low,0.5,0),color0726ca; stickline((close > open),close,high,0.5,0),color0726ca; stickline((open > close),close,low,0.5,0),colorde9100; stickline((open > close),open,high,0.5,0),colorde9100; 买:drawtext((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),low - (low)*(0.05),'买'),colorred; 卖:drawtext((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),low - (low)*(0.03),'卖'),color66ff00; stickline((ref(var14,2) < ref(var14,1)) and (var14 < ref(var14,1)),close,open,5,0),color66ff00; stickline((ref(var14,2) > ref(var14,1)) and (var14 > ref(var14,1)),close,open,5,0),coloryellow; X:=BARSLAST(SYSPARAM(2)=BARPOS)+1; NS:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6); N1:=IF(DATATYPE=2,NS*48,IF(DATATYPE=3,NS*16,IF(DATATYPE=4,NS*8,IF(DATATYPE=5,NS*4,NS)))); MM:=IF(STKTYPE=0 OR VOL=0,MA(CLOSE,N1),SUM(AMOUNT,N1)/SUM(VOL,N1)/100); M1:=REF(MM,1); 买入:=IF(CROSS(CLOSE,M1),M1,0); 卖出:=IF(CROSS(M1,CLOSE),M1,0); YE:=BARPOS; fei用:=5/1000; DW:=BARSLAST(卖出>0); EX10:=HHV(买入>0,DW+1); BJ:=IF(EX10>REF(EX10,1),买入,0); SJ:=IF(EX10<REF(EX10,1),卖出,0); BNN:=BARSLAST(BJ>0); CC:=REF(BJ,BNN); 盈利:=SJ*(1-fei用)-CC*(1+fei用); YL:=SUM(IF(SJ>0,盈利,0),0); 每股盈利:YL,LINETHICK0,PRECISION2,colorFFFFFF; CN:=SUM(IF(SJ>0 AND REF(CC,1)>0,1,0),0); CG:=SUM(IF(SJ>0 AND 盈利>0,1,0),0); 成功率:100*CG/CN,LINETHICK0,PRECISION1,color88FF; H1:=HHV(YL,X); L1:=LLV(YL,X); AH:=H1[DATACOUNT]; AL:=L1[DATACOUNT]; AHL:=AH-AL; 买入均价:SUM(BJ,0)/CN,LINETHICK0,PRECISION1,colorFF; 年收益:100*240*YL/YE/买入,LINETHICK0,PRECISION1,colorFF; 持股时间:(SUM(IF(SJ>0 AND CC>0,REF(BNN,1)+1,0),0))/(YE),LINETHICK0,PRECISION2,colorFF00FF; 交易:CN,LINETHICK0,PRECISION0,colorAAAAAA; (次)成功:CG,LINETHICK0,PRECISION0,colorAAAAAA; 年交均次:=240*CN/YE; MON:=SUM(IF(MONTH<>REF(MONTH,1),1,0),0); 上市年:=MON/12; DRAWNUMBER(BJ>0,LOW*0.97,BJ,2),ALIGN0,colorFF; DRAWICON(BJ>0 ,LOW*0.99,4); DRAWTEXT(BJ>0,LOW*0.95,'★\n 买入'),ALIGN0,colorFFFF; STICKLINE(BJ>0 ,MM,MM+0.04,16,1),ALIGN0,colorFFFF; STICKLINE(BJ>0 ,CLOSE,OPEN,4,0),ALIGN0,colorFFFF; DRAWNUMBER(SJ>0 AND 盈利/(CC*(1+fei用))*100>=0,HIGH*1.07,盈利/(CC*(1+fei用))*100,1),ALIGN0,colorFF; DRAWNUMBER(SJ>0 AND 盈利/(CC*(1+fei用))*100<0,HIGH*1.07,盈利/(CC*(1+fei用))*100,1),ALIGN0,colorFFFF; DRAWICON(SJ>0 ,HIGH*1.025,5); STICKLINE(SJ>0 ,SJ,SJ+0.04,16,1),ALIGN0,colorFF; DRAWNUMBER(SJ>0 ,HIGH*1.05,SJ,2),ALIGN0,colorFF00; N波动:(SUM(IF(SJ>0 AND CC>0 AND REF(BNN,1)+1<=10,REF(BNN,1)+1,0),0))/(YE),LINETHICK0,colorFF00FF; 买价:IF(BJ>0,BJ,0),LINETHICK0,PRECISION2,colorFF; 卖价:IF(SJ>0,SJ,0),LINETHICK0,PRECISION2,colorFF00; DRAWTEXTEX(CLOSE,1,0,0,'年盈利:'+NUMTOSTR(YL,2)+'元 成功率:'+NUMTOSTR(成功率,1)+'% 年收益:'+NUMTOSTR(年收益,1)+'%'+' 持股时间比:'+NUMTOSTR(持股时间,1)+'\n'+'交易:'+NUMTOSTR(交易,0)+'次 成功:'+NUMTOSTR(CG,0)+'次 年均:'+NUMTOSTR(年交均次,1)+'次 总共:'+NUMTOSTR(YE,0)+'K线'),colorEE5555; 临界:=(CLOSE/M1-1)*100; 增减:=临界-100*(REF(CLOSE,1)/REF(M1,1)-1); DRAWTEXTEX(CLOSE,1,480,0,'当前 信号持续:'+NUMTOSTR(BNN,0)+'(K线)'+' 最高盈利:'+NUMTOSTR(HHV((HIGH/CC-1)*100,BNN+1),1)+'% 买卖临界点:'+NUMTOSTR(临界,1)+'% 增减:'+NUMTOSTR(IF(BNN>0 AND DATATYPE=6,增减,IF(BNN=0,0,-100)),1)),colorEE5599; DRAWTEXT(SYSPARAM(3)=BARPOS ,HIGH,'.'),color1; DRAWTEXT(SYSPARAM(3)=BARPOS ,LOW,'.'),color1; 参考介入价:MM,LINETHICK0,PRECISION2,colorFFFFFF; FUA:=HHV(HIGH,15); FUB:=LLV(LOW,15); DRAWTEXTEX(CLOSE,1,620,60,'15日最高价:'+NUMTOSTR(FUA,2)+' '),ALIGN2,colorFF; DRAWTEXTEX(CLOSE,1,780,60,'15日最低价:'+NUMTOSTR(FUB,2)+' '),ALIGN2, |
- 软件大小:11.0 KB
- 推荐星级:
- 更新时间:2015-12-21 02:51:08
- 软件类别: 国产软件 / 飞狐公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!