2013년 6월 22일 토요일

180'S

var : BarRange(0);

BarRange = H-L;

if MarketPosition() == 0 then{
 if C[1] <= L[1]+barRange*0.25 and C >= H-BarRange*0.25 and
  C > ma(c,10) and C > ma(c,50) Then
  buy("매수",AtStop,H);
 if C[1] >= H[1]-barRange*0.25 and C <= L+BarRange*0.25 and
  C < ma(c,10) and C < ma(c,50) Then
  sell("매도",AtStop,L);
}

SetStopLoss(PriceScale,pointstop);

댓글 없음:

댓글 쓰기