커뮤니티

수식좀 요청 드립니다.(5봉안)

프로필 이미지
요타
2022-03-18 20:18:28
1046
글번호 157306
답변완료
* 항상 많은 도움에 고맙습니다. * 아래 수식에서 3개의 조건이 6개봉안에 모두 한번씩 있어야 한다 표현좀 부탁 드립니다. ## 아래 수식 Condition1 = Sma1 <= Sma8 and c <= Sma8 and c >= ll and CrossUp(c,Sma2) and CrossUp(c,Sma3); Condition2 = CrossUp(Sma3,var5); Condition3 = DayOpen<DayClose(1)*1.02 and C>= var12 and countif(c>= var12,100) >= 90; if dayindex() >= 2 and (Condition1 == true or Condition2 == true or Condition3 == true) THEN buy("매수"); * 고맙습니다. 수고하십시요.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2022-03-21 10:31:54

안녕하세요 예스스탁입니다. Condition1 = Sma1 <= Sma8 and c <= Sma8 and c >= ll and CrossUp(c,Sma2) and CrossUp(c,Sma3); Condition2 = CrossUp(Sma3,var5); Condition3 = DayOpen<DayClose(1)*1.02 and C>= var12 and countif(c>= var12,100) >= 90; if dayindex() >= 2 and CountIf(Condition1==true,6) >= 1 and CountIf(Condition2==true,6) >= 1 and CountIf(Condition3==true,6) >= 1 and (Condition1 == true or Condition2 == true or Condition3 == true) THEN buy("매수"); 즐거운 하루되세요 > 요타 님이 쓴 글입니다. > 제목 : 수식좀 요청 드립니다.(5봉안) > * 항상 많은 도움에 고맙습니다. * 아래 수식에서 3개의 조건이 6개봉안에 모두 한번씩 있어야 한다 표현좀 부탁 드립니다. ## 아래 수식 Condition1 = Sma1 <= Sma8 and c <= Sma8 and c >= ll and CrossUp(c,Sma2) and CrossUp(c,Sma3); Condition2 = CrossUp(Sma3,var5); Condition3 = DayOpen<DayClose(1)*1.02 and C>= var12 and countif(c>= var12,100) >= 90; if dayindex() >= 2 and (Condition1 == true or Condition2 == true or Condition3 == true) THEN buy("매수"); * 고맙습니다. 수고하십시요.