股票战略图 STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00;
X_1:=BARSLAST(LOW=LLV(LOW,360));
X_2:=REF(LOW,X_1);
X_3:=BARSLAST(HIGH=HHV(HIGH,X_1));
X_4:=REF(HIGH,X_3);
X_5:=IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_4,X_4)),DRAWNULL);
X_6:=IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_2,X_2)),DRAWNULL);
X_7:=(X_5+X_6)/2;
X_8:=X_6+(X_5-X_6)*0.191;
X_9:=X_6+(X_5-X_6)*0.382;
X_10:=X_6+(X_5-X_6)*0.618;
X_11:=X_6+(X_5-X_6)*0.809;
A7A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_4,X_4)),DRAWNULL),COLORRED;
A6A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_11,X_11)),DRAWNULL),DOTLINE,COLORLIGRAY;
A5A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_10,X_10)),DRAWNULL),DOTLINE,COLORLIGRAY;
A4A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_7,X_7)),DRAWNULL),COLORMAGENTA;
A3A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_9,X_9)),DRAWNULL),DOTLINE,COLORLIGRAY;
A2A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_8,X_8)),DRAWNULL),DOTLINE,COLORLIGRAY;
A1A:IF(CURRBARSCOUNT<=CONST(X_1+1),CONST(IF(1,X_2,X_2)),DRAWNULL),COLORGREEN;
原本线:IF(CURRBARSCOUNT<=CONST(X_1),MA(CLOSE,X_1),DRAWNULL),COLORRED;
原本跌:IF(CURRBARSCOUNT<=CONST(X_1),IF(原本线<REF(原本线,1),原本线,DRAWNULL),DRAWNULL),COLORGREEN;
H本线:IF(CURRBARSCOUNT<=CONST(X_3+1),MA(CLOSE,X_3),DRAWNULL),COLORRED;
H本跌:IF(CURRBARSCOUNT<=CONST(X_3+1),IF(H本线<REF(H本线,1),H本线,DRAWNULL),DRAWNULL),COLORGREEN;
X_12:=BARSLAST(LOW=LLV(LOW,X_3));
L本线:IF(CURRBARSCOUNT<=CONST(X_12+1),MA(CLOSE,X_12),DRAWNULL),COLORRED;
L本跌:IF(CURRBARSCOUNT<=CONST(X_12+1),IF(L本线<REF(L本线,1),L本线,DRAWNULL),DRAWNULL),COLORGREEN;
X_13:=CONST(X_1+1);
X_14:=(A2A+A1A)/2;
GGH1:DRAWTEXT(CURRBARSCOUNT=X_13,X_14,238),COLORYELLOW;
X_15:=(A3A+A2A)/2;
GGH2:DRAWTEXT(CURRBARSCOUNT=X_13,X_15,239),COLORYELLOW;
X_16:=(A4A+A3A)/2;
GGH3:DRAWTEXT(CURRBARSCOUNT=X_13,X_16,240),COLORYELLOW;
X_17:=(A5A+A4A)/2;
GGH4:DRAWTEXT(CURRBARSCOUNT=X_13,X_17,241),COLORYELLOW;
X_18:=(A6A+A5A)/2;
GGH5:DRAWTEXT(CURRBARSCOUNT=X_13,X_18,242),COLORYELLOW;
X_19:=(A7A+A6A)/2;
GGH6:DRAWTEXT(CURRBARSCOUNT=X_13,X_19,243),COLORYELLOW;
X_20:=BARSLAST(INDEXL=LLV(INDEXL,360));
X_21:=REF(INDEXL,X_20);
X_22:=BARSLAST(INDEXH=HHV(INDEXH,X_20));
X_23:=REF(INDEXH,X_22);
YU21:IF(CURRBARSCOUNT<=CONST(X_20+1),CONST(IF(1,X_23,X_23)),DRAWNULL),COLORRED;
YU22:IF(CURRBARSCOUNT<=CONST(X_20+1),CONST(IF(1,X_21,X_21)),DRAWNULL),COLORGREEN;
X_24:=CONST(INTPART((INDEXC-YU21)/YU21*100));
YU41:CONST(INTPART((CLOSE-X_5)/X_5*100)),NODRAW;
PVA4:DRAWTEXT_FIX(ISLASTBAR,0.78,10,0,244),COLORWHITE;
PVA3:DRAWNUMBER_FIX(ISLASTBAR,0.84,10,0,X_24),COLORCYAN;
PVA2:DRAWTEXT_FIX(ISLASTBAR,0.87,10,0,245),COLORYELLOW;
PVA1:DRAWNUMBER_FIX(ISLASTBAR,0.93,10,0,YU41),COLORGREEN;
X_25:=CONST(INTPART(WINNER(CLOSE)*100));
PVA11:DRAWTEXT_FIX(ISLASTBAR,0.71,10,0,246),COLORRED;
PVA12:DRAWNUMBER_FIX(ISLASTBAR,0.76,10,0,X_25),COLORGREEN;
X_26:=CONST(INTPART(CLOSE*FINANCE(7)/100000000));
PVA13:DRAWTEXT_FIX(ISLASTBAR,0.63,10,0,247),COLORMAGENTA;
PVA14:DRAWNUMBER_FIX(ISLASTBAR,0.68,10,0,X_26),COLORGREEN;
X_27:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5),2);
X_28:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
X_29:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7),2);
X_30:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
X_31:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6),2);
X_32:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2);
X_33:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8),2);
X_34:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
X_35:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7),2);
X_36:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
X_37:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8),2);
X_38:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
X_39:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9),2);
X_40:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
X_41:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9),2);
X_42:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
X_43:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9),2);
X_44:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
X_45:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9),2);
X_46:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
X_47:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8),2);
X_48:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
X_49:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7),2);
X_50:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2);
X_51:=1.006;
X_52:=IF(CURRBARSCOUNT<=CONST(10),CONST(10),DRAWNULL);
DRAWTEXT(X_52 AND X_27=1,HIGH*X_51,248),COLORYELLOW;
DRAWTEXT(X_52 AND X_28=1,HIGH*X_51,249),COLORYELLOW;
DRAWTEXT(X_52 AND X_29=1,HIGH*X_51,250),COLORYELLOW;
DRAWTEXT(X_52 AND X_30=1,HIGH*X_51,251),COLORYELLOW;
DRAWTEXT(X_52 AND X_31=1,HIGH*X_51,252),COLORYELLOW;
DRAWTEXT(X_52 AND X_32=1,HIGH*X_51,253),COLORYELLOW;
DRAWTEXT(X_52 AND X_33=1,HIGH*X_51,254),COLORYELLOW;
DRAWTEXT(X_52 AND X_34=1,HIGH*X_51,255),COLORYELLOW;
DRAWTEXT(X_52 AND X_35=1,HIGH*X_51,256),COLORYELLOW;
DRAWTEXT(X_52 AND X_36=1,HIGH*X_51,257),COLORYELLOW;
DRAWTEXT(X_52 AND X_37=1,HIGH*X_51,258),COLORYELLOW;
DRAWTEXT(X_52 AND X_38=1,HIGH*X_51,259),COLORYELLOW;
DRAWTEXT(X_52 AND X_39=1,HIGH*X_51,260),COLORYELLOW;
DRAWTEXT(X_52 AND X_40=1,HIGH*X_51,261),COLORYELLOW;
DRAWTEXT(X_52 AND X_41=1,HIGH*X_51,262),COLORYELLOW;
DRAWTEXT(X_52 AND X_42=1,HIGH*X_51,263),COLORYELLOW;
DRAWTEXT(X_52 AND X_43=1,HIGH*X_51,264),COLORYELLOW;
DRAWTEXT(X_52 AND X_44=1,HIGH*X_51,265),COLORYELLOW;
DRAWTEXT(X_52 AND X_45=1,HIGH*X_51,266),COLORYELLOW;
DRAWTEXT(X_52 AND X_46=1,HIGH*X_51,267),COLORYELLOW;
DRAWTEXT(X_52 AND X_47=1,HIGH*X_51,268),COLORYELLOW;
DRAWTEXT(X_52 AND X_48=1,HIGH*X_51,269),COLORYELLOW;
DRAWTEXT(X_52 AND X_49=1,HIGH*X_51,270),COLORYELLOW;
DRAWTEXT(X_52 AND X_50=1,HIGH*X_51,271),COLORYELLOW;
X_53:=CLOSE>REF(CLOSE,1) AND INDEXC<REF(INDEXC,1);
FH200:DRAWTEXT(X_53 AND CURRBARSCOUNT<=CONST(10),HIGH*1.01,272),COLORYELLOW;
|
- 软件大小:5.00 KB
- 推荐星级:
- 更新时间:2022-09-22 00:15:18
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!