커뮤니티

시스템 수식 점검부탁드립니다.

프로필 이미지
회원
2015-04-20 23:24:31
112
글번호 85227
답변완료
아래의 수식에 매도가 없네요. ㅠ.ㅠ 매도조건은 주가가 7% 상승시 전량매도입니다. - 아 래 - var1 = TimeToMinutes(stime)%30; if dayindex == 0 or (var1 <var1[1] and stime > stime[1]) Then{ value1 = C; value2 = value1[1]; if stime >= 93000 and stime <= 143000 and value1 < value2 Then Buy("매수"); } if stime == 144800 and c < value1 Then Buy("매수");
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-04-21 10:05:50

안녕하세요 예스스탁입니다. var1 = TimeToMinutes(stime)%30; if dayindex == 0 or (var1 <var1[1] and stime > stime[1]) Then{ value1 = C; value2 = value1[1]; if stime >= 93000 and stime <= 143000 and value1 < value2 Then Buy("매수1"); } if stime == 144800 and c < value1 Then Buy("매수2"); if MarketPosition == 1 Then ExitLong("BP",atlimit,AvgEntryPrice*1.07); 어떤 가격대비 7인지 불분명합니다. 평단가 대비 7%상승시 청산으로 작성되었습니다. 즐거운 하루되세요 > HI_so****** 님이 쓴 글입니다. > 제목 : 시스템 수식 점검부탁드립니다. > 아래의 수식에 매도가 없네요. ㅠ.ㅠ 매도조건은 주가가 7% 상승시 전량매도입니다. - 아 래 - var1 = TimeToMinutes(stime)%30; if dayindex == 0 or (var1 <var1[1] and stime > stime[1]) Then{ value1 = C; value2 = value1[1]; if stime >= 93000 and stime <= 143000 and value1 < value2 Then Buy("매수"); } if stime == 144800 and c < value1 Then Buy("매수");