再发多空波段----------(原码)大智慧2+通达信
出现红心为强势,蓝色为警惕,出现黄s则可留意也即表示空头力量有衰竭迹象。
原码: {大智慧2} {n1=3,1,12} VAR1:=(CLOSE+HIGH+LOW+OPEN)/4; VAR2:=SUMBARS(VOL,CAPITAL); VAR3:=HHV(VAR1,VAR2); VAR4:=LLV(VAR1,VAR2); VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4); VAR6:=(VAR1-VAR4)/(VAR3-VAR4); VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60); VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); VAR9:=EMA(VAR8,7); VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; VARC:=HHV(HIGH,9)-LLV(LOW,9); VARD:=HHV(HIGH,9)-CLOSE; VARE:=CLOSE-LLV(LOW,9); VARF:=VARD/VARC*100-70; VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR11:=(2*CLOSE+HIGH+LOW)/4; VAR12:=SMA(VARE/VARC*100,3,1); VAR13:=LLV(LOW,34); VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1); VAR15:=IF(VAR14>100,VAR14-100,0); VAR16:=HHV(HIGH,34); VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8); VAR18:=EMA(VAR17,5); STICKLINE(VAR17-VAR18>0,VAR17,VAR18,10,1),COLORRED ; STICKLINE(VAR17-VAR18<0,VAR17,VAR18,10,1),COLORGREEN ; DK:(VAR17-VAR18)*20,LINETHICK0; STICKLINE(dk>0 and dk>ref(dk,1) and c>ref(c,1),VAR17,VAR18,6,0),COLORRED ; STICKLINE(dk>0 and dk<ref(dk,1) and c<ref(c,1) ,VAR17,VAR18,6,0),COLORcyan ; STICKLINE(dk<0 and dk>ref(dk,1) and c>ref(c,1),VAR17,VAR18,6,0),COLORyellow ; {以下为大智慧2“玩笑”策略版,可要可不要} DRAWRECTREL( 0,0 ,150 ,999 , rgb(0,0,255)); DRAWRECTREL( 0,299 ,150 ,301 , rgb(255,150,255)); DRAWRECTREL(115,300-DK ,125 ,300 ,if(dk>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(105,300-ref(DK,1) ,115 ,300 ,if(ref(DK,1)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(95,300-ref(DK,2) ,105 ,300 ,if(ref(DK,2)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(85,300-ref(DK,3) ,95 ,300 ,if(ref(DK,3)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(75,300-ref(DK,4) ,85 ,300 ,if(ref(DK,4)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(65,300-ref(DK,5) ,75 ,300 ,if(ref(DK,5)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(55,300-ref(DK,6) ,65 ,300 ,if(ref(DK,6)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(45,300-ref(DK,7) ,55 ,300 ,if(ref(DK,7)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(35,300-ref(DK,8) ,45 ,300 ,if(ref(DK,8)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWRECTREL(25,300-ref(DK,9) ,35 ,300 ,if(ref(DK,9)>0, rgb(255,0,0),rgb(0,255,0 ))); DRAWTEXTREL( 10,700 ,'观望'),LINETHICK3,colorred; DRAWTEXTREL( 10,840 ,'持股'),LINETHICK3,colorgreen; DRAWRECTREL( 7,670 ,60 ,990 ,0 ); DRAWRECTREL( 7,if(dk>0,670,840) ,60 ,if(dk>0,840,990) ,if(dk>0,rgb(255,0,0),rgb(0,255,0) )); DRAWTEXTREL( 30,550 ,'风雨飞雪策略'),LINETHICK1,coloryellow; DRAWTEXTREL(65,850 ,'出蓝须警惕'),LINETHICK1,colorred; DRAWTEXTREL(65,720 ,'出黄为留意'),LINETHICK1,colorred; DRAWTEXTREL(5,200 ,'动'),LINETHICK1,colorwhite; DRAWTEXTREL(5,305 ,'态'),LINETHICK1,colorwhite; DRAWTEXTREL(130,200 ,'多'),LINETHICK1,colorwhite; DRAWTEXTREL(130,305 ,'空'),LINETHICK1,colorwhite; {通达信} {N1=3,1,12} VAR1:=(CLOSE+HIGH+LOW+OPEN)/4; VAR2:=SUMBARS(VOL,CAPITAL); VAR3:=HHV(VAR1,VAR2); VAR4:=LLV(VAR1,VAR2); VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4); VAR6:=(VAR1-VAR4)/(VAR3-VAR4); VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60); VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); VAR9:=EMA(VAR8,7); VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; VARC:=HHV(HIGH,9)-LLV(LOW,9); VARD:=HHV(HIGH,9)-CLOSE; VARE:=CLOSE-LLV(LOW,9); VARF:=VARD/VARC*100-70; VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR11:=(2*CLOSE+HIGH+LOW)/4; VAR12:=SMA(VARE/VARC*100,3,1); VAR13:=LLV(LOW,34); VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1); VAR15:=IF(VAR14>100,VAR14-100,0); VAR16:=HHV(HIGH,34); VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8); VAR18:=EMA(VAR17,5); STICKLINE(VAR17-VAR18>0,VAR17,VAR18,4,1),COLORRED ; STICKLINE(VAR17-VAR18<0,VAR17,VAR18,4,1),COLORGREEN ; DK:=(VAR17-VAR18)*20,LINETHICK0; STICKLINE(DK>0 AND DK>REF(DK,1) AND C>REF(C,1),VAR17,VAR18,2,0),COLORRED ; STICKLINE(DK>0 AND DK<REF(DK,1) AND C<REF(C,1) ,VAR17,VAR18,2,0),COLORCYAN ; STICKLINE(DK<0 AND DK>REF(DK,1) AND C>REF(C,1),VAR17,VAR18,2,0),COLORYELLOW ; |
- 软件大小:3.00 KB
- 推荐星级:
- 更新时间:2009-03-24 02:28:24
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 解密版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/2000/XP/2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(4)80%(1)20%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!