短趋势线是判断股价的走势的短趋势性指标。在指标的底部区域显示。线变红买,可做多,卖点可参考其它指标。
var2n:=1;
v1:=(ma(((100 * (close - llv(close,34))) / (hhv(high,34) - llv(low,34))),5) - 20);
v2:=(2 * abs(v1));
v3:=(100 - ((100 - (3 * sma((((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100),20,1))) + (2 * sma(sma((((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100),20,1),15,1))));
v4:=(100 - ((100 - (3 * sma((((open - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100),20,1))) + (2 * sma(sma((((open - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100),20,1),15,1))));
v5:=(((high + low) + close) / 3);
v6:=((v5 - ma(v5,10)) / (0.015 * avedev(v5,10)));
v7:=((v5 - ma(v5,30)) / (0.015 * avedev(v5,30)));
v8:=if(((((v6 >= 150) and (v6 < 200)) and (v7 >= 150)) and (v7 < 200)),10,0);
v9:=(if(((((v6 <= (0 - 150)) and (v6 > (0 - 200))) and (v7 <= (0 - 150))) and (v7 > (0 - 200))),(0 - 10),v8) * var2n);
va:=(((close - ma(close,13)) / ma(close,13)) * 100);
vb:=(100 - abs(va));
vc:=((3 * sma((((indexc - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55))) * 100),20,1)) - (2 * sma(sma((((indexc - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55))) * 100),20,1),15,1)));
vd:=((3 * sma((((indexo - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55))) * 100),20,1)) - (2 * sma(sma((((indexo - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55))) * 100),20,1),15,1)));
ve:=(ref(low,1) * 0.9);
vf:=(low * 0.9);
v10:=(((vf * vol) + (ve * (capital - vol))) / capital);
v11:=ema(v10,30);
v12:=(v11 - close);
v13:=ref(close,1);
v14:=((sma(max((close - v13),0),7,1) / sma(abs((close - v13)),7,1)) * 100);
v15:=((sma(max((close - v13),0),13,1) / sma(abs((close - v13)),13,1)) * 100);
v16:=barscount(close);
v17:=((sma(max((close - ref(close,1)),0),6,1) / sma(abs((close - ref(close,1))),6,1)) * 100);
v18:=(((((0 - 100) * (hhv(high,60) - close)) / (hhv(high,60) - llv(low,60))) + 50) * 2);
v19:=(((close - llv(low,15)) / (hhv(high,15) - llv(low,15))) * 100);
v1a:=((sma(v19,4,1) - 50) * 2);
v1b:=sma(v1a,3,1);
v1c:=(((indexc - llv(indexl,14)) / (hhv(indexh,14) - llv(indexl,14))) * 100);
v1d:=sma(v1c,4,1);
v1e:=sma(v1d,3,1);
v1f:=(((hhv(high,30) - close) / close) * 100);
v20:=(if((((((((((v17 <= 25) and (v18 < (0 - 95))) and (v1f > 20)) and (v1b < (0 - 30))) and (v1e < 30)) and (v12 >= (0 - 0.25))) and (v14 < 22)) and (v15 < 28)) and (v16 > 50)),80,0) * var2n);
空方:(0 - (if((v1 < 0),v2,0) * var2n));
stickline(空方>ref(空方,1),0,空方,4,0),,colorff00ff;
stickline(空方<ref(空方,1),0,空方,4,0),colorcyan;
(0 - 40);
c0:=(((high + low) + close) / 3);
a1:=hhv(c0,14);
a2:=llv(c0,14);
a3:=(a1 - a2);
a4:=(ema(((c0 - a2) / a3),2) * 100);
b1:=hhv(c0,30);
b2:=llv(c0,30);
b3:=(b1 - b2);
b4:=(ema(((c0 - b2) / b3),2) * 100);
c1:=hhv(c0,55);
c2:=llv(c0,55);
c3:=(c1 - c2);
c4:=(ema(((c0 - c2) / c3),2) * 100);
a10:=(a4 - 50);
a20:=(b4 - 50);
a30:=(c4 - 50);
drawicon(cross(a1,0),0,4);
rsv2:=(((close - llv(low,30)) / (hhv(high,30) - llv(low,30))) * 100);
k2:=sma(rsv2,3,1);
d2:=sma(k2,3,1);
j2:=((3 * k2) - (2 * d2));
动力线:(ema(j2,6) * var2n),colorwhite;
涨:if(动力线>ref(动力线,1),动力线,drawnull),colorred,linethick2;
平:=if(动力线=ref(动力线,1),动力线,drawnull),color00ffff,linethick2;
跌:if(动力线<ref(动力线,1),动力线,drawnull),color80ff00,linethick2;
n:=27;
m1:=9;
m2:=5;
m3:=3;
a:=6;
b:=49;
var2:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;
var3:=sma(var2,m1,1);
vara:=(close-llv(low,21.55))/(hhv(high,21.55)-llv(low,34))*80;
varb:=sma(vara,9,1);
varc:=sma(varb,5,1);
lc:=ref(close,1);
山:=sma(max(close-lc,0),a,1)/sma(abs(close-lc),a,1)*100;
花:=cross(山,14);
底1:=if(cross(varb,varc) and varb<13,20,0);
顶:if(cross(68,山),81,100),linethick1,colorgreen;
底:if((底1 or 花),30,0),linethick1,coloryellow;
var8:=vol>2*ma(vol,30);
var9:="dmi.adx"(12,6);
vara:="dmi.adxr"(12,6);
varb:=close>ma(close,30) and close<ma(close,30)*1.04;
varc:=ma(close,30)>ref(ma(close,30),1);
vard:=barslast(cross(ma(close,5),ma(close,10)))<barslast(cross(ma(close,10),ma(close,5)));
varf:=troughbars(3,15,1)<4;
var10:=ema(close,30)>ref(ema(close,30),2);
var11:=if(varf=1,50,0);
多空:=ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3),colorwhite;
0,colorred;
stickline(filter(varf=1,5) and 多空<-10,50,0,15,0),colorf00ff0;
stickline(filter(varf=1,5),50,0,8,0),coloryellow;
drawtext(filter(varf=1,3),25,'黑马'),colorred ;
var1:=ref((low+open+close+high)/4,1);
var2:=sma(abs(low-var1),13,1)/sma(max(low-var1,0),10,1);
var3:=ema(var2,10);
var4:=llv(low,33);
var5:=ema(if(low<=var4,var3,0),3);
z:0,colorblack;
主力进场:if(var5>ref(var5,1),var5,0),colorred,nodraw;
洗盘:if(var5<ref(var5,1),var5,0),colorgreen,nodraw;
stickline(var5<ref(var5,1),0,var5,3,0),colorgreen;
stickline(var5>ref(var5,1),0,var5,3,0 ),color000055;
stickline(var5>ref(var5,1),0,var5,2.6,0 ),color000077;
stickline(var5>ref(var5,1),0,var5,2.1,0 ),color000099;
stickline(var5>ref(var5,1),0,var5,1.5,0 ),color0000bb;
stickline(var5>ref(var5,1),0,var5,0.9,0 ),color0000dd;
stickline(var5>ref(var5,1),0,var5,0.3,0 ),color0000ff;
stickline(var5<ref(var5,1),0,var5,3,0),color005500;
stickline(var5<ref(var5,1),0,var5,2.6,0),color007700;
stickline(var5<ref(var5,1),0,var5,2.1,0),color009900;
stickline(var5<ref(var5,1),0,var5,1.5,0),color00bb00;
stickline(var5<ref(var5,1),0,var5,0.9,0),color00dd00;
stickline(var5<ref(var5,1),0,var5,0.3,0),color00ff00;
var21:=sma(abs(high-var1),13,1)/sma(min(high-var1,0),10,1);
var31:=ema(var21,10);
var41:=hhv(high,33);
var51:=ema(if(high>=var41,var31,0),3);
主力拉高:if(var51<ref(var51,1),var51,0),coloryellow,nodraw;
stickline(var51<ref(var51,1),0,var51,3,0),coloryellow;
出货:if(var51>ref(var51,1),var51,0),colorcyan,nodraw;
stickline(var51>ref(var51,1),0,var51,3,0 ),colorcyan;
上一指标公式:买入大涨指标公式详解 同花顺大涨指标
下一指标公式:乾坤谱指标公式详解 同花顺乾坤
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文动力线走向指标公式详解 同花顺走向仅供学习研究。