好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式K线买卖源代码指标详解 通达信源代码

K线买卖源代码指标详解 通达信源代码

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-10-09 14:32:03
  • 指标公式标签:买卖
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:K线买卖源代码指标详解 通达信源代码

m5:ma(close,5);
m10:ma(close,10);
m20:ma(close,20);
m30:ma(close,30);
m60:ma(close,60);
m120:ma(close,120);
m250:ma(close,250);
中线【买入】:=count(close<m20,5)=4 and close/m20>1.004 and cross(close,m20) and m20>=ref(m20,1),linethick,colorred;
drawtext(中线【买入】,low*0.95,' 中线【买入】'),colorred;
vl:=ref(low,1);
var112:=(sma(abs(low-vl),13,1))/(sma(max(low-vl,0),13,1))*100;
var114:=ma(var112,13);
var115:=llv(low,34);
var118:=ema(if(low<=var115,var114,0),3);
var110:=sma(sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1),5,1);
var111:=sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1)*16.18-var110*10.9;
t:=filter(if(var111<=var110 and var118>ref(var118,1),var118*8,0),20);
drawtext(t,low-0.5,'←洗盘结束'),colorff00ff;
drawtext(t,low-0.3,'|'),colorff00ff;
var21:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;
var22:=sma(var21,3,1);
var23:=sma(var22,3,1);
var24:=sma(var23,3,1);
var25:=cross(var23,var24) and var23<20;
drawtext(filter(var25,10)=1,low-0.5,'←抄底'),colorred;
drawtext(filter(var25,10)=1,low-0.3,'|'),colorred;
var29:=cross(var24,var23) and var23>80;
drawtext(filter(var29,5)=1,high+0.5,'←逃'),colorgreen;
jg:=cross(m5,m10);
volume:=vol,volstick;
mavol1:=ma(volume,5);
mavol2:=ma(volume,10);
nl:=cross(mavol1,mavol2);
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2,colorstick;
na:=cross(dif,dea);
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,9,1);
d:=sma(k,9,1);
j:=3*k-2*d;
kd:=cross(k,d) and cross(j,d);
一招定乾坤:drawtext((jg and nl and na) or (jg and nl and kd) or
(jg and na and kd) or (nl and na and kd),l*0.95,'←一招定乾坤'),coloryellow;
x:=llv(j,2)=llv(j,8);
y:=if(cross(j,ref(j+0.01,1)) and x and j<20,30,0);
drawtext(cross(j,ref(j+0.01,1)) and x and j<20,low*0.98,'←短进'),colorlimagenta;
空:=ema(c,5);
均衡:=ema(空,5);
中轨:=hhv(ma(h,13),13);
var5:=filter(均衡>ref(均衡,1)and 中轨<ref(中轨,1)and c>ref(c,1),11);
drawtext(var5,l*0.98,'←追涨'),colorred;
pt:=ema(h,20);
pan:=ema(close,7);
ruo:=mema(close,3);
drawicon(longcross(pan,ruo,0.25) and pt>h ,l*0.98,1);
varc:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
drawtext(cross(84,varc),h*1.01,'逃'),coloryellow ;
aaa:=const(hhv(h,90));
r1:=ma(close,1);
r2:=ma(close,3);
r3:=(ma(r2,1)*1);
r4:=(ma(r2,3)*1);
drawtext(cross(r3,r4),(low-0.1),'进场'),coloryellow;
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(88,rsi),(high * 1.02),'出局'),colorgreen;
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
var12:=(high+low+close)/3;
var13:=(var12-ma(var12,14))/(0.015*avedev(var12,14));
var14:=(var12-ma(var12,70))/(0.015*avedev(var12,70));
var15:=if(var13>=150 and var13<200 and var14>=150 and var14<200,10,0);
var16:=if(var13<=-150 and var13>-200 and var14<=-150 and var14>-200,-10,var15);
var17:=(close-ma(close,13))/ma(close,13)*100;
var18:=100-abs(var17);
var19:=if(var18<90,var18,100);
var1a:=if(vare>0,vare,0);
var1b:=if(var14>=200 and var13>=150,15,if(var14<=-200 and var13<=-150,-15,var16))+60;
var1c:=var1a>48 and var1b>60 and var19<100;
drawtext(var1c and count(var1c,30)=1,high*1.02,'大笔出货'),linethick1,colorffcc66;
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0;
drawtext(老鼠仓,(low* 0.99),'老鼠仓'),color40ccff;

a75:=(close > m5);
a76:=(m5 > m10);
a77:=(close > m10);
a78:=(m5 > m20);
a79:=(close > m20);
a710:=ref(m20,1);
a711:=(m20 > a710);
avx:=(((((if(a75,10,(0 - 10)) + if(a76,10,(0 - 10))) + if(a77,10,(0 - 10)))
+ if(a78,10,(0 - 10))) + if(a79,10,(0 - 10))) + if(a711,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
v1:=ma(vol,5);
v2:=ma(vol,10);
t1:=const(if(c<200 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)),1,0));
t2:=const(if(c<200 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)),1,0));
t3:=const(if(c<200 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)),1,0));
t4:=const(if(c<200 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)),1,0));
t5:=const(if(c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)),1,0));
t6:=const(if(c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)),1,0));
t7:=const(if(c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)),1,0));
t8:=const(if(c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)),1,0));
t9:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)),1,0));
t10:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)),1,0));
t11:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)),1,0));
t12:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)),1,0));
t13:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)),1,0));
t14:=const(if( c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)),1,0));
t15:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)),1,0));
t16:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)),1,0));
t17:=const(if(c>200 and (cross(avx,1) and (v1 >= v2)),1,0));
t18:=const(if(c>200 and (cross(avx,1) and (v1 >= v2)),1,0));
t19:=const(if(c>200 and (cross(avx,1) and (v1 < v2)),1,0));
t20:=const(if(c>200 and (cross(1,avx) and (v1 >= v2)),1,0));
t21:=const(if(c>200 and (cross(1,avx) and (v1 < v2)),1,0));
t22:=const(if(c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)),1,0));
t23:=const(if(c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)),1,0));
t24:=const(if(c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)),1,0));
t25:=const(if(c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)),1,0));
drawtext(t1=1 and currbarscount=70,aaa-(aaa*0.03)
,'量能理想,明显走强,中线参与,仓位在2/3左右。'),colorff00ff ;
drawtext(t2=1 and currbarscount=70,aaa-(aaa*0.03)
,'走势趋强,还显不足,短线进场,仓位在1/2左右。'),colorff00ff ;
drawtext(t3=1 and currbarscount=70,aaa-(aaa*0.03)
,'量价良好,没有明显走强,短线进场,仓位1/2左右。'),colorff00ff ;
drawtext(t4=1 and currbarscount=70,aaa-(aaa*0.03)
,'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右。'),colorff00ff ;
drawtext(t5=1 and currbarscount=70,aaa-(aaa*0.03)
,'形态变坏,重仓者减持大半,清仓者观望。'),colorff00ff ;
drawtext(t6=1 and currbarscount=70,aaa*0.98
,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓。'),colorff00ff ;
drawtext(t7=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股放量下跌,走势明显偏弱,离场观望。'),colorff00ff ;
drawtext(t8=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股缩量下跌,走势偏弱,离场观望。'),colorff00ff ;
drawtext(t9=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股形态良好,强势明显,量能充足,可以继续持有。'),colorff00ff ;
drawtext(t10=1 and currbarscount=70,aaa-(aaa*0.03)
,'上行趋势不变,强势依然,量能开始转弱,注意风险。'),colorff00ff ;
drawtext(t11=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。'),colorff00ff ;
drawtext(t12=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股走势趋弱,量能不足,减持大部分筹码。'),colorff00ff ;
drawtext(t13=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股形态不佳,注意成交量的变化,目前不适合参与。'),colorff00ff ;
drawtext(t14=1 and currbarscount=70,aaa-(aaa*0.03)
,'趋势不明,股价偏弱,注意量能变化,目前不宜参与。'),colorff00ff ;
drawtext(t15=1 and currbarscount=70,aaa-(aaa*0.03)
,'有走强迹象,但量能不足,趋势不明,不适合操作。'),colorff00ff ;
drawtext(t16=1 and currbarscount=70,aaa-(aaa*0.03)
,'该股走势太弱,没有参与价值。'),colorff00ff ;
drawtext(t17=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘理想,有明显走强迹象,中线参与,仓位在2/3左右。'),colorff00ff ;
drawtext(t18=1 and currbarscount=70,aaa-(aaa*0.03)
,'如前期经过一轮下跌,最佳买点,前期有过一段涨幅需谨慎。'),colorff00ff ;
drawtext(t19=1 and currbarscount=120,aaa-(aaa*0.03)
,'考虑短线进场,仓位在1/2左右,一旦量能放大,加仓买入。'),colorff00ff ;
drawtext(t20=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘形态走坏,重仓者可以减去大部分仓位。'),colorff0000 ;
drawtext(t21=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘缩量调整,注意风险,短线清仓观望。'),colorff0000 ;
drawtext(t22=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘走势良好,量能理想,可以继续持有强势股。'),colorff0000 ;
drawtext(t23=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘形态良好,但量能稍显不足,随时准备减仓。'),colorff0000 ;
drawtext(t24=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘趋势不明,注意成交量变化,目前不适宜进场。'),colorff0000 ;
drawtext(t25=1 and currbarscount=70,aaa-(aaa*0.03)
,'大盘趋势向下,量能萎缩,不适合进场。'),colorff0000 ;
bbb:=const(llv(l,100));
drawkline(h,o,l,c);
大盘:=ema(indexc,500)/ema(c,500);
大盘线:=indexc/大盘,linethick1,color0066ff;
大盘线1:=ma((indexc/大盘),5),colorgreen;
tt1{早晨之星}:=const(if((大盘线>=ref(大盘线,1) and cross (大盘线,大盘线1)),1,0));
tt3{长十字}:=const(if((大盘线<=ref(大盘线,1) and cross (大盘线1,大盘线)),1,0));
tsr1:=if(tt1=1,0+0.03,0);
tsr3:=if(tt3=1,tsr1+0.03,tsr1);
drawtext(tt1=1 and currbarscount=38,aaa-(aaa*tsr1),'大盘多头攻击,机会出现,买股'),colorff00ff;
drawtext(tt3=1 and currbarscount=38,aaa-(aaa*tsr3),'大盘空头攻击,无机会,出局'),color00ffff;


k线买卖源代码

  >>>使用本站搜索工具可以找到更多K线买卖源代码指标详解 通达信源代码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文K线买卖源代码指标详解 通达信源代码仅供学习研究。

猜你喜欢

学了又学