网站首页 > 飞狐公式 正文
乘风趋势主图(飞狐)
乘风趋势主图执行的是趋势为王,只做多头的理念。均线采用我习惯的5、13、21、34、55参数,以MA34作为多空判断线,信号点采用了我发过的 KDJ介入为基础,并以多空线来定义抄底、回抽、确认、加仓等介入信号,卖出信号则以RSI作为参考提示,主图并叠加了MACD柱子。CCC:=IF(CAPITAL>0,AMOUNT/VOL/100,C);
底线:10*(HHV(HIGH,13)-LLV(LOW,13))/100+LLV(LOW,13),COLORffabcd,LINETHICK0;
m55:MA(CLOSE,55),colorFF0080,LINETHICK0;
m34:MA(CLOSE,34),color0000ff,LINETHICK0;
m21:MA(CLOSE,21),color00FFff,LINETHICK0;
m13:MA(CLOSE,13),colorffFFFF,LINETHICK0;
m5:ma(c,5),colorff00ff,LINETHICK0;FILLRGN(c,底线,llv(l,13)),color004000;
tjaa:=BARSLAST(ref(cross("RSI.RSI1",22) and c>o,1));
R准备:=l22 and "RSI.RSI1"o)+1>5 and BARSLAST(cross("RSI.RSI1",22)and c>o)+1<25;
tja1:=BARSLAST(ref(cross("KDJ.J",0),1));
J准备:=l0 and "KDJ.J"5 and BARSLAST(cross("KDJ.J",0))+1<10;
STICKLINE(R准备 AND J准备,(0.93*SYSPARAM(5)),(0.93*SYSPARAM(5))*1.03,30,0),colorFF0080;
R卖1:="RSI.RSI1">80 and "RSI.RSI2"<80;
R卖2:="RSI.RSI1">85 and "RSI.RSI2">80;
STICKLINE("RSI.RSI1">80,h*1.01,l*0.99,10,0),color555555;
STICKLINE(R卖1,h*1.01,l*0.99,10,0),color00ff00;
STICKLINE(R卖2,h*1.01,l*0.99,10,0),colorff0000;PARTLINE(c,m34),Colorred,LINETHICK2,PRECISION2;
PARTLINE(m34
底线,COLORffabcd,LINETHICK1;{空心红}
STICKLINE(C,H,L,1,0),COLORff0000;
STICKLINE(C,C,O,8,0),COLORff0000;
STICKLINE(C>o,C,O,8,1),COLORff0000;
STICKLINE(C>O and (m34>=ref(m34,1) or ccc>m34),H,L,1,0),COLORRED;
STICKLINE(C>O and (m34>=ref(m34,1) or ccc>m34),C,O,8,1),COLORRED;
STICKLINE(C<=O and (m34>=ref(m34,1) or ccc>m34),H,L,1,0),COLORCYAN;
STICKLINE(C<=O and (m34>=ref(m34,1) or ccc>m34),C,O,8,1),COLORCYAN;
STICKLINE(C>O and (m34>=ref(m34,1) or ccc>m34) AND C>=M13,H,L,1,0),COLORFFC0DD;
STICKLINE(C>O and (m34>=ref(m34,1) or ccc>m34) AND C>=M13,C,O,8,0),COLORFFC0DD;
STICKLINE(C<=O and (m34>=ref(m34,1) or ccc>m34) AND C>=M13,H,L,1,0),COLORDDDDDD;
STICKLINE(C<=O and (m34>=ref(m34,1) or ccc>m34) AND C>=M13,C,O,8,1),COLORDDDDDD;
STICKLINE(L=ref(m34,1) or ccc>m34) AND ma(c,21)>ref(ma(c,21),1) and ma(c,21)>ma(c,34),C,O,8,0),COLOR00FFFF;
STICKLINE(L<ma(c,34) and (m34>=ref(m34,1) or ccc>m34) AND ma(c,21)>ref(ma(c,21),1) and ma(c,21)>ma(c,34) AND C<O,C,O,8,1),COLOR00FFFF;PARTLINE(m34>m55,m55),colorff0080;
PARTLINE(m21>=m34 and m21
PARTLINE(m21>=m34 and m21>=REF(m21,1),m21),COLOR00ffff,LINETHICK1,PRECISION2;
PARTLINE(m21
PARTLINE(m21<m34 and m21>=REF(m21,1),m21),COLOR00ffff,LINETHICK1,LINEDOT;PARTLINE(m13>=m34 and m13>=ref(m13,1),m13),Colorffffff,LINETHICK1,PRECISION2;
PARTLINE(m13>=m34 and m13
PARTLINE(m13=ref(m13,1),m13),Colorffffff,LINETHICK1,LINEDOT;
PARTLINE(m13<m34 and m13<ref(m13,1),m13),COLORff5959,LINETHICK1,LINEDOT;PARTLINE(m5>=m34 and m5>=ref(m5,1),m5),COLORff00ff,PRECISION2,LINETHICK1;
PARTLINE(m5>=m34 and m5
PARTLINE(m5=ref(m5,1),m5),COLORff00ff,LINEDOT,LINETHICK1;
PARTLINE(m5<m34 and m5<ref(m5,1),m5),COLORCYAN,LINETHICK1,LINEDOT;抄底:=REF(COUNT("KDJ.K"=5,1) AND COUNT("KDJ.K"<30,5)>=2 AND COUNT("KDJ.J"<0,3)>0 AND CROSS("KDJ.J",0);
DRAWTEXT(抄底 and not((ccc>m34 or m34>ref(m34,1))),l*0.98,抄/n底),COLOR00ffff,ALIGN;
DRAWTEXT(抄底 and (ccc>m34 or m34>ref(m34,1)),l*0.98,确/n认),COLORred,ALIGN;
tj00:=BARSLAST(ref(cross("KDJ.K","KDJ.D") and ref("KDJ.K",1)<35,1));
加仓:=c
DRAWTEXT(加仓 and not((ccc>m34 or m34>ref(m34,1))),l*0.98,回/n抽),COLOR5599ff,ALIGN;
DRAWTEXT(加仓 and (ccc>m34 or m34>ref(m34,1)),l*0.98,加/n仓),COLORff00ff,ALIGN;
DRAWICON(CROSS("KDJ.J",0) and (ccc>m34 or m34>ref(m34,1)),l*0.97,8),ALIGN;{主图MACD}
DIFFZ:=EMA((EMA(CLOSE,12)-EMA(CLOSE,26)),1);
DEAZ:=EMA(DIFFZ,9),COLOR00AA88;
MACDZ:=3*(DIFFZ-DEAZ);
STICKLINE(MACDZ>0 AND MACDZ>REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,0),COLORFF00FF;
STICKLINE(MACDZ>0 AND MACDZ<=REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,1),COLORFF00FF;
STICKLINE(MACDZ<0 AND MACDZ>REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,1),COLORDDDDDD;
STICKLINE(MACDZ<0 AND MACDZ<=REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,0),COLORDDDDDD;
PARTLINE(MACDZ>0 AND DIFFZ>0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR0000FF,LINETHICK1;
PARTLINE(MACDZ<=0 AND DIFFZ>0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR00FFFF,LINETHICK1;
PARTLINE(MACDZ>0 AND DIFFZ<=0,(0.9*SYSPARAM(5))),CROSSDOT,COLORFF55DD,LINETHICK1;
PARTLINE(MACDZ<=0 AND DIFFZ<=0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR66DD66,LINETHICK1;乘风趋势主图(飞狐)的选股公式如下:
>股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 大智慧大笔出货指标公式
- 下一篇: 大智慧解盘买点指标公式
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)