커뮤니티
시스템식 요청 드립니다.
2015-05-03 08:40:40
199
글번호 85633
* 항상 많은 도움 고맙습니다. ^^
* <요청수식>
if dayindex() == 1 and 매수식 then buy();
if dayindex() == 2 and 매수식 then buy();
if dayindex() == 3 and 매수식 then buy();
if dayindex() == 4 and 매수식 then buy();
이것을 통합 해서 한번에 시스템식으로 가능한가요?
즉 buy()가 한번만 있게요.......
* 즐거운 5월 되십시요^^
답변 1
예스스탁 예스스탁 답변
2015-05-04 10:47:05
안녕하세요
예스스탁입니다.
아래와 같이 작성하시면 됩니다.
if dayindex() >= 1 and dayindex <= 4 and 매수식 then buy();
즐거운 하루되세요
> 요타 님이 쓴 글입니다.
> 제목 : 시스템식 요청 드립니다.
> * 항상 많은 도움 고맙습니다. ^^
* <요청수식>
if dayindex() == 1 and 매수식 then buy();
if dayindex() == 2 and 매수식 then buy();
if dayindex() == 3 and 매수식 then buy();
if dayindex() == 4 and 매수식 then buy();
이것을 통합 해서 한번에 시스템식으로 가능한가요?
즉 buy()가 한번만 있게요.......
* 즐거운 5월 되십시요^^
다음글
이전글