var : BarRange(0),loss(0);
BarRange = H-L;
if MarketPosition() == 0 then{
if min(C,O) >= H-BarRange*0.25
and
L == lowest(L,10) Then
buy("매수",atstop,H);
}
if MarketPosition() == 1
Then
exitlong("매수청산",atstop,H[BarsSinceEntry()]-PriceScale);
댓글 없음:
댓글 쓰기