当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:空中加油组合--多周期MACD 红柱成交量 FYCH
软件名称:[B]空中加油组合--多周期MACD 红柱成交量 FYCH[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:33.0 KB
官方主页:Home Page
更新时间:2020-05-22 00:18:28
软件简介:
空中加油组合包括3个公式:多周期MACD 红柱成交量 FYCH
{公式名称: FYCH
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式源码:}
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,40);
VAR5:=MA(CLOSE,60);
MA120:MA(CLOSE,120),COLORBROWN,LINETHICK2;
MA250:MA(CLOSE,250),COLORBLUE,LINETHICK2;
MA600:MA(CLOSE,300),COLORRED,LINETHICK2;
VAR6:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
VAR7:=MA((CLOSE+LOW+OPEN+HIGH)/4,13);
VAR8:=EMA((CLOSE+LOW+OPEN+HIGH)/4,21);
STICKLINE(CLOSE<VAR8 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<VAR8 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CLOSE<VAR8 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR007700;
STICKLINE(CLOSE<VAR8 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR005500;
STICKLINE(CLOSE<VAR8 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR006600;
STICKLINE(CLOSE<VAR8 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR007700;
STICKLINE(CLOSE>VAR8 AND CLOSE<OPEN,HIGH,LOW,0,0),COLORFFDD44;
STICKLINE(CLOSE>VAR8 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(CLOSE>VAR8 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORFFAA22;
STICKLINE(CLOSE>VAR8 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLORFFDD44;
STICKLINE(CLOSE>VAR8 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR00EEFF;
STICKLINE(CLOSE>VAR8 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR00AAFF;
STICKLINE(CLOSE>VAR8 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(CLOSE>VAR8 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00EEFF;
STICKLINE(CLOSE>VAR7 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF66AA;
STICKLINE(CLOSE>VAR7 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFF11FF;
STICKLINE(CLOSE>VAR7 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFF44FF;
STICKLINE(CLOSE>VAR7 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFF66FF;
STICKLINE(CLOSE>VAR7 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR999999;
STICKLINE(CLOSE>VAR7 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR555555;
STICKLINE(CLOSE>VAR7 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR777777;
STICKLINE(CLOSE>VAR7 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR999999;
STICKLINE(CLOSE>VAR6 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000DD;
STICKLINE(CLOSE>VAR6 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>VAR6 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000BB;
STICKLINE(CLOSE>VAR6 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000DD;
VAR9:=VAR1>VAR3 AND VAR1>VAR2 AND CROSS(VAR2,VAR3);
VAR10:=VAR3>VAR5 AND VAR3>VAR4 AND CROSS(VAR4,VAR5);
VAR11:=VAR1>VAR5 AND VAR1>VAR2 AND CROSS(VAR2,VAR5);
VAR12:=VAR5>MA120 AND CROSS(VAR5,MA120);
VAR13:=VAR5<MA120 AND CROSS(MA120,VAR5);
VAR14:=MA120>MA250 AND CROSS(MA120,MA250);
VAR15:=VAR1>VAR2 AND VAR2>VAR3 AND CROSS(VAR1,VAR3) AND CROSS(VAR2,VAR3);
DRAWTEXT(VAR15,LOW-0.12,1),COLOR0011FF;
STICKLINE(VAR15,HIGH,LOW,0.5,1),COLOR0011FF;
STICKLINE(VAR15,OPEN,CLOSE,6,1),COLOR0011FF,LINETHICK2;
DRAWTEXT(VAR9,LOW-0.12,2),COLORYELLOW;
STICKLINE(VAR9,HIGH,LOW,0.5,1),COLORYELLOW;
STICKLINE(VAR9,OPEN,CLOSE,6,1),COLORYELLOW,LINETHICK2;
DRAWTEXT(VAR10,LOW-0.12,3),COLOR0099FF;
STICKLINE(VAR10,HIGH,LOW,0.5,1),COLOR0099FF;
STICKLINE(VAR10,OPEN,CLOSE,6,1),COLOR0099FF,LINETHICK2;
DRAWTEXT(VAR11,LOW-0.12,4),COLOR36C0C1;
STICKLINE(VAR11,HIGH,LOW,0.4,1),COLOR36C0C1;
STICKLINE(VAR11,OPEN,CLOSE,6,1),COLOR36C0C1,LINETHICK2;
DRAWTEXT(VAR14,MA250-0.08,5),COLORRED;
DRAWTEXT(CROSS(MA250,MA600),MA250,6),COLORMAGENTA,LINETHICK4;
VAR16:=MA(VOL,5);
VAR17:=MA(VOL,10);
VAR18:=MA(VOL,20);
VAR19:=VAR16>=VAR18 AND CROSS(VAR17,VAR18) AND REF(VAR17,1)<REF(VAR18,1);
DRAWTEXT(VAR19,LOW-0.12,7),COLORWHITE;
STICKLINE(VAR19,HIGH,LOW,0.4,1),COLORWHITE;
STICKLINE(VAR19,OPEN,CLOSE,6,1),COLORWHITE,LINETHICK2;
VAR20:=BARSLAST(VAR5>VAR3 AND (VAR3=VAR2 OR VAR3>VAR2));
VAR21:=REF(COUNT(CLOSE<VAR5,VAR20)=VAR20,1);
VAR22:=CROSS(CLOSE,VAR5) AND VOL>MA(VOL,5) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3;
VAR23:=VAR21 AND VAR22;
DRAWTEXT(VAR23,HIGH+0.12,8),COLORMAGENTA;
STICKLINE(VAR23,HIGH,LOW,0.5,1),COLORMAGENTA;
STICKLINE(VAR23,OPEN,CLOSE,4,1),COLORMAGENTA,LINETHICK2;
VAR24:=MA(CLOSE,5);
VAR25:=MA(CLOSE,10);
VAR26:=MA(CLOSE,30);
VAR27:=AMOUNT/10000;
VAR28:=VOL-MA(VOL,10);
VAR29:=VAR24>OPEN AND VAR25>OPEN AND VAR26>OPEN AND VAR24<CLOSE AND VAR25<CLOSE AND VAR26<CLOSE AND CLOSE>OPEN;
DRAWTEXT(VAR29,LOW-0.12,9),COLORWHITE;
STICKLINE(VAR29,HIGH,LOW,0.5,1),COLORWHITE;
STICKLINE(VAR29,OPEN,CLOSE,3,1),COLORWHITE,LINETHICK2;
VAR30:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR31:=(8*VAR30+7*REF(VAR30,1)+6*REF(VAR30,2)+5*REF(VAR30,3)+4*REF(VAR30,4)+3*REF(VAR30,5)+2*REF(VAR30,6)+REF(VAR30,8))/36;
VAR32:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR31;
VAR33:=FILTER(VAR32,5);{通达信公式大全 分析家公式网www.70822.com}
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR33)),REF(HIGH,BARSLAST(VAR33)),1,0),COLORCYAN;
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR33)),REF(LOW,BARSLAST(VAR33)),1,0),COLORYELLOW;
VAR34:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
STICKLINE(VAR34,OPEN,CLOSE,1.5,0),COLORYELLOW;
VAR35:=IF((REF(CLOSE,1)-CLOSE)*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
STICKLINE(VAR35,OPEN,CLOSE,1.5,0),COLORWHITE;
{公式名称: 红柱成交量
公式描述:
参数数量: 3
参数1: M1, 最小: 1, 最大: 1000, 缺省: 5
参数2: M2, 最小: 1, 最大: 1000, 缺省: 10
参数3: M3, 最小: 1, 最大: 1000, 缺省: 60
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
MAVOL3:MA(VOLUME,M3);
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
VAR1:=VOL>REF(VOL,1)*1.9;
VAR2:=VOL<REF(LLV(VOL,13),1);
VAR3:=VOL<REF(LLV(VOL,55),1);
STICKLINE(VAR1,0,VOL,1,0),COLORYELLOW;
STICKLINE(VAR3,0,VOL,1,0),COLORMAGENTA;
VAR4:=CLOSE/REF(CLOSE,3)>=1.1;
{通达信公式大全 分析家公式网www.70822.com}
VAR5:=BACKSET(VAR4,2);
OK:STICKLINE(VAR5 AND COUNT(VAR5,2)=1,VOL,0,3,0),COLORRED;
{公式名称: 多周期MACD
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
DEA:EMA(DIFF,9),LINETHICK2;
MACD:(DIFF-DEA)*2,COLORSTICK;
DRAWTEXT(REF(MACD,1)>0 AND MACD<0,MACD-0.01,87);
DRAWTEXT(REF(MACD,2)>0 AND REF(MACD,1)<0 AND MACD<0,MACD-0.01,88)
[url=http://www.70822.com/soft/sort013/sort05/down-147858.html]空中加油组合--多周期MACD 红柱成交量 FYCH[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-147858.html]空中加油组合--多周期MACD 红柱成交量 FYCH[/url]