커뮤니티
이것을 매매식으로
2013-01-17 16:59:13
251
글번호 58300
하는 아이디어 는 뭐가 있을 까요 ?
감사합니다
input : Left(3),Right(3);
var1 = obv;
if SwingHigh(1,var1,Left,Right,Left+Right+1) != -1 Then{
value1 = var1;
value2 = value1[1];
value3 = C;
value4 = value3[1];
if value1 < value2 and value3 > value4 and value2 > 0 Then
plot1(H,"1",BLUE);
}
if SwingLow(1,var1,Left,Right,Left+Right+1) != -1 Then{
value11 = var1;
value12 = value11[1];
value13 = C;
value14 = value13[1];
if value11 > value12 and value13 < value14 and value12 > 0 Then
plot1(L,"1",RED);
}
답변 1
예스스탁 예스스탁 답변
2013-01-17 18:01:01
안녕하세요
예스스탁입니다.
올리신 식도 일반적으로 사용하는 다이버전스 식입니다.
input : Left(3),Right(3);
var1 = obv;
if SwingHigh(1,var1,Left,Right,Left+Right+1) != -1 Then{
value1 = var1;
value2 = value1[1];
value3 = C;
value4 = value3[1];
if value1 < value2 and value3 > value4 and value2 > 0 Then
sell();
}
if SwingLow(1,var1,Left,Right,Left+Right+1) != -1 Then{
value11 = var1;
value12 = value11[1];
value13 = C;
value14 = value13[1];
if value11 > value12 and value13 < value14 and value12 > 0 Then
buy();
}
즐거운 하루되세요
> 구다이전설 님이 쓴 글입니다.
> 제목 : 이것을 매매식으로
> 하는 아이디어 는 뭐가 있을 까요 ?
감사합니다
input : Left(3),Right(3);
var1 = obv;
if SwingHigh(1,var1,Left,Right,Left+Right+1) != -1 Then{
value1 = var1;
value2 = value1[1];
value3 = C;
value4 = value3[1];
if value1 < value2 and value3 > value4 and value2 > 0 Then
plot1(H,"1",BLUE);
}
if SwingLow(1,var1,Left,Right,Left+Right+1) != -1 Then{
value11 = var1;
value12 = value11[1];
value13 = C;
value14 = value13[1];
if value11 > value12 and value13 < value14 and value12 > 0 Then
plot1(L,"1",RED);
}