커뮤니티

수정해주세요---------------

프로필 이미지
leekss1
2012-02-20 15:30:48
274
글번호 47970
답변완료
if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then{ 스토가 80아래있으면 매도, 스토가 80위에있으면( 매수포지 션있으면 청산만하고) 기다렸다 80아래로 롤파시 매도 } if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then{ 스토가 20위에있으면 매수, 스토가 20아래있으면( 매도포지 션있으면 청산만하고) 기다렸다 20 위로 롤파시 매수 } }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-02-20 17:53:52

안녕하세요 예스스탁입니다. if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then{ if stok <= 80 Then sell(); if stok > 80 Then ExitLong(); } if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then{ if stok >= 20 Then buy(); if stok < 20 Then ExitShort(); } } 즐거운 하루되세요 > leekss1 님이 쓴 글입니다. > 제목 : 수정해주세요--------------- > if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then{ 스토가 80아래있으면 매도, 스토가 80위에있으면( 매수포지 션있으면 청산만하고) 기다렸다 80아래로 롤파시 매도 } if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then{ 스토가 20위에있으면 매수, 스토가 20아래있으면( 매도포지 션있으면 청산만하고) 기다렸다 20 위로 롤파시 매수 } }