好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式买卖趋势2主图公式 飞狐买卖主图指标 源码

买卖趋势2主图公式 飞狐买卖主图指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-07-23 21:43:36
  • 指标公式标签:买卖 趋势
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:买卖趋势2主图公式 飞狐买卖主图指标 源码

{买卖趋势2主图}
drawgbk(1,colorrgb(0,0,100),colorrgb(0,0,0),1);
e:=(h+l+o+2*c)/5;
zl:=2*e-l;
zc:=2*e-h;
fz:=e-(h-l);
ma6:=ma(close,6);
ma18:=ma(close,18);
balance:=ema(c,30);
up:=balance + 2*std(c,30);
down:=balance- 2*std(c,30);
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
varaq:=c=hhv(c,4) and ref(c,1)=llv(c,4);
varbq:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
varcq:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
vardq:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
y1:=ref(ema(dma((((high + low) + (close * 2)) / 4.15),0.9),3),1);
var1w:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
var2w:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
var3w:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
var3p:=if(close/ref(close,1)>1.050 and high/close<1.010 and if(close>ref(close,1),88,0)>0, 91, 0);
ss:=ma((low+high+close)/3,5)>ref(ma((low+high+close)/3,5),1) and ref(ma((low+high+close)/3,5),1)<ref(ma((low+high+close)/3,5),2);
sc:=l<hhv(ma((low+high+close)/3,5),13) and h>hhv(ma((low+high+close)/3,5),13) and c>ref(c,1) and c>o;
mr:=sc and count(ss,2);
买:=mr and not(ref(mr,1));
多方:=7*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1)
-3*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1),3,1)
-sma(sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1),3,1),2,1);
var1:=(close-llv(low,24))/(hhv(high,24)-llv(low,24))*1;
var2:=sma(var1,3,1)*100;
趋势线:=sma((sma(var2,3,1)*var1),3,1)*1;
var9:=cross(趋势线,(sma(var2,3,1)*var1)) and (sma(var2,3,1)*var1)>8;
aax:=amount/vol;
bbx:=l<aax*0.9;
ccx:=(c-ref(c,1))/ref(c,1)*100>1.2;
ddx:=l<ma(c,5)*0.921;
eex:=vol<ma(v,5)*1.5;
ffx:=bbx and ccx and ddx and eex;
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
cb:=ema(x,13);

stickline(close>open,open,low,0.5,0 ),color0000ff;
stickline(close>open,close,high,0.5 ,0 ),color0000ff;
stickline(open>=close,close,low,0.5 ,0 ),color00ff00;
stickline(open>=close,open,high,0.5 ,0 ),color00ff00;
stickline(open>=close ,close ,open,7,0 ),colorff7700;
stickline(open>=close ,close ,open,6,0 ),colorff9900;
stickline(open>=close ,close ,open,5,0 ),colorffbb00;
stickline(open>=close ,close ,open,4,0 ),colorffcc00;
stickline(open>=close ,close ,open,3,0 ),colorffdd00;
stickline(open>=close ,close ,open,2,0 ),colorffee00;
stickline(open>=close ,close ,open,1,0 ),colorffff00;
stickline(close>open,close,open,7,0) ,color000055;
stickline(close>open,close,open,6,0) ,color000066;
stickline(close>open,close,open,5,0) ,color000077;
stickline(close>open,close,open,4,0) ,color000099;
stickline(close>open,close,open,3,0) ,color0000bb;
stickline(close>open,close,open,2,0) ,color0000dd;
stickline(close>open,close,open,1,0) ,color0000ff;
红:=var9q;
stickline(var9q,c,(o+c)/2,7,0),color000055;
stickline(var9q,c,(o+c)/2,6,0),color000066;
stickline(var9q,c,(o+c)/2,5,0),color000077;
stickline(var9q,c,(o+c)/2,4,0),color000099;
stickline(var9q,c,(o+c)/2,3,0),color0000bb;
stickline(var9q,c,(o+c)/2,2,0),color0000dd;
stickline(var9q,c,(o+c)/2,1,0),color0000ff;
粉:=varaq;
stickline(varaq,c,(o+c)/2,7,0),colorff11ff;
stickline(varaq,c,(o+c)/2,6,0),colorff33ff;
stickline(varaq,c,(o+c)/2,5,0),colorff55ff;
stickline(varaq,c,(o+c)/2,4,0),colorff77ff;
stickline(varaq,c,(o+c)/2,3,0),colorff99ff;
stickline(varaq,c,(o+c)/2,2,0),colorffbbff;
stickline(varaq,c,(o+c)/2,1,0),colorffddff;
灰:=varbq;
stickline(varbq,c,(o+c)/2,7,0),color333333;
stickline(varbq,c,(o+c)/2,6,0),color555555;
stickline(varbq,c,(o+c)/2,5,0),color777777;
stickline(varbq,c,(o+c)/2,4,0),color999999;
stickline(varbq,c,(o+c)/2,3,0),colorbbbbbb;
stickline(varbq,c,(o+c)/2,2,0),colordddddd;
stickline(varbq,c,(o+c)/2,1,0),colorffffff;
绿:=varcq;
stickline(varcq,o,(o+c)/2,7,0),color003300;
stickline(varcq,o,(o+c)/2,6,0),color005500;
stickline(varcq,o,(o+c)/2,5,0),color007700;
stickline(varcq,o,(o+c)/2,4,0),color009900;
stickline(varcq,o,(o+c)/2,3,0),color00bb00;
stickline(varcq,o,(o+c)/2,2,0),color00dd00;
stickline(varcq,o,(o+c)/2,1,0),color00ff00;
蓝:=vardq;
stickline(vardq,o,(o+c)/2,7,0),colorff1100;
stickline(vardq,o,(o+c)/2,6,0),colorff3300;
stickline(vardq,o,(o+c)/2,5,0),colorff5500;
stickline(vardq,o,(o+c)/2,4,0),colorff7700;
stickline(vardq,o,(o+c)/2,3,0),colorff9900;
stickline(vardq,o,(o+c)/2,2,0),colorffbb00;
stickline(vardq,o,(o+c)/2,1,0),colorffdd00;
{买卖趋势}
cg:ma(c,21),color00ff00,linethick2;
fl:hhv(cg,3),colorff0000,linethick2;
fs:cg-(fl-cg),colorred,linethick2;
ty:=c;
a1:=ref(ty,10)=hhv(ty,2*10+1); b1:=filter(a1,10);
c1:=backset(b1,10+1); hd:=filter(c1,10);
a2:=ref(ty,10)=llv(ty,2*10+1); b2:=filter(a2,10);
c2:=backset(b2,10+1); ld:=filter(c2,10);
a:=ref(c,barslast(hd));
z:=ref(l,barslast(ld));
t1:=barslast(hd)<barslast(ld) and not(hd) ;
t2:=barslast(hd)>barslast(ld) and not(ld);
前期头鄐:if(t1,a,a),colorff00ff,linethick2,pointdot;
前期底部:if(t2,z,z),colorwhite,linethick2,pointdot;
上收:=c;上开:=o;上高:=h; 上低:=l;
止赢逃命:ma(ref(hhv(上收,21),1),21),circledot,color00ffff,linethick0;
全仓杀入:ma(ref(llv(上收,30),1),21),circledot,colorred ,linethick0 ;
明日买卖提示:ema(close,3.5),colorf00ff0;
drawtext(cross(明日买卖提示,止赢逃命) ,明日买卖提示-0.1,'------追涨'),color00ff00;
drawtext(cross(止赢逃命,明日买卖提示) ,止赢逃命+0.2,'-减仓-'),color00ffff;
drawtext(cross(明日买卖提示,全仓杀入) ,明日买卖提示-0.1,'买进-------'),colorffff00;

{开盘既知今天高低价}
高:=ma(ref(h,1)/ref(c,2),27)*ref(c,1);
低:=ma(ref(l,1)/ref(c,2),27)*ref(c,1);
a5:=低[sysparam(1)];
ra5:=低[sysparam(1)-1];
a10:=高[sysparam(1)];
ra10:=高[sysparam(1)-1];
jt5:=if(a5>ra5,'↑','↓');
jt10:=if(a10>ra10,'↑','↓');
sz1:='开盘预测最高价:'+numtostr(高[sysparam(1)],2)+jt10;
drawtext(barpos=sysparam(2),c,sz1),align4,colormagenta;
sz:='\n \n开盘预测最低价:'+numtostr(低[sysparam(1)],2)+jt5;
drawtext(barpos=sysparam(2),c,sz),align4,colorgreen;
{多空方向}
mg:=ema(high,3);
ml:=ema(close,3);
买入:=c>mg;
卖出:=c<ml;
xxl:=ref(买入-卖出,barslast(买入-卖出<>0));
drawicon(xxl>0,h,4),align5;
drawicon(xxl<0,l,5),align5;
{止盈止损}
cbl1:=if(ref(h,2)>ref(h,3),ref(h,2),ref(h,3));{cbl第一次变红入场,变蓝出。}
cbl3:=if(ref(l,2)<ref(l,3),ref(h,2),cbl1);
cbl2:=if(ref(h,3)>=ref(h,2),ref(h,2),ref(h,3));
cbl4:=if(h<ref(h,2 or l<ref(l,2)),ref(h,2),cbl2);
cb5:=if(h>=ref(h,1) and l>ref(l,1 ),cbl4,cbl3);
cbl6:=if(h>ref(h,1) and ref(h,1)>ref(h,2) and l<ref(h,2) and o>c,h,cb5);
cbl7:=if(l<ref(l,1) and ref(l,1)<ref(l,2)and ref(l,2)<ref(l,3) and c>o and (ref(l,1)-l)/l>0.015,l,cbl6);
cbl:if(ref(l,1)<ref(l,2) and ref(l,2)<ref(l,3) and ref(l,3)<ref(l,4) and ref(c,1)>ref(o,1),ref(l,2),cbl7),,colorff9963,linethick0;
stickline((barpos = (sysparam(1) - 0)and cbl<c),cbl,cbl,240,0),colorred;
stickline((barpos = (sysparam(1) - 0)and cbl>=c),cbl,cbl,240,0),colorblue;

{指标说明:
1.买卖提示向上突破"全仓杀入"红圈线、为买进信号.
2.买卖提示向上突破"止鸁逃命"黄圈线、为追涨信号.
3.买卖提示向下跌破"止鸁逃命"黄圈线、为卖出信号.
4.买卖提示低于"全仓杀入"红圈线为观望区,坚持空仓等待启动点岀现.
5.买卖提示高于"止鸁逃命"黄圈线为持股区,坚持满仓等待卖岀点岀现.
6.红黄圈之间的(兰、绿、红)三线向下开口运行方向,为短线趋势;三线合一红
线向上、为短线向好趋势.
7.红黄圈之间的粉、绿变色线代表长线趋势,粉色为上升趋势、绿色为下降趋势.

操作要领:
1.有时间盯盘的按15分钟短线波段操作,只做"吃鱼身子"的上升行情,
2.没时间看盘的按60分钟做波段操作,也能将"鱼"吃干净.
3.长线爱好者用周线选股可免盯、看盘之苦,安然做"投资".
4.中线爱好者用日线选股可安然做波段,避免坐"电梯".
5.短线爱好者用30分钟线看盘可享受"冲浪"的快乐,安全做"投机".
6.高手中的高手用1分钟线盯盘可享受"权证"的盛宴,"痛并快乐着".

操盘要点:
1.定位:量身定做一套发挥"自身条件"的操作方案,严守买卖纪律.
2.定势:趋势方向的判定,信自己的"感觉",顺势者心自顺.
3.定量:针对不同(亇股)行情阶段,严控投入资金比例,进退自如,先立于不败之地.
4.定律:破底莫入、破顶莫追,顺势而为,"积沙成丘".}


买卖趋势2主图

  >>>使用本站搜索工具可以找到更多买卖趋势2主图公式 飞狐买卖主图指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文买卖趋势2主图公式 飞狐买卖主图指标 源码仅供学习研究。

猜你喜欢

学了又学