收集:中国股票市场经济分析网


   短线 公式:短线进出

v1:=(c-ma(c,13))/ma(c,13)*(-100);
下降线:ema(v1/10+ema(c,10),3);
趋势:llv(ema(h,3),1);
中轨:hhv(ema(h,3),3),colorred,linethick2;
f:=100*(c-ref(c,1))/ref(c,1);
var1:=if(c<ref(o,1) and f<0,1,0);
var2:=if(c<ref(o,2) and f<0,1,0);
var3:=(var1=0 and ref(var1,1)=1 and var2=0 and ref(var2,1)=1 );
红k:=if(var3 ,l,h),colorred,pointdot;
STICKLINE( var3,open,c,5,0),colorred;
vv:= STICKLINE(var1=1 and ref(var1,1)=0 and var2=1 and ref(var2,1)=0 ,o,c,3,0),coloryellow;
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=(3*k-2*d);
p:=(h+c+l)/3;
var5:= j>ref(j,1) and j<ref(j,3) and j<k and j<40 and k>ref(k,1);
DRAWTEXT(var3 and var5, l*0.98,'买'),colorwhite;
DRAWICON(FILTER(j<ref(j,1) and j>80 and k<ref(k,1),8),h*1.01,2);
a1:=ref(c,3)=hhv(c,10);
b1:=filter(a1,3);
c1:=backset(b1,4);
hd:=filter(c1,3);
a2:=ref(c,3)=llv(c,10);
b2:=filter(a2,3);
c2:=backset(b2,4);
ld:=filter(c2,3);
a:=ref(c,barslast(hd));
b:=ref(c,barslast(ld));
t1:=barslast(hd)>barslast(ld) and not(ld);
t2:=barslast(hd)<barslast(ld) and not(hd);
峰:if(t2,a,a),colorff00ff,pointdot;
STICKLINE(t2 ,a,a,5,0),colorff00ff;
谷:if(t1,b,b),color80ff00,pointdot;
stickline(t1,b,b,5,0),color80ff00 ;
va1:=ma(c,3)=hhv(ma(c,3),7) ;
va2:= ma(c,3)>ma(c,5) ;
va3:= ma(c,5)>ma(c,10)*1.01 ;
va4:= count(ma(c,1)>ref(c,1),2)=2;
DRAWTEXT(FILTER(va1 and va2 and va3 and va4 and f>3,1) ,h*1.02,'出'),colorwhite;
va5:=ma(c,3)=llv(ma(c,3),7) and ma(c,3)<ma(c,5) and ma(c,5)*1.02<ma(c,10) and j>ref(j,1) and j<ref(j,3);
va6:=(filter(va5,5));
DRAWTEXT(va6,l*0.98,'$')

发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: