커뮤니티

문의드립니다.

프로필 이미지
호시우보
2017-04-04 14:30:14
187
글번호 108473
답변완료
안녕하십니까..? 아래 일목식에 마팅게일식 삽입 요청합니다. 1차기본진입 - 1개 손실시 2차진입- 2개 손실시 3차진입- 4개 손실시 4차진입- 8개 4차까지만 진입되도록 부탁합니다. 4차 진입후에는 기본 리버스 신호에 따라 청산코저 합니다. 감사합니다. if stime >= 090000 and stime < 151500 and T == 1 Then{ if L >= var2+PriceScale*2 Then Bcond = true; if Bcond == true and C > value3 and TotalTrades == TotalTrades[1] and MarketPosition == 0 then buy("b",atlimit,var1); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-04-05 17:27:32

안녕하세요 예스스탁입니다. 기본수량을 1로하고 손실시 2배씩 증가해 최대 8개까지 수량이 증가하게 작성해 드립니다. 4차 진입후에는 기본 리버스 신호에 따라 청산은 리버스가 어떤 신호인지 몰라 추가해드리지 못합니다. var : T(0),Bcond(false),vol(0); if stime >= 090000 and stime < 151500 and T == 1 Then{ if L >= var2+PriceScale*2 Then Bcond = true; if Bcond == true and C > value3 and TotalTrades == TotalTrades[1] and MarketPosition == 0 then{ if PositionProfit(1) >= 0 Then vol = 1; Else vol = MaxContracts(1)*2; buy("b",atlimit,var1,min(vol,8)); } } 즐거운 하루되세요 > 호시우보 님이 쓴 글입니다. > 제목 : 문의드립니다. > 안녕하십니까..? 아래 일목식에 마팅게일식 삽입 요청합니다. 1차기본진입 - 1개 손실시 2차진입- 2개 손실시 3차진입- 4개 손실시 4차진입- 8개 4차까지만 진입되도록 부탁합니다. 4차 진입후에는 기본 리버스 신호에 따라 청산코저 합니다. 감사합니다. if stime >= 090000 and stime < 151500 and T == 1 Then{ if L >= var2+PriceScale*2 Then Bcond = true; if Bcond == true and C > value3 and TotalTrades == TotalTrades[1] and MarketPosition == 0 then buy("b",atlimit,var1); }