{顾比短线猎击} {-----------------------☆功能开关------------------------} GB_1:=PEAKBARS(3,5,1); GB_2:=TROUGHBARS(3,5,1); GB_3:=DATACOUNT-GB_1[DATACOUNT]; GB_4:=DATACOUNT-GB_2[DATACOUNT]; GB_5:=BACKSET(BARPOS=GB_4,3); GB_6:=IF(BARPOS=GB_4,REF(hhv(H*GB_5,3),1),0); GB_7:=ref(GB_6,BARSLAST(BARPOS=GB_4)); GB_8:=(H=GB_7[DATACOUNT])*GB_5; GB_9:=GB_7[DATACOUNT]; GB_10:=FILTER(CROSS(C,GB_9) and EMA(C,3)>ref(EMA(C,3),1) and GB_7,5); GB_11:=REF(H,BARSLAST(GB_8)); {-----------------【图解模板】---------------------} DRAWGBK((DATE > 0),COLORRGB(40,40,60),COLORRGB(10,10,10),1); KLINE(o,h,l,c,0); DRAWICON(BARPOS=GB_4,L*0.969,11),ALIGN;{低点图标--绿} DRAWICON(GB_10,GB_11,4),ALIGN,PXDN28;{突破图标--红} DRAWICON(BARPOS=GB_3,H*1.01,12),PXDN8,ALIGN,SHIFT1;{高点图标--黄} DRAWNUMBER(GB_8,H,H,2),PXUP28,color88FF;{横线位置数字} PARTLINE(C,GB_11),LINETHICK2,color88FF;{低点的前3天的最高价划横线} a0:=BARSCOUNT(c);a1:=SYSPARAM(1);a2:=SYSPARAM(2);a3:=SYSPARAM(3);a4:=SYSPARAM(4);a5:=SYSPARAM(5);nn0:=a3-a2;nn:=a0-a2; WXS:=ABS(LOG(MINDIFF)),LINETHICK; hh1:=(a4-a5)/8; M:=IF(A1=A3,60,A3-A1); p:=a3;np:=IF(p>a1,p-a1,p-a2); ws:=BARPOS; ws1:=IF(ws<m,ws,m); FGX:=BARPOS=a3;FGS:=BARPOS=a1; h1:=HHV(HIGH,ws1);l1:=LLV(LOW,ws1); hp:=h1[p]; lp:=l1[p]; hlpx:=(hp-lp); 分割上限:=hp,COLORCC8C33,LINETHICK; drawsl(FGX,lp,0,np-1,1),colorcc0044; DRAWNUMBER(FGS,lp,lp,WXS),SHIFT5,ALIGN2,color6633cc; drawsl(FGX,lp+hlpx*0.191,0,np-1,1),POINTDOT,colorcc0099; DRAWNUMBER(FGS,lp+hlpx*0.191,lp+hlpx*0.191,WXS),SHIFT5,ALIGN2,color6688cc; drawsl(FGX,lp+hlpx*0.382,0,np-1,1),POINTDOT,colorcc0088; DRAWNUMBER(FGS,lp+hlpx*0.382,lp+hlpx*0.382,WXS),SHIFT5,ALIGN2,color6677cc; drawsl(FGX,lp+hlpx*0.500,0,np-1,1),POINTDOT,colorcc0077; DRAWNUMBER(FGS,lp+hlpx*0.500,lp+hlpx*0.500,WXS),SHIFT5,ALIGN2,color6655cc; drawsl(FGX,lp+hlpx*0.618,0,np-1,1),POINTDOT,colorcc0066; DRAWNUMBER(FGS,lp+hlpx*0.618,lp+hlpx*0.618,WXS),SHIFT5,ALIGN2,color6633cc; drawsl(FGX,lp+hlpx*0.809,0,np-1,1),POINTDOT,colorcc0055; DRAWNUMBER(FGS,lp+hlpx*0.809,lp+hlpx*0.809,WXS),SHIFT5,ALIGN2,color6611cc; drawsl(FGX,hp,0,np-1,1),colorcc0044; DRAWNUMBER(FGS,hp,hp,WXS),SHIFT5,ALIGN2,color6622cc; {公称名称: Ⅹ-筹码天机无引用版} A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=BACKSET(B1,3+1); D1:=FILTER(C1,3); A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3); E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2; H1:=D1 AND NOT(D2 AND E1>=E2) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; H2:=D1 AND NOT(D2 AND E1>=E2); L1:=D2 AND NOT(D1 AND E1=E2); X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); J1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1); A3:=HIGH; B3:=REF(HIGH,REF(BARSLAST(HD),1)+1)>REF(HIGH,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2)); D3:=A3 AND B3 AND HD; E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2); HH:=E3>REF(E3,1); A4:=LOW>REF(LOW,REF(BARSLAST(LD),1)+1); B4:=REF(LOW,REF(BARSLAST(LD),1)+1); D4:=A4 AND B4 AND LD; E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2); LL:=E4>REF(E4,1); DRAWICON(HH,HIGH,5),ALIGN1; DRAWICON(LL,LOW,4),ALIGN1; H3:=HH OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; X3:=REF(BARSLAST(H3),1)+1; F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,LOW,POW(10,20)),X3)); G3:=F3>REF(F3,1); I3:=BACKSET(G3,2); LZ:=I3>REF(I3,1); L4:=LZ OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; X4:=REF(BARSLAST(L4),1)+1; F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,HIGH,-POW(10,20)),X4)); G4:=F4>REF(F4,1); I4:=BACKSET(G4,2); HZ:=I4>REF(I4,1); K1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); K2:=K1>REF(K1,1); 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),LINETHICK2,colorFF00FF; 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),LINETHICK2,colorFF00FF; 前一低:REF(LOW,BARSLAST(VV)),POINTDOT,LINETHICK1,color99FF66; 前二低:REF(LOW,BARSLAST(XX)),POINTDOT,LINETHICK1,colorFF66FF; 前一高:REF(HIGH,BARSLAST(VV2)),POINTDOT,LINETHICK1,color99FF66; 前二高:REF(HIGH,BARSLAST(XX2)),POINTDOT,LINETHICK1,colorFF66FF; VAR3:=(CLOSE-LLV(CLOSE,124))/(HHV(CLOSE,124)-LLV(CLOSE,124))*100; VAR4:=LLV(HIGH,240); VAR5:=100*(CLOSE-VAR4)/VAR4; VAR6:=REF(LLV(CLOSE,480),1); VAR7:=REF(HHV(CLOSE,480),1); VAR8:=100*(CLOSE-VAR6)/(VAR7-VAR6); VAR9:=VAR5<=0 AND VAR8<=0 AND VAR3=0; VARA:=ABS((CLOSE-LLV(LOW,265))/LLV(LOW,265))*100; VARB:=VARA=0 OR VARA<0.5 OR CROSS(VARA,0.002); VARC:=MA((BARSLAST(LOW=LLV(LOW,13)))*(IF(CLOSE>OPEN,VOL,1)),3); VARD:=VARC=0 OR VARC<0.38 OR CROSS(VARC,0.333); VARE:=MA((BARSLAST(HIGH=HHV(HIGH,13)))*(IF(CLOSE>OPEN,VOL,1)),3); VARF:=HHVBARS(HIGH,13)*0.622 AND "CCI"<-195; VAR10:=REF("CCI"(10),1)>-180; VAR11:=CROSS("KDJ.J"(9,3,3),0); VAR12:=VAR11<15; VAR13:="RSI.RSI1"(6,12,24); VAR14:=VAR13<13; VAR15:=LLV(HIGH,240); VAR16:=100*(CLOSE-VAR15)/VAR15; VAR17:=VAR16<-0.15 OR VAR16<0; VAR18:=VAR3=0; VAR19:=REF(CLOSE,1); VAR1A:=(SMA(MAX(CLOSE-VAR19,0),6,1))/(SMA(ABS(CLOSE-VAR19),6,1))*100; VAR1B:=IF(VAR1A<19,6,0); VAR1C:=(CLOSE-LLV(LOW,87))/(HHV(HIGH,87)-LLV(LOW,87))*100; VAR1D:=VAR1C=0; VAR1E:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR1F:=SMA(VAR1E,3,1); VAR20:=SMA(VAR1F,3,1); VAR21:=VAR1F>91 AND VAR20>88; VAR22:=REF(CLOSE,1); VAR23:=(SMA(MAX(CLOSE-VAR22,0),6,1))/(SMA(ABS(CLOSE-VAR22),6,1))*100; VAR24:=(SMA(MAX(CLOSE-VAR22,0),14,1))/(SMA(ABS(CLOSE-VAR22),14,1))*100; VAR25:=(SMA(MAX(CLOSE-VAR22,0),22,1))/(SMA(ABS(CLOSE-VAR22),22,1))*100; VAR26:=MA(CLOSE,26); VAR27:=VAR26+2.489*STD(CLOSE,26); VAR28:=VAR26-2.489*STD(CLOSE,2); VAR29:=(CLOSE<VAR28+0.05 AND VAR23<10 AND VAR24<16 AND VAR25<24 AND VAR21)*30; VAR2A:=VARB AND VAR17 AND VAR18 AND VAR1B AND VAR1D*50; VAR2B:=VAR29 AND VAR2A*80; VAR31:=(2*CLOSE+HIGH+4*LOW)/7; VAR32:=EMA(VAR31,3)*0.85; VAR33:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4; VAR34:=IF(VAR33>23.16,VAR33,0); VAR35:=VAR33<10; VAR36:=VAR33<2; VAR37:=VAR35 OR VAR6; 长期趋势:ZIG(3,19),color808080; 短期趋势:ZIG(3,6.5),colorFFFF; |
- 软件大小:13.0 KB
- 推荐星级:
- 更新时间:2009-04-01 21:02:23
- 软件类别: 国产软件 / 飞狐公式
- 软件语言:简体中文
- 授权方式: 解密版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/2000/XP/2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(1)33%(2)67%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!