커뮤니티
지표식 보완 요청
2010-08-13 22:26:16
793
글번호 31568
지표식에 소리 출력과 알림 팝업창을 담으려 하는데 안됩니다.
input : Period1(5),Period2(3),Period3(4);
var1 = StochasticsK(Period1,Period2);
var2 = StochasticsD(Period1,Period2,Period3);
if date != date[1] Then
value5 = 0;
if crossup(var1,var2) Then{
value5 = value5+1;
value1 = C;
value2 = value1[1];
value3 = var1;
value4 = value3[1];
if value5 >= 2 and stime < 93000 and value1 <= value2 and value3 > value4 Then{
plot1(H);
Condition1 = true;
PlaySound("C:₩예스트레이더31₩Data₩alert.wav");
Alert("종가 %.f",c);
}
답변 1
예스스탁 예스스탁 답변
2010-08-16 09:45:30
안녕하세요
예스스탁입니다.
수식에 }가 빠져있습니다.
input : Period1(5),Period2(3),Period3(4);
var1 = StochasticsK(Period1,Period2);
var2 = StochasticsD(Period1,Period2,Period3);
if date != date[1] Then
value5 = 0;
if crossup(var1,var2) Then{
value5 = value5+1;
value1 = C;
value2 = value1[1];
value3 = var1;
value4 = value3[1];
if value5 >= 2 and stime < 93000 and value1 <= value2 and value3 > value4 Then{
plot1(H);
Condition1 = true;
PlaySound("C:₩예스트레이더31₩Data₩alert.wav");
Alert("종가 %.f",c);
}
}
즐거운 하루되세요
> 미래테크 님이 쓴 글입니다.
> 제목 : 지표식 보완 요청
> 지표식에 소리 출력과 알림 팝업창을 담으려 하는데 안됩니다.
input : Period1(5),Period2(3),Period3(4);
var1 = StochasticsK(Period1,Period2);
var2 = StochasticsD(Period1,Period2,Period3);
if date != date[1] Then
value5 = 0;
if crossup(var1,var2) Then{
value5 = value5+1;
value1 = C;
value2 = value1[1];
value3 = var1;
value4 = value3[1];
if value5 >= 2 and stime < 93000 and value1 <= value2 and value3 > value4 Then{
plot1(H);
Condition1 = true;
PlaySound("C:₩예스트레이더31₩Data₩alert.wav");
Alert("종가 %.f",c);
}