您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:生命线(主图)

生命线(主图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-11-26 09:37:00
公式简介:

var1:=(close-ma(close,30))/ma(close,30)*100;
var2:=close>open and open-low>high-close;
var3:=ref(var1,1)<-20 and var2;
var4:=ref(var1,1)<-20 and close>open and (close-ref(close,1))/ref(close,1)*1000>20;
var5:=filter(var3 or var4,3);
var6:=open>close and high-if(close>open,close,open)>if(open<close,open,close)-low;
var7:=ref(var1,1)>abs(-20) and var6;
var8:=ref(var1,1)>abs(-20) and close<open and (ref(close,1)-close)/ref(close,1)*1000>20;
var9:=filter(var7 or var8,3);
vara:=ref(var1,1)<-13 and var2;
varb:=ref(var1,1)<-13 and close>open and (close-ref(close,1))/ref(close,1)*1000>20;
varc:=filter(vara or varb,3);
vard:=ref(var1,1)>abs(-13) and var6;
vare:=ref(var1,1)>abs(-13) and close<open and (ref(close,1)-close)/ref(close,1)*1000>20;
varf:=filter(vard or vare,3);
drawicon(var5*var1>0,low,1);
drawicon(var9*var1>0,high,2);
drawtext(varc*var1>0,1.02*ref(close,1),'关注'), ,colorffffff ;
drawtext(varf*var1>0,0.99*ref(close,1),'风险'), ,color1010ff ;
var10:=(2*close+high+low+open)/5;
a1: (ema(var10,3)+ema(var10,6)+ema(var10,12)+ema(var10,24))/4;
a2: ema(a1,2);
a3: ema(a2,2);
a4: ema(a3,2);
a5: ema(a4,2);
a6: ema(a5,2);
a7: ema(a6,2);
生命线: ema(close,55), ,color10ff10;
var11:=llv(low,5);
var12:=hhv(high,4);
var13:=ema((var10-var11)/(var12-var11)*100,4);
var14:=ema(0.667*ref(var13,1)+0.333*var13,2);
drawtext(cross(var13,var14) and var13<40,low,'买'), ,color10ff10 ;
var15:=ema(var10,13)-ema(var10,34);
var16:=ema(var15,5);
var17:=(-2)*(var15-var16)*3.8;
drawtext(cross(var17,ma(var17,3))and (var15>var16) ,high,'卖'),color10ffff ;
var18:=(2*close+low+high)/4;
天堂: ema(var18,45)*1.15, ,colorffff10 ;
地狱: ema(var18,40)*0.85, , ;
 


[url=http://www.goodgupiao.com/gupiaogongshi/16588.html][B]生命线(主图)[/B][/url]