커뮤니티

수식

프로필 이미지
회원
2019-06-20 14:53:06
297
글번호 129614
답변완료
1) if MarketPosition == 1 then sell("bs",atlimit,EntryPrice+3); if MarketPosition == -1 Then Buy("sb",atlimit,EntryPrice-5); 매도후 3포 익절,매수후 5포 익절 수식에 3포,5포 숫자를 외부로 빼서 자유롭게 입력하는 수식 2) 주간장 오전9시부터 오후 3시 사이에만 신호가 발생하는 수식 3) 야간장 오후6시부터 익일 오전 5시 사이에만 신호가 발생하는 수식
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-06-20 15:25:41

안녕하세요 예스스탁입니다. 1 input : S(3),B(5); if MarketPosition == 1 then sell("bs",atlimit,EntryPrice+S); if MarketPosition == -1 Then Buy("sb",atlimit,EntryPrice-B); 2,3 아래 외부변수로 시작시간과 종료시간 지정하시면 됩니다. input : starttime(90000),endtime(150000); var : Tcond(false); if (sdate != sdate[1] and stime >= starttime) or (sdate == sdate[1] and stime >= starttime and stime[1] < starttime) then { Tcond = true; } if (sdate != sdate[1] and stime >= endtime) or (sdate == sdate[1] and stime >= endtime and stime[1] < endtime) then { Tcond = false; if MarketPosition == 1 Then ExitLong("bx"); if MarketPosition == -1 Then ExitShort("sx"); } if Tcond == true then { 진입청산수식 } 즐거운 하루되세요 > 까톡 님이 쓴 글입니다. > 제목 : 수식 > 1) if MarketPosition == 1 then sell("bs",atlimit,EntryPrice+3); if MarketPosition == -1 Then Buy("sb",atlimit,EntryPrice-5); 매도후 3포 익절,매수후 5포 익절 수식에 3포,5포 숫자를 외부로 빼서 자유롭게 입력하는 수식 2) 주간장 오전9시부터 오후 3시 사이에만 신호가 발생하는 수식 3) 야간장 오후6시부터 익일 오전 5시 사이에만 신호가 발생하는 수식