커뮤니티

21364 추가질문드렸습니다(냉무)

프로필 이미지
ahslal
2011-11-03 12:34:59
311
글번호 44432
답변완료
감사합니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2011-11-03 16:05:54

안녕하세요 예스스탁입니다. 식을 수정했습니다. if crossup(ma(C,5),ma(C,60)) Then buy(); if EntryDate == sdate Then{ if stime == 145000 and (C < EntryPrice or ma(c,5) < ma(C,60)) Then exitlong("bx1"); if stime == 151500 and NextBarOpen < C then #일반종목이면 150000 ExitLong("bx2",AtMarket); if stime == 151500 then #일반종목이면 150000 ExitLong("bx3",AtStop,C-PriceScale*10); } if Sdate > EntryDate Then{ if CrossDown(ma(c,5),ma(C,60)) Then exitlong("bx4"); if stime < 151500 Then ExitLong("bx5",AtStop,DayClose(1)-PriceScale*10); } 즐거운 하루되세요 > ahslal 님이 쓴 글입니다. > 제목 : 21364 추가질문드렸습니다(냉무) > 감사합니다