大智慧bs指标源码:
大智慧bs指标源码: a:="LTFunc4@FORLT2"; s1:="LTFunc4@LT_S1"; hs:="LTFunc4@LT_HS"; ls:="LTFunc4@LT_LS"; p1:="LTFunc4@LT_P1"; upp:="LTFunc4@LT_UPP"; udd:="LTFunc4@LT_UDD";{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd}; d1:=ema(abs("bbx.bbx"),60); d2:=max("bbx.bbx"/d1+7.5,7.5); d3:=min("bbx.bbx"/d1,10); fb:=if(s1=0,hs,ls); tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n'); tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会'); tr2:=ifs(p1=1,ifs(cross(p1,0),'B点','持股'),ifs(cross(1,p1),'S点','持币')); tr3:=ifs(s1=0,'向下,','向上,'); tr4:='3.能量级别:'+numtostrn(d3,1)+'级';bs:='<*t=0092F7*><*c=FFFFFF*><*p=95*>'+datestr(date)+'买卖点决策系统提示\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'1.BS点:'+tr2+','+tr0+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'2.短线:'+tr3+tr1+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+tr4; A1:=p1=1 and ref(p1,1)=0; A2:IF(A1,888,0);
 |