文档介绍:【大智慧】东拼西凑(能量等级、短线买入)-指标公式源码
DRAWGBK(c,'mm2'),Color2B5516;
a:="[email=******@FORLT2]******@FORLT2[/email]";
s1:="[email=******@LT_S1]******@LT_S1[/email]";
hs:="[email=******@LT_HS]******@LT_HS[/email]";
ls:="[email=******@LT_LS]******@LT_LS[/email]"; p1:="[email=******@LT_P1]******@LT_P1[/email]";
upp:="[email=******@LT_UPP]******@LT_UPP";udd:="[email=******@LT_UDD[/email]******@LT_UDD[/email[/email]]";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
d1:=ema(abs(""),60); d2:=max(""/d1+,);
d3:=min(""/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:=':'+numtostrn(d3,1)+'级';
bs:='<*t=0092F7*><*c=FFFFFF*><*p=95*>'+datestr(date)+'买卖点决议系统提醒\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+':'+tr2+','+tr0+'<*t=E7FFFF*><*c=000000*><*p=95*>'+':'+tr3+tr1+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+tr4;
drawflagtext(1,fb,bs);
STICKLINE(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,c,o,,0),colorblack;
STICKLINE(p1=1 and c>=o and o<>0,c,c,,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,o,o,,0),color5454ff;
STICKLINE(p1=1 and c>=o