커뮤니티

76429 글 다시 확인 좀 요청 드립니다.

프로필 이미지
요타
2022-03-22 06:52:37
875
글번호 157364
답변완료
* 전일 해주신 수식 작성했으나 별표가 안 찍힙니다. 아래 내용 문법에 맞는지 확인 좀 부탁 드립니다. ##매수통합 Condition1 = CrossUp(var55-0.6, mid ) ; Condition2 = CrossUp(var55-0.6, Lmav) and c > ma(L,5) ; Condition3 = CrossUp(LRLv - PriceScale*23 , var80 - PriceScale*13) and value17 < -20 ; Condition4 = CrossUp(LRLv-PriceScale*20,var81-PriceScale*14) AND value8 < -0.001 ; Condition5 = CrossUp(LRLv - PriceScale*23 , var80 - PriceScale*13) ; Condition6 = CrossUp(LRLv1 - PriceScale*23 ,var93 - PriceScale*16) AND L < MA(C,230) and value17 < -28 ; Condition7 = CrossUp(LRLv-PriceScale*20,var81-PriceScale*11) AND StoD2<30 AND LRLv92-PriceScale*23 > LRLv91-PriceScale*23 AND StoD4 < 30 AND Value65 > -0.008 ; Condition8 = CrossUp(LRLv - PriceScale*20 ,var81 - PriceScale*14) AND value8 < -0.001 and value17 < -28 ; if //dayindex() >= 2 and CountIf(Condition1==true,bw) >= 1 and CountIf(Condition2==true,bw) >= 1 and CountIf(Condition3==true,bw) >= 1 and CountIf(Condition4==true,bw) >= 1 and CountIf(Condition5==true,bw) >= 1 and CountIf(Condition6==true,bw) >= 1 and CountIf(Condition7==true,bw) >= 1 and CountIf(Condition8==true,bw) >= 1 and (Condition1 == true or Condition2 == true or Condition3 == true or Condition4 == true or Condition5 == true or Condition6 == true or Condition7 == true or Condition8 == true ) Then {Tx03 = Text_New(sdate,stime,MA(L,5)-3.0 ,"★"); Text_SetStyle(Tx03,2,2); Text_SetColor(Tx03, RGB(0,50,200) ); Text_SetSize(Tx03,26); } * 항상 고맙습니다. 수고하십시요.
강조
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2022-03-22 12:40:54

안녕하세요 예스스탁입니다. 올려주신 내용으로는 저희가 확인이 가능하지 않습니다. 수식에 사용한 변수값들이 어떤 값인지 알수 없습니다. 수식 문법상으로는 별도의 문제는 없어 보입니다. 다만 countif함수는 countif(조건,봉수)입니다. 올리신 내용에 봉수가 bw로 되어 있는데 bw가 바이너리웨이브값을 리턴하는 함수입니다. 외부변수에서 봉수로 지정되어 있는지 확인하시기 바랍니다. 즐거운 하루되세요 > 요타 님이 쓴 글입니다. > 제목 : 76429 글 다시 확인 좀 요청 드립니다. > * 전일 해주신 수식 작성했으나 별표가 안 찍힙니다. 아래 내용 문법에 맞는지 확인 좀 부탁 드립니다. ##매수통합 Condition1 = CrossUp(var55-0.6, mid ) ; Condition2 = CrossUp(var55-0.6, Lmav) and c > ma(L,5) ; Condition3 = CrossUp(LRLv - PriceScale*23 , var80 - PriceScale*13) and value17 < -20 ; Condition4 = CrossUp(LRLv-PriceScale*20,var81-PriceScale*14) AND value8 < -0.001 ; Condition5 = CrossUp(LRLv - PriceScale*23 , var80 - PriceScale*13) ; Condition6 = CrossUp(LRLv1 - PriceScale*23 ,var93 - PriceScale*16) AND L < MA(C,230) and value17 < -28 ; Condition7 = CrossUp(LRLv-PriceScale*20,var81-PriceScale*11) AND StoD2<30 AND LRLv92-PriceScale*23 > LRLv91-PriceScale*23 AND StoD4 < 30 AND Value65 > -0.008 ; Condition8 = CrossUp(LRLv - PriceScale*20 ,var81 - PriceScale*14) AND value8 < -0.001 and value17 < -28 ; if //dayindex() >= 2 and CountIf(Condition1==true,bw) >= 1 and CountIf(Condition2==true,bw) >= 1 and CountIf(Condition3==true,bw) >= 1 and CountIf(Condition4==true,bw) >= 1 and CountIf(Condition5==true,bw) >= 1 and CountIf(Condition6==true,bw) >= 1 and CountIf(Condition7==true,bw) >= 1 and CountIf(Condition8==true,bw) >= 1 and (Condition1 == true or Condition2 == true or Condition3 == true or Condition4 == true or Condition5 == true or Condition6 == true or Condition7 == true or Condition8 == true ) Then {Tx03 = Text_New(sdate,stime,MA(L,5)-3.0 ,"★"); Text_SetStyle(Tx03,2,2); Text_SetColor(Tx03, RGB(0,50,200) ); Text_SetSize(Tx03,26); } * 항상 고맙습니다. 수고하십시요.