程序化指标公式
问答中心

大智慧新手也可以有高手范主图指标公式

大智慧公式 2019-06-10阅读量:7208

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作

ma3:ma(close,3),color9000f5;
ma18:ma(close,18),color0099ff,linethick2;
m10:=ema(c,10); 
ff:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd:=dma(close,ff);
高抛:(1+14/100)*dd,dotline,colorgreen;
压力:(1+7/100)*dd,dotline,colorffff00;
支撑:(1-7/100)*dd,dotline,colorblue;
低吸:(1-14/100)*dd,dotline,colorred;
中轨:(压力+支撑)/2,dotline,colormagenta;
drawtext(barstatus=2,高抛,'高抛'),colorgreen;    
drawtext(barstatus=2,压力,'压力'),colorffff00;      
drawtext(barstatus=2,中轨,'中轨'),colormagenta;      
drawtext(barstatus=2,支撑,'支撑'),colorblue;    
drawtext(barstatus=2,低吸,'低吸'),colorred;
partline(ma3,ma3>=ref(ma3,1) and ma3>支撑,rgb(255,0,0)),linethick4;
a:=(ref(ema(close,5),1));{程序化指标官方网址 www.honghaie.com}
b:=cross(ema(close,5),ema(slope(close,21)*20+close,42));
drawtext(b,low*0.995,'追'),colorffff00,linethick2;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1); d:=sma(k,3,1); j:=3*k-2*d;
drawtext(cross(j,d),low*0.98,'加'),color00ffff,linethick2;
var29:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var2a:=sma(var29,5,1); var2b:=sma(var2a,10,1);
var2c:=cross(var2b,var2a); var2d:=var2b>80 or var2a>80;
var2e:=var2c and var2d;  var33:=high; var34:=low;
逃顶:=stickline(var2e,var33,var34,4,0);
drawtext(cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),high*1.01,'抛'),colorgreen;
x6:=ref(close,1);  x7:=sma(max(close-x6,0),7,1)/sma(abs(close-x6),7,1)*100;
x8:=cross(79,x7); x9:=filter(x8,4); drawtext(x9,high*1.03,'出货');
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,3.15,0),color337777;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,2.45,0),color339999;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,1.75,0),color33bbbb;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,1.05,0),color33dddd;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,0.35,0),color33ffff;
drawtext(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l*0.99,'地量买点'),color33ffff;
drawtext(cross(88,"rsi.rsi1"),(high*1.01),'r背'),color00ff00;
var2s:=(2*close+high+low)/4; var3s:=if(year>=2099 and month>2,0,1);
var4s:=llv(low,5); var5s:=hhv(high,4);
散户:=ema((var2s-var4s)/(var5s-var4s)*100,4)*var3s;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3s;
stickline(cross(散户,庄家) and 散户<30,l,open,3.15,0),color770077;
stickline(cross(散户,庄家) and 散户<30,l,open,2.45,0),color990099;
stickline(cross(散户,庄家) and 散户<30,l,open,1.75,0),colorbb00bb;
stickline(cross(散户,庄家) and 散户<30,l,open,1.05,0),colordd00dd;
stickline(cross(散户,庄家) and 散户<30,l,open,0.35,0),colorff00ff;
drawtext(cross(散户,庄家) and 散户<30,l*0.99,'吸'),colorff00ff;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭