커뮤니티

시스템식

프로필 이미지
erwe343
2013-08-07 10:06:31
136
글번호 66172
답변완료
아래식에서 매도는 이익이 +0.9% or 손실-0.7%일때 매도하게끔 식을 써주세요. Input : shortPeriod(5), longPeriod(20); value1 = ma(C, shortPeriod); value2 = ma(C, longPeriod); If CrossUP(value1, value2) Then { Buy(); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-08-07 11:40:19

안녕하세요 예스스탁입니다. Input : shortPeriod(5), longPeriod(20); value1 = ma(C, shortPeriod); value2 = ma(C, longPeriod); If CrossUP(value1, value2) Then { Buy(); } SetStopProfittarget(0.9,PercentStop); SetStopLoss(0.7,PercentStop); 즐거운 하루되세요 > erwe343 님이 쓴 글입니다. > 제목 : 시스템식 > 아래식에서 매도는 이익이 +0.9% or 손실-0.7%일때 매도하게끔 식을 써주세요. Input : shortPeriod(5), longPeriod(20); value1 = ma(C, shortPeriod); value2 = ma(C, longPeriod); If CrossUP(value1, value2) Then { Buy(); }