v1:=(c*2+h+l)/4*10;
v2:=ema(v1,13)-ema(v1,34);
v3:=ema(v2,5); v4:=2*(v2-v3)*5.5;
主力撤: if(v4<=0,v4,0),colorblue;
主力进: if(v4>=0,v4,0),colorff00ff;
v5:=(hhv(indexh,8)-indexc)/(hhv(indexh,8)-llv(indexl,8))*8;
v6:=ema(3*v5-2*sma(v5,18,1),5);
v7:=(indexc-llv(indexl,8))/(hhv(indexh,8)-llv(indexl,8))*10;
v8:=(indexc*2+indexh+indexl)/4;
v9:=ema(v8,13)-ema(v8,34);
va:=ema(v9,3);
vb:=(v9-va)/2;
大盘资金进场:if(vb>=0,vb,0),colorred;
大盘资金撤走:if(vb<=0,vb,0),colorgreen;
v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
趋势线: ema(v11,3);
v12:=(趋势线-ref(趋势线,1))/ref(趋势线,1)*100;
准备现金: stickline(趋势线<=13,0,20,5,0),colorcc9900;
aa:=(趋势线<=13) and filter((趋势线<=13),15);
drawtext (aa,30,'准备现金'),colorcc9900;
买入股票: stickline(趋势线<=13 and v12>13,0,50,5,0),color0099ff;
bb:= (趋势线<=13 and v12>13) and filter((趋势线<=13 and v12>13),10) ;
drawtext (bb,60,'买入股票'),color0099ff;
卖临界: stickline(趋势线>92 and 趋势线>ref(趋势线,1),100,95,15,1),colorffff00;
见顶清仓:filter(趋势线>92 and 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8);
drawtext( 见顶清仓,92,'逃顶'),coloryellow;
cc:=(趋势线>=92 and v12) and filter((趋势线>=92 and v12),10);
stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;
stickline(大盘资金撤走 and 趋势线>92,0,30,10,0),colorgreen;
stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;
stickline(主力撤 and 趋势线>92,0,40,10,0),colorblue;
ma13:ma(c,13),colorwhite;
ma34:ma(c,34),colorff00ff;
ma55:ma(c,55),colorffcc66;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
低吸:=cross(rsi,11);
drawtext(低吸,l,'★'),colorwhite;
drawtext(低吸,l-0.05,'低吸'),colorwhite;
var7:=ema(amount/vol/100,3);
var8:=ema(var7,88);
var9:=ema(var7,88)*0.85;
vara:=var9*0.87;
varb:=low<vara and close>ref(close,1)*1.02;
drawtext(filter(varb,6),l-0.05,'买'),colorff00ff;
drawtext(filter(varb,6),l,'★'),colorff00ff;
varf:=(2*close+high+low)/4;
va4:=llv(low,34);
va5:=hhv(high,34);
va6:=ema((varf-va4)/(va5-va4)*100,6);
va7:=ema(0.667*ref(va6,1)+0.333*va6,4);
drawtext(if(count(close<ref(close,1),8)/8>0.3 and count(va6>va7,3) and ref(low,1)=llv(low,120) and
close>open,1,0),l,'★'),coloryellow;
drawtext(if(count(close<ref(close,1),8)/8>0.3 and count(va6>va7,3) and ref(low,1)=llv(low,120) and
close>open,1,0),l-0.05,'出击'),coloryellow;
a:=(3*close+low+open+high)/6;
d1:=(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))/211;
d2:=ema(d1,2);
d3:=ema(d2,2);
k1:=ema(d3,2);
drawtext(cross(d1,k1),l-0.05,'买'),color0099ff;
drawtext(cross(d1,k1),l,'★'),color0099ff;
多方趋势:=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);
天线:=78.89;
stickline(cross(天线,多方趋势),h*1.02,h*1.00,6,0),color00ff00;
drawtext(cross(天线,多方趋势),h*1.04,'逃'),color00ff00;
lowv:=llv(low,9);
highv:=hhv(high,9);
rsv:=ema((close-lowv)/(highv-lowv)*100,3);
k:ema(rsv,3);
d:ma(k,3);
stickline(k>d , k,d ,2.5,0),colorred,linethick2;
stickline(d>k,k,d,2.5,0),colorgreen,linethick2;
逃顶线:90,colorgreen;
中轴线: 50,colorred;
抄底线:10,coloryellow;
drawicon(cross(k,d) and k<=50,12,11),colorred;
drawicon(cross(d,k) and k>=80,88,4),colorgreen;
a1:=barslast(ref(cross(k,d),1));
底背离:ref(close,a1+1)>close and k>ref(k,a1+1) and cross(k,d);
drawline(a1=0,d,底背离,d,0),colorred,linethick1;
a2:=barslast(ref(cross(d,k),1));
顶背离:ref(close,a2+1)<close and ref(d,a2+1)>d and cross(d,k);
drawline(a2=0,d,顶背离,d,0),colorgreen,linethick1;
drawtext(底背离>0,d-5,'加仓'),colorred;
drawtext(顶背离>0,d-5,'减仓'),colorgreen;
drawtext(cross(k,d) and (d < 8),30,'买'),colorred;
stickline(cross(k,d) and (d < 8)=1,3,20,8,0),colorred;
drawtext(cross(d,k) and (d > 85),70,'卖'),colorgreen;
stickline(cross(d,k) and (d > 85)=1,85,70,8,0),colorgreen;
短趋势线:ma(close,13),colorred,linethick2;
涨:if(短趋势线>ref(短趋势线,1),短趋势线,drawnull),colorred,linethick2;
平:=if(短趋势线=ref(短趋势线,1),短趋势线,drawnull),color00ffff,linethick2;
跌:if(短趋势线<ref(短趋势线,1),短趋势线,drawnull),color80ff00,linethick2;
上一指标公式:无封顶量化KDJ指标公式详解 同花顺量化KDJ
下一指标公式:趋势多空决战指标公式详解 同花顺多空趋势
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文逃顶抄底参考指标公式详解 同花顺抄底仅供学习研究。