x:=(3*c+l+o+h)/6;
a0x:=ref(ema(c,14),1);
a1x:=(ema(c,10)-a0x)/a0x*100;
a2x:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),ref(ema(c,10),barslast(cross(0,a1x))+1));
多空线:=(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)
+13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)
+7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+
ref(x,20))/210,coloryellow;
持币:=hhv(ma(ma((low+high+close)/3,4),3*1),2);
持股:=llv(ma(ma((low+high+close)/3,4),3*1),1);
上线止赢:hhv(ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),1),13),coloryellow,linethick2;
下线止损:if(llv(ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),8),3)<sma(sma(sma(ma(c,1),2,1),2,1),2,1),
llv(ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),8),3),sma(sma(sma(ma(c,1),2,1),2,1),2,1)),linethick2,colorgreen;
fillrgn(多空线,a2x,多空线>=ref(a2x,1),rgb(250,50,50))
and fillrgn(多空线,a2x,多空线<ref(a2x,1),rgb(50,50,255));
fillrgn(sma(sma(sma(ma(c,1),2,1),2,1),2,1),ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),3),sma(sma(sma(ma(c,1),2,1),2,1),2,1)>
ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),3),rgb(255,200,0),sma(sma(sma(ma(c,1),2,1),2,1),2,1)<ma(sma(sma(sma(ma(c,1),2,1),2,1),2,1),3),rgb(0,255,0));
mvar6:=ref(low,1)*0.9;//www.goodgongshi.com
mvar7:=low*0.9;
mvar10:=(mvar7*vol+mvar6*(capital-vol))/capital;
mvar11:=ema(mvar10,30);
mvar12:=close-ref(close,1);
mvar13:=max(mvar12,0);
mvar14:=abs(mvar12);
mvar15:=sma(mvar13,7,1)/sma(mvar14,7,1)*100;
mvar16:=sma(mvar13,13,1)/sma(mvar14,13,1)*100;
mvar17:=barscount(close);
mvar18:=sma(max(mvar12,0),6,1)/sma(abs(mvar12),6,1)*100;
mvar19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
mvar20:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
mvar21:=sma((sma(mvar20,4,1)-50)*2,3,1);
mvar22:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
mvar23:=sma(mvar22,4,1);
mvar24:=sma(mvar23,3,1);
mvar25:=(hhv(high,30)-close)/close*100;
打压建仓:=mvar18<=25 and mvar19<-95 and mvar25>20 and mvar21<-30 and mvar24<30 and mvar11-close>=-0.25 and mvar15<22 and mvar16<28 and mvar17>50,colorred ;
mvar31:=ref(c,2)*0.865;
mvar32:=ref(c,13)*0.772;
mvar33:=100*vol/capital;
抄底:=if((c-min(mvar31,mvar32))/c<0.1 and sum(mvar33,5)/5<1.8,-5, 0),color00ff00;
mvar34:=sma(max(close-ref(close,1),0),5,1)/sma(abs(close-ref(close,1)),6,1)*100;
抛压:=cross(84,mvar34),colorgreen;
mvar35:=100-3*sma((close-llv(low,66))/(hhv(high,66)-llv(low,66))*100,20,1)+2*sma(sma((close-llv(low,66))/(hhv(high,66)-llv(low,66))*100,20,1),15,1);
mvar36:=100-3*sma((open-llv(low,66))/(hhv(high,66)-llv(low,66))*100,20,1)+2*sma(sma((open-llv(low,66))/(hhv(high,66)-llv(low,66))*100,20,1),15,1);
mvar37:=mvar35<ref(mvar36,1) and vol>ref(vol,1) and close>ref(close,1);
大资金:=(mvar37 and count(mvar37,30)=1),colorred;
mvar38:=amount/vol/1000;
mvar39:=(3*high+low+open+2*close)/7;
mvar40:=sum(amount,13)/mvar38/1000;
mvar41:=dma(mvar39,vol/mvar40);
mvar42:=(close-mvar41)/mvar41*1000;
极低:=(cross(mvar42,-166)),colorcyan;
mvar43:=((amount)/(vol))/(100);
mvar44:=((3)*(high)+low+open+(2)*(close))/(7);
mvar45:=((sum(amount,7))/(mvar43))/(100);
mvar46:=dma(mvar44,(vol)/(mvar45));
mvar47:=((close-mvar46)/(mvar46))*(100);
mvar48:=((close-llv(low,34))/(hhv(high,34)-llv(low,34)))*(100);
mvar49:=ma(mvar47,20)+std(mvar47,20);
mvar50:=((close-ma(close,18))/(ma(close,18)))*(100);
mvar51:=sma(mvar48,3,1);
风险:=(ref(mvar50,1)>=5 and cross(mvar49,mvar47) and mvar51>79),colorgreen;
drawtext(打压建仓 ,l*0.97,'打'),colorred;
drawtext((抛压=1),h*1.01,'抛压'),colorgreen;
drawtext(cross(mvar42,-166),l*0.998,'低买'),colorcyan;
drawtext(ref(mvar50,1)>=5 and cross(mvar49,mvar47) and mvar51>79,h*1.02,'风险'),coloryellow;
drawtext(抄底 ,l,'短'),colorgreen;
drawtext(抄底 ,l*0.98,'底'),colorgreen;
drawtext((大资金=1),l,'大资金'),coloryellow;
stickline(close>open,close,open,8,0),color000084;
stickline(close>open,close,open,7,0),color000095;
stickline(close>open,close,open,6,0),color0000a2;
stickline(close<open,close,open,8,0),color007700;
stickline(close<open,close,open,7,0),color008e00;
stickline(close<open,close,open,6,0),color009900;
stickline(c>持股 and c>a2x,c,o,5,0),color0000b3;
stickline(c>持股 and c>a2x,c,o,4,0),color0000c8;
stickline(c>持股 and c>a2x,c,o,3,0),color0000d7;
stickline(c>持股 and c>a2x,c,o,2,0),color0000ea;
stickline(c>持股 and c>a2x,h,l,1,0),color0000ff;
stickline(c<持股 and c<a2x,c,o,5,0),color00a600;
stickline(c<持股 and c<a2x,c,o,4,0),color00b500;
stickline(c<持股 and c<a2x,c,o,3,0),color00c600;
stickline(c<持股 and c<a2x,c,o,2,0),color00d500;
stickline(c<持股 and c<a2x,h,l,1,0),color00e600;
stickline(c>持股 and c<a2x,close,open,5,0) ,colorff66ff;
stickline(c>持股 and c<a2x,close,open,4,0) ,colorff88ff;
stickline(c>持股 and c<a2x,close,open,3,0) ,colorff99ff;
stickline(c>持股 and c<a2x,close,open,2,0) ,colorffaaff;
stickline(c>持股 and c<a2x,h,l,1,0) ,colorffbbff;
stickline(c<持股 and c>a2x,c,o,5,0),color00bbff;
stickline(c<持股 and c>a2x,c,o,4,0),color00ccff;
stickline(c<持股 and c>a2x,c,o,3,0),color00ddff;
stickline(c<持股 and c>a2x,c,o,2,0),color00eeff;
stickline(c<持股 and c>a2x,h,l,1,0),color00ffff;
mvar61:=barslast(cross((ma((high + low) / 5,4)) - (ma((high + low) / 5,34)),0));
mvar62:=barslast(cross(0,(ma((high + low) / 5,4)) - (ma((high + low) / 5,34))));
mvar63:=barslast(ref(cross((ma((high + low) / 5,4)) - (ma((high + low) / 5,34)),0),1));
mvar64:=barslast(ref(cross(0,(ma((high + low) / 5,4)) - (ma((high + low) / 5,34))),1));
mvar65:=if((mvar63 < mvar64),(ref((hhv(high,2)),mvar63)),(ref((llv(low,2)),mvar64)));
mvar66:=(((ref(close,1)) <= (ref(mvar65,1))) and (close > mvar65)) and (mvar61 <mvar62);
mvar67:=(((ref(close,1)) >= (ref(mvar65,1))) and (close < mvar65)) and (mvar62< mvar61);
mvar68:=mvar66 and ((count(mvar66,mvar61)) = 1);
mvar69:=mvar67 and ((count(mvar67,mvar62)) = 1);
mvar70:=mvar68 and ((ref(barslast(mvar69),1)) < (ref(barslast(mvar68),1)));
上一指标公式:A波段趋势指标公式详解 同花顺波段
下一指标公式:招财猫副图指标公式详解 同花顺招财猫
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文买卖趋势主图指标公式详解 同花顺趋势仅供学习研究。