커뮤니티
문의 드립니다
2021-12-15 20:36:00
716
글번호 154525
1분봉상에서 테스트해볼 시스템로직입니다.
n봉 연속 음봉이 나오고, 연속 음봉의 하락폭이 k포인트(혹은 퍼센트) 이상일때 매수 진입
1포인트 이상 수익이 나면 청산, 0.5포인트 손실이 나도 청산
5분 경과시 무조건 청산
감사합니다.
답변 1
예스스탁 예스스탁 답변
2021-12-16 10:21:54
안녕하세요
예스스탁입니다.
1
input : n(3),하락폭(1);
if CountIf(C<O,n) == n and
C <= O[n-1]-하락폭 Then
Buy();
if MarketPosition == 1 and
TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+5 Then
ExitLong();
SetStopProfittarget(1,PointStop);
SetStopLoss(0.5,PointStop);
2
input : n(3),하락율(5);
if CountIf(C<O,n) == n and
C <= O[n-1]*(1-하락율/100) Then
Buy();
if MarketPosition == 1 and
TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+5 Then
ExitLong();
SetStopProfittarget(1,PointStop);
SetStopLoss(0.5,PointStop);
즐거운 하루되세요
> JTH 님이 쓴 글입니다.
> 제목 : 문의 드립니다
> 1분봉상에서 테스트해볼 시스템로직입니다.
n봉 연속 음봉이 나오고, 연속 음봉의 하락폭이 k포인트(혹은 퍼센트) 이상일때 매수 진입
1포인트 이상 수익이 나면 청산, 0.5포인트 손실이 나도 청산
5분 경과시 무조건 청산
감사합니다.
다음글
이전글