커뮤니티

문의드립니다.

프로필 이미지
아싸가오리
2013-01-28 17:08:15
204
글번호 58756
답변완료
문의드립니다. if 매수조건식 then buy("매수1",atstop); if 매수조건식 then buy("매수2",atstop); If MarketPosition == 1 Then exitlong("손절1",AtStop); 위의 매수 1,2의 손절은 손절1식으로 한다. 밑의 매수 3,4의 손절은 손절2식으로 한다. if 매수조건식 then buy("매수3",atstop); if 매수조건식 then buy("매수4",atstop); If MarketPosition == 1 Then exitlong("손절2",AtStop); 수고하세요^^
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-01-28 17:57:43

안녕하세요 예스스탁입니다. if 매수조건식 then buy("매수1",atstop); if 매수조건식 then buy("매수2",atstop); if 매수조건식 then buy("매수3",atstop); if 매수조건식 then buy("매수4",atstop); If MarketPosition == 1 and (IsEntryName("매수1") or IsEntryName("매수2")) Then exitlong("손절1",AtStop); If MarketPosition == 1 and (IsEntryName("매수3") or IsEntryName("매수4")) Then exitlong("손절2",AtStop); 즐거운 하루되세요 > 아싸가오리 님이 쓴 글입니다. > 제목 : 문의드립니다. > 문의드립니다. if 매수조건식 then buy("매수1",atstop); if 매수조건식 then buy("매수2",atstop); If MarketPosition == 1 Then exitlong("손절1",AtStop); 위의 매수 1,2의 손절은 손절1식으로 한다. 밑의 매수 3,4의 손절은 손절2식으로 한다. if 매수조건식 then buy("매수3",atstop); if 매수조건식 then buy("매수4",atstop); If MarketPosition == 1 Then exitlong("손절2",AtStop); 수고하세요^^