分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]横盘和倍量(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2022-08-19 00:14:10
软件简介:

 横盘和倍量

 
 
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;

[url=http://www.70822.com/soft/sort013/sort05/down-163780.html]横盘和倍量(通达信公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:50.78125 毫秒