这几年见到感觉还行的指标就存下了,现在都发出来供同学挑选,不管是从实用角度还是学习指标编写的角度,相信总有一款是你喜欢的 主图公式: 资金翻倍: N:=20; DRAWGBKLAST(DATE>900101,STRIP(RGB(75,75,75),RGB(0,0,0),0)); DRAWTEXTABS(10,10,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF; STICKLINE(C>=O,C,O,8,0),COLOR000055; STICKLINE(C>=O,C,O,6.5,0),COLOR000075; STICKLINE(C>=O,C,O,5,0),COLOR000095; STICKLINE(C>=O,C,O,3.5,0),COLOR0000B5; STICKLINE(C>=O,C,O,2,0),COLOR0000D5; STICKLINE(C>=O,H,L,0.5,0),COLOR0000F5; STICKLINE(C<O,C,O,8,0),COLOR303000; STICKLINE(C<O,C,O,6.5,0),COLOR404000; STICKLINE(C<O,C,O,5,0),COLOR505000; STICKLINE(C<O,C,O,3.5,0),COLOR606000; STICKLINE(C<O,C,O,2,0),COLOR707000; STICKLINE(C<O,H,L,0.5,0),COLOR808000; 总股本(亿):FINANCE2(35)/10000,COLORYELLOW,LINETHICK0; 流通(亿):FINANCE2(37)/10000,COLORFFFFFF,LINETHICK0; 均价:=(3*C+H+L+O)/6; VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36; VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3; FILLRGN(VAR1,VAR2,VAR1>VAR2,(RGB(100,0,100))); 短趋:VAR1,ColorFFFFFF; 中趋:VAR2,COLORYELLOW; PARTLINE(中趋,中趋<REF(中趋,1)),COLORGREEN; SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1; SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1; SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1; SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND CLOSE>VAR2 AND CLOSE<VAR1; SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1) AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);; SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2; XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2); XD2:=VAR1=VAR2 AND CLOSE>VAR1; SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N)); 量能饱和度:=IF(SAT>1,1,SAT)*100; IF BARSTATUS=2 AND SZ1 THEN BEGIN DRAWTEXTABS(320,25,'调整结束短线介入'),COLORRED; END ELSE IF BARSTATUS=2 AND SZ2 THEN BEGIN DRAWTEXTABS(320,25,'上升通道走势良好'),COLORRED; END ELSE IF BARSTATUS=2 AND SZ3 THEN BEGIN DRAWTEXTABS(320,25,'股价偏离注意调整'),COLORRED; END ELSE IF BARSTATUS=2 AND SZ4 THEN BEGIN DRAWTEXTABS(320,25,'上升通道调整洗盘'),COLORGREEN; END ELSE IF BARSTATUS=2 AND SZ5 THEN BEGIN DRAWTEXTABS(320,25,'转向特征注意离场'),COLORGREEN; END ELSE IF BARSTATUS=2 AND SZ6 THEN BEGIN DRAWTEXTABS(320,25,'通道改变坚决离场'),COLORGREEN; END ELSE IF BARSTATUS=2 AND XD1 THEN BEGIN DRAWTEXTABS(320,25,'下跌通道只宜观望'),COLORGREEN; END ELSE IF BARSTATUS=2 AND XD2 THEN BEGIN DRAWTEXTABS(320,25,'短期底部准备进入'),COLORYELLOW; END; AB1:=COST(0.33); AB2:=COST(5); AB3:=COST(15); AB4:=COST(55); AB5:=COST(97); AA1:=COST(90); AA2:=COST(70); AA3:=COST(30); AA4:=COST(10); 获利:=WINNER(CLOSE)*100; 套牢:=100-WINNER(CLOSE)*100; DRAWTEXTABS(15,25,'量能饱和度:'+NUMTOSTRN(量能饱和度,2)+'%'),COLOR00FFFF; DRAWTEXTABS(15,40,'90成本:'+NUMTOSTRN(AA1,2)),COLOR00FFFF; DRAWTEXTABS(15,55,'70成本:'+NUMTOSTRN(AA2,2)),COLOR00FFFF; DRAWTEXTABS(15,70,'30成本:'+NUMTOSTRN(AA3,2)),COLOR00FFFF; DRAWTEXTABS(15,85,'10成本:'+NUMTOSTRN(AA4,2)),COLOR00FFFF; DRAWTEXTABS(15,100,'底出击:'+NUMTOSTRN(AB1,2)),COLOR00FFFF; DRAWTEXTABS(520,25,'建仓:'+NUMTOSTRN(AB2,2)),COLOR00FFFF; DRAWTEXTABS(600,25,'快刀:'+NUMTOSTRN(AB3,2)),COLOR00FFFF; DRAWTEXTABS(675,25,'升浪:'+NUMTOSTRN(AB4,2)),COLOR00FFFF; DRAWTEXTABS(520,40,'获利:'+NUMTOSTRN(获利,2)+'%'),COLOR00FFFF; DRAWTEXTABS(600,40,'套牢:'+NUMTOSTRN(套牢,2)+'%'),COLOR00FFFF; DRAWTEXTABS(675,40,'预测:'+NUMTOSTRN(AB5,2)),COLOR00FFFF; TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1; 立桩量:=FILTER(TJ1,5); TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0))); 突破:=TJ2=1; STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),6,0),COLORCYAN; STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),6,0),COLORYELLOW; TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0))); 三天法则:=TJ3=1; 成立:=三天法则 AND 突破; 条件成立:=FILTER(成立,3); DRAWTEXT(条件成立,L*0.99,'成立'),COLORYELLOW; DRAWRECTREL(0,85,15,380,RGB(30,30,30)),COLORWHITE; AAA:=量能饱和度<=10; BBB:=量能饱和度>10 AND 量能饱和度<=20; CCC:=量能饱和度>20 AND 量能饱和度<=30; DDD:=量能饱和度>30 AND 量能饱和度<=50; EEE:=量能饱和度>50 AND 量能饱和度<=70; FFF:=量能饱和度>70 AND 量能饱和度<=80; GGG:=量能饱和度>80 AND 量能饱和度<=90; HHH:=量能饱和度>90; IF BARSTATUS=2 AND AAA THEN BEGIN DRAWRECTREL(0,350,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND BBB THEN BEGIN DRAWRECTREL(0,320,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND CCC THEN BEGIN DRAWRECTREL(0,290,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND DDD THEN BEGIN DRAWRECTREL(0,230,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND EEE THEN BEGIN DRAWRECTREL(0,170,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND FFF THEN BEGIN DRAWRECTREL(0,140,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND GGG THEN BEGIN DRAWRECTREL(0,110,15,380,RGB(255,0,0)); END ELSE IF BARSTATUS=2 AND HHH THEN BEGIN DRAWRECTREL(0,85,15,380,RGB(255,0,0)); END; 四区主图: MA5:MA(CLOSE,5),COLORFFFFFF,PRECIS2,LAYER0; MA10:MA(CLOSE,10),COLOR00FFFF,PRECIS2,LAYER0; MA24:MA(C,24),COLORFF00FF,PRECIS2,LAYER0; W:=BARSLAST(DISPSTATUS=1); P:=BACKSET(DISPSTATUS=2,W/2+1); K:=BARSLAST(CROSS(P,0.5)); KJ:=HHVALL(HIGH)-LLVALL(LOW); VERTLINE(CROSS(P,0.5),4),COLOR00FFFF; 平衡:LLVALL(LOW)+KJ/2,COLOR00FFFF,DOTLINE,PRECIS2; {FILLRGN(平衡,HHVALL(HIGH),W>K,RGB(0,0,200)),PRECIS2;该行设置背景色} 压力:IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡),COLORFF00FF,DOTLINE,PRECIS2; 支撑:IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡),COLOR00FF00,DOTLINE,PRECIS2; {低吸:K>=0 and CROSS(平衡,LOW),COLORFF8899,LINETHICK0,PRECIS2;} 低涨:(C/LLV(LOW,W)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2; 天:BARSLAST(L=LLV(LOW,W)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXT(HIGH=HHVALL(HIGH) and K>=0,HIGH*1.01,'←'+NUMTOSTRN(HIGH,2)),COLORFFFFFF; {DRAWICON(低吸,LOW,6);} {以下设置提示文字部分} DRAWTEXT(DISPSTATUS=2,压力,'0.809'),COLOR0000FF,ALIGN0; DRAWTEXT(DISPSTATUS=2,平衡,'0.500'),COLORFFFFFF,ALIGN0; DRAWTEXT(DISPSTATUS=2,支撑,'0.191'),COLOR00FFFF,ALIGN0; DRAWTEXT(K=0,HHVALL(HIGH)-KJ/12,'★强势区域--急拉减仓!'),COLOR00FFFF,ALIGN1; DRAWTEXT(K=0,HHVALL(HIGH)-KJ/3,'●震荡整理--寻机低吸!'),COLOR00FF00,ALIGN1; DRAWTEXT(K=0,LLVALL(LOW)+KJ/3,'◆反弹中轨--逢高休息!'),COLORFFFFFF,ALIGN1; DRAWTEXT(K=0,LLVALL(LOW)+KJ/10,'■弱势区域--暂不参与!'),COLORFFFF00,ALIGN1; {以下设置个股信息} DRAWTEXTREL(10,50,'所属板块:'+BKNAME),COLORFFFFFF; DRAWTEXTREL(10,120,'股票名称:'+'【'+STKLABEL+' '+STKNAME+'】'),COLOR00FF00; DD:=FINANCE2(35);SS:=FINANCE2(37); DRAWTEXTREL(10,190,'总股本:'+NUMTOSTRN(DD,0)+'万' +' 流通A股:'+NUMTOSTRN(SS,0)+'万'),COLOR00FFFF; DRAWTEXTREL(10,300,'■低点至今上涨:'+NUMTOSTRN(低涨,2)+'% '+NUMTOSTRN(天,0)+'天'),COLOR0000FF; DRAWTEXTREL(10,360,'■目前可见K线:'+NUMTOSTRN(W+1,0)+'天'),COLOR00FF00; DRAWTEXTREL(10,420,'■建议查阅K线:短线30天,中长线120天!'),COLORFF8899; DRAWTEXTREL(10,920,'====【创幻论坛の一品茶缘】===='),COLOR889999; {以下设置五彩立体K线} STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred; STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorred; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0),colorcyan; STICKLINE(OPEN>=CLOSE ,C |
- 软件大小:15.0 KB
- 推荐星级:
- 更新时间:2015-11-07 00:47:36
- 软件类别: 国产软件 / 大智慧L2公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!