커뮤니티
질문입니다
2015-03-30 14:25:41
186
글번호 84551
if date != date[1] Then Condition1 = false;
If MarketPosition == 0
and sitme > 091000
and stime < 120000
and C >= DayClose(1)+1 and C < DayClose(1)+1.5
Then
Condition1 = true;
컨디션1이 만족이 된 이후에 장 마감까지의
최저값을 구하고 싶습니다
답변 1
예스스탁 예스스탁 답변
2015-03-30 18:03:57
안녕하세요
예스스탁입니다.
1.
var : LL(0);
if date != date[1] Then
Condition1 = false;
If MarketPosition == 0
and stime > 091000
and stime < 120000
and C >= DayClose(1)+1 and C < DayClose(1)+1.5 Then{
Condition1 = true;
LL = L;
}
if Condition1 == true and L < LL Then
LL = L;
2.
지정하신 조건은 당일 여러차례 만족할수도 있습니다.
당일 처음만족한 시점이면 아래와 같이 처리하시면 됩니다.
var : LL(0);
if date != date[1] Then
Condition1 = false;
If MarketPosition == 0
and stime > 091000
and stime < 120000
and C >= DayClose(1)+1 and C < DayClose(1)+1.5 Then{
if Condition1 == false Then{
Condition1 = true;
LL = L;
}
}
if Condition1 == true and L < LL Then
LL = L;
즐거운 하루되세요
> 파인애플 님이 쓴 글입니다.
> 제목 : 질문입니다
> if date != date[1] Then Condition1 = false;
If MarketPosition == 0
and sitme > 091000
and stime < 120000
and C >= DayClose(1)+1 and C < DayClose(1)+1.5
Then
Condition1 = true;
컨디션1이 만족이 된 이후에 장 마감까지의
최저값을 구하고 싶습니다
다음글
이전글