커뮤니티

문의 드립니다.

프로필 이미지
선물대장
2023-12-07 14:21:29
937
글번호 174660
답변완료
아래 식에서 익절 할 원하는 지점을 직접 설정할 수 있도록 추가 부탁드립니다. input : Price(73.02); if crossup(C,price) Then buy(); if CrossDown(C,price) Then ExitLong(); ---------------------------------------- input : Price(69.75); if CrossDown(C,price) Then sell(); if crossup(C,price) Then ExitShort();
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-12-07 15:24:45

안녕하세요 예스스탁입니다. 1 input : Price(73.02),Profit(75.0); if crossup(C,price) Then buy(); if CrossDown(C,price) Then ExitLong(); if CrossUp(C,profit) Then ExitLong(); 2 input : Price(73.02),Profit(70.0); if CrossDown(C,price) Then sell(); if crossup(C,price) Then ExitShort(); if CrossDown(C,profit) Then ExitShort(); 즐거운 하루되세요 > 선물대장 님이 쓴 글입니다. > 제목 : 문의 드립니다. > 아래 식에서 익절 할 원하는 지점을 직접 설정할 수 있도록 추가 부탁드립니다. input : Price(73.02); if crossup(C,price) Then buy(); if CrossDown(C,price) Then ExitLong(); ---------------------------------------- input : Price(69.75); if CrossDown(C,price) Then sell(); if crossup(C,price) Then ExitShort();