커뮤니티
수식부탁드립니다
2017-09-13 22:31:11
150
글번호 112730
1.
10캔들 바닥이 20캔들 바닥보다 높은 상태일때 10캔들 바닥에서 연속 3양 매수
0.4 손실 컷
1.0 수익 청산
2.
10캔들 천정이 20캔들 천정보다 낮은 상태일때 10캔들 천정에서 연속 3음 매도
0.4 손실 컷
1.0 수익 청산
3.
당일 저가(daylow) 기준 2.5 이상 상승 상태에서 연속 3음 매도
0.4 손실 컷
1.0 수익 청산
4.
당일 고가(dayhigh) 기준 2.5 이상 하락 상태에서 연속 3양 매수
0.4 손실 컷
1.0 수익 청산
감사합니다
답변 1
예스스탁 예스스탁 답변
2017-09-14 11:07:27
안녕하세요
예스스탁입니다.
1
var1 = lowest(L,10);
var2 = lowest(L,20);
if L == var1 then{
value1 = index;
Condition1 = true;
if var1 > var2 Then
Condition1 = false;
}
if Condition1 == false and
index >= value1+2 and
countif(C>O,3) == 3 Then{
buy();
Condition1 = true;
}
SetStopProfittarget(0.4,PointStop);
SetStopLoss(1.0,PointStop);
2
var1 = Highest(H,10);
var2 = Highest(H,20);
if H == var1 then{
value1 = index;
Condition1 = true;
if var1 < var2 Then
Condition1 = false;
}
if Condition1 == false and
index >= value1+2 and
countif(C<O,3) == 3 Then{
sell();
Condition1 = true;
}
SetStopProfittarget(0.4,PointStop);
SetStopLoss(1.0,PointStop);
3
if countif(C>O and c >= daylow+2.5,3) == 3 Then
buy();
SetStopProfittarget(0.4,PointStop);
SetStopLoss(1.0,PointStop);
4
if countif(C<O and c <= DayHigh-2.5,3) == 3 Then
sell();
SetStopProfittarget(0.4,PointStop);
SetStopLoss(1.0,PointStop);
즐거운 하루되세요
> 타이쿤 님이 쓴 글입니다.
> 제목 : 수식부탁드립니다
> 1.
10캔들 바닥이 20캔들 바닥보다 높은 상태일때 10캔들 바닥에서 연속 3양 매수
0.4 손실 컷
1.0 수익 청산
2.
10캔들 천정이 20캔들 천정보다 낮은 상태일때 10캔들 천정에서 연속 3음 매도
0.4 손실 컷
1.0 수익 청산
3.
당일 저가(daylow) 기준 2.5 이상 상승 상태에서 연속 3음 매도
0.4 손실 컷
1.0 수익 청산
4.
당일 고가(dayhigh) 기준 2.5 이상 하락 상태에서 연속 3양 매수
0.4 손실 컷
1.0 수익 청산
감사합니다
다음글
이전글