股票战略图 ,仅仅用于大盘, {公式名称: 股票战略图 公式描述: 股票战略图 无参数 公式类型: 技术指标公式-图表型 画线方法: 主图叠加 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00; VAR1:=BARSLAST(LOW=LLV(LOW,360)); VAR2:=REF(LOW,VAR1); VAR3:=BARSLAST(HIGH=HHV(HIGH,VAR1)); VAR4:=REF(HIGH,VAR3); VAR5:=IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR4,VAR4)),DRAWNULL); VAR6:=IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR2,VAR2)),DRAWNULL); VAR7:=(VAR5+VAR6)/2; VAR8:=VAR6+(VAR5-VAR6)*0.191; VAR9:=VAR6+(VAR5-VAR6)*0.382; VAR10:=VAR6+(VAR5-VAR6)*0.618; VAR11:=VAR6+(VAR5-VAR6)*0.809; A7A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR4,VAR4)),DRAWNULL),COLORRED; A6A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR11,VAR11)),DRAWNULL),DOTLINE,COLORLIGRAY; A5A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR10,VAR10)),DRAWNULL),DOTLINE,COLORLIGRAY; A4A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR7,VAR7)),DRAWNULL),COLORMAGENTA; A3A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR9,VAR9)),DRAWNULL),DOTLINE,COLORLIGRAY; A2A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR8,VAR8)),DRAWNULL),DOTLINE,COLORLIGRAY; A1A:IF(CURRBARSCOUNT<=CONST(VAR1+1),CONST(IF(1,VAR2,VAR2)),DRAWNULL),COLORGREEN; 原本线:IF(CURRBARSCOUNT<=CONST(VAR1),MA(CLOSE,VAR1),DRAWNULL),COLORRED; 原本跌:IF(CURRBARSCOUNT<=CONST(VAR1),IF(原本线<REF(原本线,1),原本线,DRAWNULL),DRAWNULL),COLORGREEN; H本线:IF(CURRBARSCOUNT<=CONST(VAR3+1),MA(CLOSE,VAR3),DRAWNULL),COLORRED; H本跌:IF(CURRBARSCOUNT<=CONST(VAR3+1),IF(H本线<REF(H本线,1),H本线,DRAWNULL),DRAWNULL),COLORGREEN; VAR12:=BARSLAST(LOW=LLV(LOW,VAR3)); L本线:IF(CURRBARSCOUNT<=CONST(VAR12+1),MA(CLOSE,VAR12),DRAWNULL),COLORRED; L本跌:IF(CURRBARSCOUNT<=CONST(VAR12+1),IF(L本线<REF(L本线,1),L本线,DRAWNULL),DRAWNULL),COLORGREEN; VAR13:=CONST(VAR1+1); VAR14:=(A2A+A1A)/2; GGH1:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR14,238),COLORYELLOW; VAR15:=(A3A+A2A)/2; GGH2:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR15,239),COLORYELLOW; VAR16:=(A4A+A3A)/2; GGH3:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR16,240),COLORYELLOW; VAR17:=(A5A+A4A)/2; GGH4:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR17,241),COLORYELLOW; VAR18:=(A6A+A5A)/2; GGH5:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR18,242),COLORYELLOW; VAR19:=(A7A+A6A)/2; GGH6:DRAWTEXT(CURRBARSCOUNT=VAR13,VAR19,243),COLORYELLOW; VAR20:=BARSLAST(INDEXL=LLV(INDEXL,360)); VAR21:=REF(INDEXL,VAR20); VAR22:=BARSLAST(INDEXH=HHV(INDEXH,VAR20)); VAR23:=REF(INDEXH,VAR22); YU21:IF(CURRBARSCOUNT<=CONST(VAR20+1),CONST(IF(1,VAR23,VAR23)),DRAWNULL),COLORRED; YU22:IF(CURRBARSCOUNT<=CONST(VAR20+1),CONST(IF(1,VAR21,VAR21)),DRAWNULL),COLORGREEN; VAR24:=CONST(INTPART((INDEXC-YU21)/YU21*100)); YU41:CONST(INTPART((CLOSE-VAR5)/VAR5*100)),NODRAW; PVA4:DRAWTEXT_FIX(ISLASTBAR,0.78,10,0,244),COLORWHITE; PVA3:DRAWNUMBER_FIX(ISLASTBAR,0.84,10,0,VAR24),COLORCYAN; PVA2:DRAWTEXT_FIX(ISLASTBAR,0.87,10,0,245),COLORYELLOW; PVA1:DRAWNUMBER_FIX(ISLASTBAR,0.93,10,0,YU41),COLORGREEN; VAR25:=CONST(INTPART(WINNER(CLOSE)*100)); PVA11:DRAWTEXT_FIX(ISLASTBAR,0.71,10,0,246),COLORRED; PVA12:DRAWNUMBER_FIX(ISLASTBAR,0.76,10,0,VAR25),COLORGREEN; VAR26:=CONST(INTPART(CLOSE*FINANCE(7)/100000000)); PVA13:DRAWTEXT_FIX(ISLASTBAR,0.63,10,0,247),COLORMAGENTA; PVA14:DRAWNUMBER_FIX(ISLASTBAR,0.68,10,0,VAR26),COLORGREEN; VAR27:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5),2); VAR28:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2); VAR29:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7),2); VAR30:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2); VAR31:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6),2); VAR32:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2); VAR33:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8),2); VAR34:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2); VAR35:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7),2); VAR36:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2); VAR37:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8),2); VAR38:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2); VAR39:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9),2); VAR40:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2); VAR41:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9),2); VAR42:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2); VAR43:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9),2); VAR44:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2); VAR45:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9),2); VAR46:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2); VAR47:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8),2); VAR48:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2); VAR49:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7),2); VAR50:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2); VAR51:=1.006;{www.fxjgsw.com} VAR52:=IF(CURRBARSCOUNT<=CONST(10),CONST(10),DRAWNULL); DRAWTEXT(VAR52 AND VAR27=1,HIGH*VAR51,248),COLORYELLOW; DRAWTEXT(VAR52 AND VAR28=1,HIGH*VAR51,249),COLORYELLOW; DRAWTEXT(VAR52 AND VAR29=1,HIGH*VAR51,250),COLORYELLOW; DRAWTEXT(VAR52 AND VAR30=1,HIGH*VAR51,251),COLORYELLOW; DRAWTEXT(VAR52 AND VAR31=1,HIGH*VAR51,252),COLORYELLOW; DRAWTEXT(VAR52 AND VAR32=1,HIGH*VAR51,253),COLORYELLOW; DRAWTEXT(VAR52 AND VAR33=1,HIGH*VAR51,254),COLORYELLOW; DRAWTEXT(VAR52 AND VAR34=1,HIGH*VAR51,255),COLORYELLOW; DRAWTEXT(VAR52 AND VAR35=1,HIGH*VAR51,256),COLORYELLOW; DRAWTEXT(VAR52 AND VAR36=1,HIGH*VAR51,257),COLORYELLOW; DRAWTEXT(VAR52 AND VAR37=1,HIGH*VAR51,258),COLORYELLOW; DRAWTEXT(VAR52 AND VAR38=1,HIGH*VAR51,259),COLORYELLOW; DRAWTEXT(VAR52 AND VAR39=1,HIGH*VAR51,260),COLORYELLOW; DRAWTEXT(VAR52 AND VAR40=1,HIGH*VAR51,261),COLORYELLOW; DRAWTEXT(VAR52 AND VAR41=1,HIGH*VAR51,262),COLORYELLOW; DRAWTEXT(VAR52 AND VAR42=1,HIGH*VAR51,263),COLORYELLOW; DRAWTEXT(VAR52 AND VAR43=1,HIGH*VAR51,264),COLORYELLOW; DRAWTEXT(VAR52 AND VAR44=1,HIGH*VAR51,265),COLORYELLOW; DRAWTEXT(VAR52 AND VAR45=1,HIGH*VAR51,266),COLORYELLOW; DRAWTEXT(VAR52 AND VAR46=1,HIGH*VAR51,267),COLORYELLOW; DRAWTEXT(VAR52 AND VAR47=1,HIGH*VAR51,268),COLORYELLOW; DRAWTEXT(VAR52 AND VAR48=1,HIGH*VAR51,269),COLORYELLOW; DRAWTEXT(VAR52 AND VAR49=1,HIGH*VAR51,270),COLORYELLOW; DRAWTEXT(VAR52 AND VAR50=1,HIGH*VAR51,271),COLORYELLOW; VAR53:=CLOSE>REF(CLOSE,1) AND INDEXC<REF(INDEXC,1); FH200:DRAWTEXT(VAR53 AND CURRBARSCOUNT<=CONST(10),HIGH*1.01,272),COLORYELLOW; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!