横盘和倍量 VAR2:=(EMA(CLOSE,12) - EMA(CLOSE,26));
VAR3:=EMA(VAR2,9);
VAR4:=((VAR2 - VAR3) * 2);
VAR5:=BARSLAST(REF(CROSS(VAR2,VAR3),1));
VAR6:=((((CROSS(VAR2,VAR3) AND (VAR2 > REF(VAR2,(VAR5 + 1)))) AND (VAR5 < 100)) AND (VAR2 > 0)) AND (LOW > REF(LOW,(VAR5 + 1))));
VAR7:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=(VAR8 > VAR9);
VAR11:=((COUNT(VAR6,20) AND (VAR2 > 0)) AND VAR10);
STICKLINE(VAR11,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),5,0),COLOR104E8B;
VAR13:=(WINNER(CLOSE) * 100);
VAR14:=(VAR13 >= 82);
VAR15:=HHVBARS(VAR4,(BARSLAST((VAR4 < 0)) + 1));
VAR16:=CROSS(BACKSET(CROSS(0,VAR4),(REF(VAR15,1) + 2)),0.5);
VAR17:=CROSS(BACKSET((CROSS(0,VAR4) OR (ISLASTBAR AND (VAR4 > 0))),(REF(VAR15,1) + 2)),0.5);
VAR18:=DRAWLINE(VAR16,VAR4,REF(VAR16,1),REF(VAR4,1),1);
VAR19:=IF(((ISLASTBAR AND (VAR4 > 0)) AND (VAR4 = HHV(VAR4,BARSLAST((VAR4 < 0))))),1,IF(FILTERX(VAR17,BARSCOUNT(CLOSE)),2,DRAWNULL));
VAR20:=(((VAR19 = 1) OR (VAR19 = 2)) AND (VAR4 > 0));
VAR21:=FILTERX(VAR20,BARSCOUNT(CLOSE));
VAR22:=DRAWLINE(VAR21,VAR4,REF(VAR21,1),REF(VAR4,1),1);
VAR23:=BARSLAST(VAR21);
VAR24:=(CROSS((COUNT(CROSS(((VAR4 < (VAR22 / 2)) AND (VAR4 > 0)),0.5),VAR21) = 1),0.5) AND (VAR21 >= 0));
VAR25:=(IF(((VAR4 > 0) AND (VAR22 != VAR18)),DRAWLINE(VAR24,((VAR18 + VAR22) / 2),REF(VAR24,1),REF(((VAR18 + VAR22) / 2),1),1),DRAWNULL) < 0);
VAR26:=(COUNT(CROSS(VAR4,VAR18),BARSLASTCOUNT((VAR4 > 0))) = 1);
VAR27:=BARSLASTCOUNT(((VAR4 > VAR18) AND NOT((VAR24 OR (VAR25 = 0)))));
VAR28:=VAR16;
VAR29:=BACKSET(ISLASTBAR,(BARSLAST(VAR28) + 1));
VAR30:=(VAR29 > REF(VAR29,1));
VAR31:=FILTERX(VAR16,BARSSINCE(CLOSE));
VAR323:=SUM(VAR16,BARSSINCE(CLOSE));
VAR3333:=CROSS((REFX(VAR323,MA(VAR31,0)) = (VAR323 + 1)),0.5);
VAR333:= REFX(VAR323, CURRBARSCOUNT-1)-1;
A1:=VAR323 = VAR333 AND REF(VAR323,1)<>REF(VAR333,1);
AAA:=BARSLAST(A1);
前1高:REF(HIGH,BARSLAST(VAR30)),LINETHICK2,COLORGREEN;
DRAWNUMBER(VAR30,HIGH,HIGH),LINETHICK9,COLORGREEN;
前2高:REF(HIGH,AAA),LINETHICK2,COLORWHITE;
DRAWNUMBER(A1,HIGH,HIGH),LINETHICK9,COLORWHITE;
VAR38:=LLVBARS(VAR4,(BARSLAST((VAR4 > 0)) + 1));
VAR39:=CROSS(BACKSET(CROSS(VAR4,0),(REF(VAR38,1) + 2)),0.5);
VAR40:=BARSLAST(FILTERX(CROSS(0,VAR4),BARSCOUNT(CLOSE)));
VAR41:=DRAWLINE(VAR39,VAR4,REF(VAR39,1),REF(VAR4,1),1);
VAR42:=IF((VAR4 < 0),FILTERX((VAR4 = LLV(VAR4,BARSLAST((VAR4 > 0)))),BARSCOUNT(CLOSE)),DRAWNULL);
VAR43:=BARSLAST(VAR42);
VAR44:=FILTERX((VAR4 < CONST(LLV(VAR4,(VAR40 + 1)))),BARSCOUNT(CLOSE));
VAR45:=BARSLAST(VAR44);
VAR46:=IF(((VAR40 + 1) >= 1),CONST(LLV(VAR4,(VAR40 + 1))),DRAWNULL);
VAR47:=(CROSS((COUNT(CROSS(((VAR4 > (VAR46 / 2)) AND (VAR4 < 0)),0.5),VAR43) = 1),0.5) AND (VAR43 >= 0));
DRAWICON(VAR47,(LOW * 0.98),38);
STICKLINE(VAR47,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),5,0),COLOR001050;
STICKLINE(VAR24,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),5,0),COLORC0C000;
DRAWBAND(MA(CLOSE,60),RGB(150,0,0),MA(CLOSE,120),RGB(0,91,0));
VAR52:=(((CLOSE - "CYC.CYC1"(13)) / "CYC.CYC1"(13)) * 100);
VAR53:=(WINNER((CLOSE * 1)) - WINNER((CLOSE * 0.8)));
VAR54:=IF(((VAR52 < -16) AND (VAR53 < 10)),1,0);
STICKLINE((VAR54 = 1),1,0,2,0),COLORFF0000;
VAR56:=(((HHV(HIGH,100) - LLV(LOW,20)) / HHV(HIGH,100)) * 100);
VAR57:=BARSLAST(CROSS(ZIG(3,10),MA(ZIG(3,10),2)));
VAR58:=SUM(((VAR57 > 0) AND (HIGH > REF(HHV(HIGH,VAR57),1))),VAR57);
DRAWNUMBER_FIX((CURRBARSCOUNT = 1),0.8,0,0,(ROUND((VAR56 * 100)) / 100)),COLORGREEN;
STICKLINE(VAR54,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),3,0),COLORFF0000;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA1:MA(CLOSE,5);
MA4:MA(CLOSE,60),COLORGREEN;
VAR64:=REF(MA(CLOSE,5),1);
十:MA(CLOSE,5),LINETHICK2,COLORYELLOW;
涨:IF((MA(CLOSE,5) > REF(MA(CLOSE,5),1)),MA(CLOSE,5),DRAWNULL),LINETHICK2,COLORRED;
平:IF((MA(CLOSE,5) = REF(MA(CLOSE,5),1)),MA(CLOSE,5),DRAWNULL),LINETHICK3,COLORYELLOW;
跌:IF((MA(CLOSE,5) < REF(MA(CLOSE,5),1)),MA(CLOSE,5),DRAWNULL),LINETHICK2,COLORGREEN;
VAR69:=(MA(CLOSE,5) > REF(MA(CLOSE,5),1));
VAR70:=(MA(CLOSE,5) <= REF(MA(CLOSE,5),1));
VAR71:=(REF(VAR70,1) = 1);
VAR72:=(MA(CLOSE,5) = REF(MA(CLOSE,5),1));
VAR73:=(CLOSE < MA(CLOSE,5));
VAR74:=(REF(VAR69,1) = 1);
VAR75:=(MA(CLOSE,5) = REF(MA(CLOSE,5),1));
VAR76:=CROSS(VAR64,十);
VAR77:=MA(CLOSE,1);
VAR78:=SMA(SMA(SMA(VAR77,2,1),2,1),2,1);
VAR79:=MA(VAR78,5);
VAR80:=CROSS(VAR78,VAR79);
VAR81:=CROSS(VAR79,VAR78);
VAR82:=(HIGH < REF(LOW,1));
VAR83:=BARSLAST(VAR82);
VAR84:=REF(LOW,(VAR83 + 1));
VAR85:=HHV(HIGH,(VAR83 + 1));
VAR86:=(((REF((VAR85 < VAR84),1) AND (VAR83 >= 3)) AND (LOW > REF(HIGH,1))) AND (LOW > REF(VAR85,1)));
VAR87:=BACKSET(VAR86,(VAR83 + 1));
STICKLINE((VAR87 AND (VAR86 = 0)),CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE((VAR87 AND (VAR86 = 0)),HIGH,LOW,0,0),COLORYELLOW;
STICKLINE((VAR87 AND (VAR86 = 0)),VAR84,VAR84,4,0),COLORFFAA00;
STICKLINE((VAR87 AND (VAR86 = 0)),REFX(REF(VAR85,1),MA(VAR86,0)),REFX(REF(VAR85,1),MA(VAR86,0)),4,0),COLORFFAA00;
VAR92:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR93:=((VAR92 < -20) AND (CLOSE > OPEN));
DRAWICON(VAR93,(LOW * 0.98),41);
STICKLINE(VAR93,CLOSE,OPEN,3,0),COLOR5F9F9F;
STICKLINE(VAR93,HIGH,LOW,0,0),COLOR5F9F9F;
VAR97:=(((CLOSE >= REF(HIGH,1)) AND (VOL > REF(VOL,1))) AND (REF(CLOSE,1) < REF(CLOSE,2)));
STICKLINE(VAR97,CLOSE,OPEN,1,-1),COLORYELLOW;
{STICKLINE("LWR.LWR2",OPEN,CLOSE,3,0),COLORGREEN;}
VAR100:=(((MIN(OPEN,CLOSE) = LOW) AND BETWEEN(((HIGH - LOW) / (MAX(OPEN,CLOSE) - LOW)),1.2,5)) AND (CLOSE > OPEN));
STICKLINE(VAR100,LOW,(OPEN + ((CLOSE - OPEN) / 2)),2,0),COLORFF0000;
VAR102:=((HHV(HIGH,0) - CLOSE) / HHV(HIGH,0));
VAR103:=IF(BETWEEN(VAR102,0,0.1),0,1);
IF((VAR103 = 1),TESTSKIP(VAR103),0);
VAR105:=(CLOSE > 0);
VAR106:=BARSLAST(VAR105);
VAR107:=CONST(IF((VAR106 = 0),CLOSE,REF(CLOSE,VAR106)));
VAR108:=REFX(CROSS(VAR107,HIGH),1);
VAR109:=IF((IF(VAR105,HIGH,0) = REFX(REF(HIGH,BARSLAST(VAR105)),MA(ISLASTBAR,0))),1,0);
VAR110:=BARSLAST(VAR108);
VAR111:=IF((ISLASTBAR AND VAR109),(REF(VAR110,1) + 1),VAR110);
VAR112:=(IF(VAR108,CLOSE,0) = REFX(REF(CLOSE,VAR111),MA(VAR105,0)));
VAR113:=BARSLAST(VAR112);
倍量横线:IF((VAR113 <= REFX(REF(MA(VAR109,0),VAR113),VAR109)),DRAWLINE(VAR112,VAR107,ISLASTBAR,VAR107,1),DRAWNULL),DOTLINE,COLORRED;
VAR115:=CEILING((VAR111 / 2));
VAR116:=(CURRBARSCOUNT = VAR115);
DRAWNUMBER((VAR116 AND VAR115),倍量横线,(VAR111 + VAR115)),COLOR999900;
|
- 软件大小:7.00 KB
- 推荐星级:
- 更新时间:2022-08-19 00:14:10
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!