커뮤니티

문의

프로필 이미지
좌오비우오비
2020-02-28 08:55:08
207
글번호 136430
답변완료
답변 고맙습니다. 1.아래 수식 MaxContracts*비율을 맥스계약수량으로 사용하는 수식 요청합니다. 2.진입필터 수식 요청합니다. if 진입조건 and 최근 20일간 하이로우 최소 5.00 ~ 최대 20.00 then ************************************************************************************* input : up익절1(150),up익절2(200); if MarketPosition == 1 Then exitlong("bx1",AtLimit,EntryPrice+PriceScale*up익절1,"",Floor(MaxContracts*0.50),1); if MarketPosition == 1 Then exitlong("bx2",AtLimit,EntryPrice+PriceScale*up익절2); input : dn익절1(150),dn익절2(200); if MarketPosition == -1 Then exitshort("sx1",AtLimit,EntryPrice-pricescale*dn익절1,"",Floor(MaxContracts*0.50),1); if MarketPosition == -1 Then exitshort("sx2",AtLimit,EntryPrice-pricescale*dn익절2);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-02-28 11:37:53

안녕하세요 예스스탁입니다. 1 문의하신 내용을 정확히 이해하지 못했습니다. MaxContracts가 포지션의 최대계약수량입니다. 어떤 부분을 변경해 드려야할지 모르겠습니다. 2 if 진입조건 and highest(H,20)-lowest(L,20) >= 5.00 and highest(H,20)-lowest(L,20) <= 20.00 then 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. > 제목 : 문의 > 답변 고맙습니다. 1.아래 수식 MaxContracts*비율을 맥스계약수량으로 사용하는 수식 요청합니다. 2.진입필터 수식 요청합니다. if 진입조건 and 최근 20일간 하이로우 최소 5.00 ~ 최대 20.00 then ************************************************************************************* input : up익절1(150),up익절2(200); if MarketPosition == 1 Then exitlong("bx1",AtLimit,EntryPrice+PriceScale*up익절1,"",Floor(MaxContracts*0.50),1); if MarketPosition == 1 Then exitlong("bx2",AtLimit,EntryPrice+PriceScale*up익절2); input : dn익절1(150),dn익절2(200); if MarketPosition == -1 Then exitshort("sx1",AtLimit,EntryPrice-pricescale*dn익절1,"",Floor(MaxContracts*0.50),1); if MarketPosition == -1 Then exitshort("sx2",AtLimit,EntryPrice-pricescale*dn익절2);