空中加油组合包括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.fxjgsw.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.fxjgsw.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) |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!