h1:=ema(close,5);
h2:=ema(h1,12);
upr:h2+3*std(h2,10),color008364,linethick2;
dwn:h2-3*std(h2,10),color008364,linethick2;
var1:=(close*2+high+low)/4;
var2:=(3*high+low+open+2*close)/7;
var3:=ema(var2,3);
var4:=ema(var3,6);
l1:= ema(var2,3);
l2:= ema(var3,4);
l3:= ema(var4,5);
stickline(l1>=l2,(open),(close),6,0), colorred;
stickline(l1>=l2,(high),(low),0.5,0), colorred;
stickline(l1<l2,(close),(open),6,0) ,colorgreen;
stickline(l1<l2,(high),(low),0.5,0), colorgreen;
var5:=ref(l1,1)>l1 and l1>l2;
var6:=l1>l2 and close<open;
var7:=ref(l1,1)<l1 and l1<l2;
stickline(var5,(open),(close),6,0), colorblue;
stickline(var5,(high),(low),0.5,0), colorblue;
stickline(var7,(open),(close),6,0), colormagenta;
stickline(var7,(high),(low),0.5,0), colormagenta;
vare:=sar(5,1,5);
varf:=ma(close,20);
var10:=if(close>450,8,if(close>=20 and close<150,0.2,if(close<20 and close>=10,0.07,if(close<10,0.03,0.07))));
stickline(close>vare,varf,varf+var10,6,0),color0066ff;
stickline(close<vare,varf,varf-var10,6,0),colorffff00;
stickline(cross(close,vare),varf,varf-var10,6,0);
stickline(cross(vare,close),varf,varf+var10,6,0);
stickline(range(day,6,9) or range(day,27,30),varf+0.01,varf-0.01,6,0),color00ffff;
ma20:=ma(c,20);
ma120:=ma(c,120);
ma250:=ma(c,250);
乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;
tt1:=cross(ma20,ma120)and cross(ma20,ma250) and v>ref(v,1);
tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);
stickline(tt1,l,l-0.09,4,0),coloryellow;
drawtext(tt1,l-0.13,'金叉'),coloryellow;
stickline(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;
drawtext(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线开花'),coloryellow;
stickline(tt2,l,l-0.09,4,0),coloryellow;
drawtext(tt2,l-0.13,'买点1'),coloryellow;
stickline(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
drawtext(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;
stickline(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;
drawtext(ma250>=ref(ma250,1) andma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;
stickline(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;
drawtext(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'),colorff00ff;
rsv:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=((3 * k) - (2 * d));
rsv24:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=((3 * k24) - (2 * d24));
u2l:=if((close >= ma(close,20)),80,50);
l2l:=if((close >= ma(close,20)),50,20);
rh1:=if(((j < u2l) and (ref(j,1) >= u2l)),hhv(ref(high,1),(barslast(((j >= u2l) and (ref(j,1) < u2l))) - 1)),ref(hhv(ref(high,1),(barslast(((j >= u2l) and (ref(j,1) < u2l))) - 1)),barslast(((j < u2l) and ref(j,1)))));
rh4:=if((high > rh1),low,ref(low,barslast((high > rh1))));
rh42:=if((high > rh1),j,ref(j,barslast((high > rh1))));
rh5:=if((((high > rh4) and (j < rh42)) and (j < j24)),high,ref(high,barslast((((high > rh4) and (j < rh42)) and (j < j24)))));
drawtext(filter(((((((((open > ma120) and (ma20 < ma120)) and (low <= ma120)) and ((ma20 - ref(ma20,1)) > 0)) and (close > open)) and ((ma120 -ref(ma120,1)) > 0)) and (high < rh5)) and (close >= ma120)),15),low,'★120跳马');
通达信(源码)
h1:=ema(close,5);
h2:=ema(h1,12);
upr:h2+3*std(h2,10),color008364,linethick2;
dwn:h2-3*std(h2,10),color008364,linethick2;
var1:=(close*2+high+low)/4;
var2:=(3*high+low+open+2*close)/7;
var3:=ema(var2,3);
var4:=ema(var3,6);
l1:= ema(var2,3);
l2:= ema(var3,4);
l3:= ema(var4,5);
stickline(l1>=l2,(open),(close),2,0), colorred;
stickline(l1>=l2,(high),(low),0,0), colorred;
stickline(l1<l2,(close),(open),2,0) ,colorgreen;
stickline(l1<l2,(high),(low),0,0), colorgreen;
var5:=ref(l1,1)>l1 and l1>l2;
var6:=l1>l2 and close<open;
var7:=ref(l1,1)<l1 and l1<l2;
stickline(var5,(open),(close),2,0), colorblue;
stickline(var5,(high),(low),0,0), colorblue;
stickline(var7,(open),(close),2,0), colormagenta;
stickline(var7,(high),(low),0,0), colormagenta;
vare:=sar(5,1,5);
varf:=ma(close,20);
var10:=if(close>450,8,if(close>=20 and close<150,0.2,if(close<20 and close>=10,0.07,if(close<10,0.03,0.07))));
stickline(close>vare,varf,varf+var10,2,0),color0066ff;
stickline(close<vare,varf,varf-var10,2,0),colorffff00;
stickline(cross(close,vare),varf,varf-var10,2,0);
stickline(cross(vare,close),varf,varf+var10,2,0);
stickline(range(day,6,9) or range(day,27,30),varf+0.01,varf-0.01,2,0),color00ffff;
ma20:=ma(c,20);
ma120:=ma(c,120);
ma250:=ma(c,250);
乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;
tt1:=cross(ma20,ma120)and cross(ma20,ma250) and v>ref(v,1);
tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);
stickline(tt1,l,l-0.09,4,0),coloryellow;
drawtext(tt1,l-0.13,'金叉'),coloryellow;
stickline(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;
drawtext(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线开花'),coloryellow;
stickline(tt2,l,l-0.09,4,0),coloryellow;
drawtext(tt2,l-0.13,'买点1'),coloryellow;
stickline(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
drawtext(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;
stickline(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;
drawtext(ma250>=ref(ma250,1) andma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;
stickline(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;
drawtext(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'),colorff00ff;
rsv:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=((3 * k) - (2 * d));
rsv24:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=((3 * k24) - (2 * d24));
u2l:=if((close >= ma(close,20)),80,50);
l2l:=if((close >= ma(close,20)),50,20);
rh1:=if(((j < u2l) and (ref(j,1) >= u2l)),hhv(ref(high,1),(barslast(((j >= u2l) and (ref(j,1) < u2l))) - 1)),ref(hhv(ref(high,1),(barslast(((j >= u2l) and (ref(j,1) < u2l))) - 1)),barslast(((j < u2l) and ref(j,1)))));
rh4:=if((high > rh1),low,ref(low,barslast((high > rh1))));
rh42:=if((high > rh1),j,ref(j,barslast((high > rh1))));
rh5:=if((((high > rh4) and (j < rh42)) and (j < j24)),high,ref(high,barslast((((high > rh4) and (j < rh42)) and (j < j24)))));
drawtext(filter(((((((((open > ma120) and (ma20 < ma120)) and (low <= ma120)) and ((ma20 - ref(ma20,1)) > 0)) and (close > open)) and ((ma120 -ref(ma120,1)) > 0)) and (high < rh5)) and (close >= ma120)),15),low,'★120跳马');
上一指标公式:单线双线短多短空公式下载 通达信单线
下一指标公式:一目了然-海燃公式下载 通达信了然
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文应网友的要求上传新改编的另类布林2主图大智慧。公式下载 通达信改编源码仅供学习研究。