var : loss(0);
if MarketPosition() == 0 then{
If H[2] == highest(H,60)[2] and //3개월간
최고가(일봉에서 60봉으로 책정)
V[2] >= ma(V,15)[2]*2 and
C < O and C[1] <
O[1] and C[2] < O[2]
Then{
sell("매도",AtStop,L-PriceScale);
}
}
if MarketPosition() == -1
Then{
exitshort("매수청산",AtStop,H[BarsSinceEntry]);
}
댓글 없음:
댓글 쓰기