커뮤니티

수식 전환 부탁드립니다

프로필 이미지
seayun1
2023-04-23 08:07:58
1585
글번호 168412
답변완료
안녕하세요 항상감사드립니다 수식 전환 부탁드립니다 VV=highest(V(1), 240); sumV=sum(V(1), 240); if(V>=VV and C>O, C*2, 0); count=barssince((V>=VV or V>=sumV*0.2) and C>O); count2=barssince(count>0 and count <20 and v<=eavg(v(1), 5)*0.5 and c<=lowest(c(1), 5)); if(count2>0 and count2 <10 and C>highest(C(1), 5), 1, 0)
검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-04-24 13:16:49

안녕하세요 예스스탁입니다. var : vv(0),sumv(0),count(-1),count2(-1); VV = highest(V, 240)[1]; sumV = AccumN(V, 240)[1]; if V >= VV or V >= sumv*0.2 and C > O Then { count = 0; } Else { if count >= 0 Then count = count+1; } if count>0 and count <20 and v<=Ema(v, 5)[1]*0.5 and c<=lowest(c, 5)[1] Then { count2 = 0; } Else { if count2 >= 0 Then count2 = count2+1; } if count2>0 and count2 <10 and C>highest(C, 5)[1] Then Find(1); 즐거운 하루되세요 > seayun1 님이 쓴 글입니다. > 제목 : 수식 전환 부탁드립니다 > 안녕하세요 항상감사드립니다 수식 전환 부탁드립니다 VV=highest(V(1), 240); sumV=sum(V(1), 240); if(V>=VV and C>O, C*2, 0); count=barssince((V>=VV or V>=sumV*0.2) and C>O); count2=barssince(count>0 and count <20 and v<=eavg(v(1), 5)*0.5 and c<=lowest(c(1), 5)); if(count2>0 and count2 <10 and C>highest(C(1), 5), 1, 0)