커뮤니티
감사합니다.
2014-05-22 09:47:30
131
글번호 75283
감사합니다.
아래의 수식을 하나로 하는 것이 가능한지요? (10 이전에는 위식, 이후는 아래의 수식)
if countif(c >= o,2) >=2 and var2>=var3 and countif(data2(c)>=data2(o), 5)>=3 and stime <= 100000
Then buy("P",onclose);
if countif(c >= o,2) >=2 and var2>=var3 and v1>v2 and stime > 100000
Then buy("P1",onclose);
감사합니다.
답변 1
예스스탁 예스스탁 답변
2014-05-22 14:04:52
안녕하세요
예스스탁입니다.
if (countif(c >= o,2) >=2 and var2>=var3 and countif(data2(c)>=data2(o), 5)>=3 and stime <= 100000) Or
(countif(c >= o,2) >=2 and var2>=var3 and v1>v2 and stime > 100000) Then
buy("P",onclose);
즐거운 하루되세요
> huhboo99 님이 쓴 글입니다.
> 제목 : 감사합니다.
> 감사합니다.
아래의 수식을 하나로 하는 것이 가능한지요? (10 이전에는 위식, 이후는 아래의 수식)
if countif(c >= o,2) >=2 and var2>=var3 and countif(data2(c)>=data2(o), 5)>=3 and stime <= 100000
Then buy("P",onclose);
if countif(c >= o,2) >=2 and var2>=var3 and v1>v2 and stime > 100000
Then buy("P1",onclose);
감사합니다.