下跌值:=ref(H,1)-MA(ref(H,2)-ref(L,1),3);
买进低值:=ref(L,1)-MA(ref(L,2)-ref(L,1),3);
今天低点:=ref(L,1);
趋势回档买进值:=((ref(H,1)+ref(L,1)+ref(C,1))/3)*2-ref(H,1);
买进值:=(下跌值+买进低值+今天低点+趋势回档买进值)/4;
上涨值:=ma((ref(h,1)-ref(l,2)),3)+ref(l,1);
买进高点:=ma(ref(h,1)-ref(h,2),3)+ref(h,1);
今天高点:=ref(H,1);
趋势回档卖出值:=((ref(h,1)+ref(l,1)+ref(c,1))/3)*2-ref(l,1);{LSS轴点突破买入值}
卖出值:=(上涨值+买进高点+今天高点+趋势回档卖出值)/4;
DRAWTEXTABS(75,8,\' 《LSS系统》\'),ColorFFFF00;
DRAWTEXTABS(150,8,\' 支撑 压力:\'),Color208FFF;
DRAWTEXTABS(90,27,\'买入封套 \'),ColorFFFFFF;
DRAWTEXTABS(80,44,\' \'+下跌值),Coloryellow;
DRAWTEXTABS(80,62,\' \'+买进低值),Coloryellow;
DRAWTEXTABS(80,80,\' \'+今天低点),Coloryellow;
DRAWTEXTABS(80,98,\' \'+趋势回档买进值),Coloryellow;
DRAWTEXTABS(80,115,\' \'+买进值),Colorred;
DRAWTEXTABS(160,27,\'卖出封套\'),Color00FF00;
DRAWTEXTABS(160,44,\' \'+上涨值),ColorFF00FF;
DRAWTEXTABS(160,62,\' \'+买进高点),ColorFF00FF;
DRAWTEXTABS(160,80,\' \'+今天高点),ColorFF00FF;
DRAWTEXTABS(160,98,\' \'+趋势回档卖出值),ColorFF00FF;
DRAWTEXTABS(160,115,\' \'+卖出值),Colorgreen;
DRAWTEXTABS(75,5,\'│\'),Color00FFFF;
DRAWTEXTABS(75,17,\'│\'),Color00FFFF;
DRAWTEXTABS(75,29,\'│\'),Color00FFFF;
DRAWTEXTABS(75,41,\'│\'),Color00FFFF;
DRAWTEXTABS(75,53,\'│\'),Color00FFFF;
DRAWTEXTABS(75,65,\'│\'),Color00FFFF;
DRAWTEXTABS(75,77,\'│\'),Color00FFFF;
DRAWTEXTABS(75,89,\'│\'),Color00FFFF;
DRAWTEXTABS(75,101,\'│\'),Color00FFFF;
DRAWTEXTABS(75,113,\'│\'),Color00FFFF;
DRAWTEXTABS(218,5,\'│\'),Color00FFFF;
DRAWTEXTABS(218,17,\'│\'),Color00FFFF;
DRAWTEXTABS(218,29,\'│\'),Color00FFFF;
DRAWTEXTABS(218,41,\'│\'),Color00FFFF;
DRAWTEXTABS(218,53,\'│\'),Color00FFFF;
DRAWTEXTABS(218,65,\'│\'),Color00FFFF;
DRAWTEXTABS(218,77,\'│\'),Color00FFFF;
DRAWTEXTABS(218,89,\'│\'),Color00FFFF;
DRAWTEXTABS(218,101,\'│\'),Color00FFFF;
DRAWTEXTABS(218,113,\'│\'),Color00FFFF;
DRAWTEXTABS(146,25,\'│\'),Color00FFFF;
DRAWTEXTABS(146,29,\'│\'),Color00FFFF;
DRAWTEXTABS(146,41,\'│\'),Color00FFFF;
DRAWTEXTABS(146,53,\'│\'),Color00FFFF;
DRAWTEXTABS(146,65,\'│\'),Color00FFFF;
DRAWTEXTABS(146,77,\'│\'),Color00FFFF;
DRAWTEXTABS(146,89,\'│\'),Color00FFFF;
DRAWTEXTABS(146,101,\'│\'),Color00FFFF;
DRAWTEXTABS(146,113,\'│\'),Color00FFFF;
DRAWTEXTABS(80,0,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,20,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,37,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,54,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,71,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,88,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,105,\'────────────\'),Color00FFFF;
DRAWTEXTABS(80,120,\'────────────\'),Color00FFFF; |