{主图加色股票涨左绿右红跌相反} DRAWGBKLAST(C>=ref(C,1),STRIP(RGB(80,150,0),RGB(150,80,0),1)); DRAWGBKLAST(C<=ref(C,1),STRIP(RGB(150,80,0),RGB(80,150,0),1));
{大智慧BS决策将下面代码复制到别的主图都会有BS买卖点} ba:="LTFunc6@FORLT2"; s1a:="LTFunc6@LT_S1"; p0a:="LTFunc6@LT_P0"; paa:="LTFunc6@LT_P1"; hsa:="LTFunc6@LT_HS"; lsa:="LTFunc6@LT_LS"; upp:="LTFunc6@LT_UPP"; udd:="LTFunc6@LT_UDD"; d1:=ema(abs("wdddx.ddx"),60); {ddx绝对值60日指数平滑移动平均} d2:=max("wdddx.ddx"/d1+7.5,7.5); d3:=min(("wdddx.ddx")/d1+1,5); {能量级别:当日ddx与60日平均值的比值,最高10.0} fb:=if(s1a=0,hsa,lsa); tr0:=ifs(paa=1,'明收盘<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n'); tr1:=ifs(s1a=1,'明收盘<'+numtostrn(lsa,2)+',短线卖出','若明日收盘价>'+numtostrn(hsa,2)+'短线买入机会'); tr2:=ifs(paa=1,ifs(cross(paa,0),'B点','持股'),ifs(cross(1,paa),'S点','持币')); tr3:=ifs(s1a=0,'向下,','向上,'); tr4:='3.能量:'+numtostrn(d3,1)+'级'; bs:=':'+tr2+','+tr0+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'2.短线:'+tr3+tr1+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+tr4; drawflagtext(1,fb,bs); {1120,0415新版用代码}; drawbmp(paa=1 and ref(paa,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(paa=0 and ref(paa,1)=1,h,'sell1.bmp'),align1,valign2; drawbmp(s1a=1 and ref(s1a,1)=0 and (paa+ref(paa,1))<>1,l,'bs.bmp'),align1,valign0; drawbmp(s1a=0 and ref(s1a,1)=1 and (paa+ref(paa,1))<>1,h,'ss.bmp'),align1,valign2; {在主图鼠标右健点指标-修改指标公式点-粘贴}
移动端首页 | PC端
© by gszx.com.cn Mobile Web
{主图加色股票涨左绿右红跌相反}
DRAWGBKLAST(C>=ref(C,1),STRIP(RGB(80,150,0),RGB(150,80,0),1));
DRAWGBKLAST(C<=ref(C,1),STRIP(RGB(150,80,0),RGB(80,150,0),1));
{大智慧BS决策将下面代码复制到别的主图都会有BS买卖点}
ba:="LTFunc6@FORLT2";
s1a:="LTFunc6@LT_S1";
p0a:="LTFunc6@LT_P0";
paa:="LTFunc6@LT_P1";
hsa:="LTFunc6@LT_HS";
lsa:="LTFunc6@LT_LS";
upp:="LTFunc6@LT_UPP";
udd:="LTFunc6@LT_UDD";
d1:=ema(abs("wdddx.ddx"),60); {ddx绝对值60日指数平滑移动平均}
d2:=max("wdddx.ddx"/d1+7.5,7.5);
d3:=min(("wdddx.ddx")/d1+1,5); {能量级别:当日ddx与60日平均值的比值,最高10.0}
fb:=if(s1a=0,hsa,lsa);
tr0:=ifs(paa=1,'明收盘<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n');
tr1:=ifs(s1a=1,'明收盘<'+numtostrn(lsa,2)+',短线卖出','若明日收盘价>'+numtostrn(hsa,2)+'短线买入机会');
tr2:=ifs(paa=1,ifs(cross(paa,0),'B点','持股'),ifs(cross(1,paa),'S点','持币'));
tr3:=ifs(s1a=0,'向下,','向上,');
tr4:='3.能量:'+numtostrn(d3,1)+'级';
bs:=':'+tr2+','+tr0+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'2.短线:'+tr3+tr1+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+tr4;
drawflagtext(1,fb,bs); {1120,0415新版用代码};
drawbmp(paa=1 and ref(paa,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(paa=0 and ref(paa,1)=1,h,'sell1.bmp'),align1,valign2;
drawbmp(s1a=1 and ref(s1a,1)=0 and (paa+ref(paa,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1a=0 and ref(s1a,1)=1 and (paa+ref(paa,1))<>1,h,'ss.bmp'),align1,valign2;
{在主图鼠标右健点指标-修改指标公式点-粘贴}