커뮤니티

문의드립니다

프로필 이미지
새벽에
2024-01-03 03:01:07
674
글번호 175382
답변완료
안녕하세요? 새해복 많이받으세요! 그간 많은 도움 주심에 진심으로 감사드립니다 조건문 1: if xClose > xOpen then if z[1] == 1 and z[1] != z[2] Then if a[1] == 1 and a[2] != 1 Then Buy(); if xClose < xOpen then if z[1] ==- 1 and z[1] != z[2] Then if a[1] == -1 and a[2] != -1 Then Sell(); 조건문2: if (color1 == red and color1[1] == Blue) or (color1 == Black and color1[1] == Black) Then if T == 1 and S == 1 and T != T[1] and S != S[1] Then Buy(); { } if (color1 == Black and color1[1] == White)or (color1 == Black and color1[1] == Black) Then if T == -1 and S == -1 and T != T[1] and S != S[1] Then Sell(); { } 조건문 2번을 사용중입니다 원하는내용은 조건문1번의 조건이 조건문2의 0봉에서3봉전 성립되었다면을 (조건문2에) 추가되기를 원합니다 감사드립니다
시스템
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2024-01-03 11:34:50

안녕하세요 예스스탁입니다. #조건문 1: if xClose > xOpen then if z[1] == 1 and z[1] != z[2] Then if a[1] == 1 and a[2] != 1 Then var1 = Index; if xClose < xOpen then if z[1] ==- 1 and z[1] != z[2] Then if a[1] == -1 and a[2] != -1 Then Var2 = Index; #조건문2: if (color1 == red and color1[1] == Blue) or (color1 == Black and color1[1] == Black) Then { if T == 1 and S == 1 and T != T[1] and S != S[1] and var1 > 0 and Index <= var1+3 Then Buy(); } if (color1 == Black and color1[1] == White)or (color1 == Black and color1[1] == Black) Then { if T == -1 and S == -1 and T != T[1] and S != S[1] and Var2 > 0 and Index <= Var2+3 Then Sell(); } 즐거운 하루되세요 > 새벽에 님이 쓴 글입니다. > 제목 : 문의드립니다 > 안녕하세요? 새해복 많이받으세요! 그간 많은 도움 주심에 진심으로 감사드립니다 조건문 1: if xClose > xOpen then if z[1] == 1 and z[1] != z[2] Then if a[1] == 1 and a[2] != 1 Then Buy(); if xClose < xOpen then if z[1] ==- 1 and z[1] != z[2] Then if a[1] == -1 and a[2] != -1 Then Sell(); 조건문2: if (color1 == red and color1[1] == Blue) or (color1 == Black and color1[1] == Black) Then if T == 1 and S == 1 and T != T[1] and S != S[1] Then Buy(); { } if (color1 == Black and color1[1] == White)or (color1 == Black and color1[1] == Black) Then if T == -1 and S == -1 and T != T[1] and S != S[1] Then Sell(); { } 조건문 2번을 사용중입니다 원하는내용은 조건문1번의 조건이 조건문2의 0봉에서3봉전 성립되었다면을 (조건문2에) 추가되기를 원합니다 감사드립니다
프로필 이미지

새벽에

2024-01-03 14:28:10

새벽에 님에 의해 삭제된 답변입니다.