커뮤니티

부탁드려요.

프로필 이미지
억새
2025-01-03 12:33:12
451
글번호 186848
답변완료
VV=highest(V(1), period); sumV=sum(V(1), period); if(V>=VV and C>O, C*2, 0); count=barssince((V>=VV or V>=sumV*ratio) and C>O); count2=barssince(count>0 and count <20 and v<=eavg(v(1), 5)*ratio2 and c<=lowest(c(1), 5)); if(count2>0 and count2 <10 and C>highest(C(1), 5), 1, 0) period:250 ratio:0.1 ratio2:0.5
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2025-01-03 14:33:35

안녕하세요 예스스탁입니다. input : Period(250),ratio(0.1),ratio2(0.5); var : VV(0),sumV(0),count(0),count2(0); VV = highest(V, period)[1]; sumV = AccumN(V, period)[1]; iff(V>=VV and C>O, C*2, 0); if (V >= VV or V>=sumV*ratio) 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]*ratio2 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); 즐거운 하루되세요 > 억새 님이 쓴 글입니다. > 제목 : 부탁드려요. > VV=highest(V(1), period); sumV=sum(V(1), period); if(V>=VV and C>O, C*2, 0); count=barssince((V>=VV or V>=sumV*ratio) and C>O); count2=barssince(count>0 and count <20 and v<=eavg(v(1), 5)*ratio2 and c<=lowest(c(1), 5)); if(count2>0 and count2 <10 and C>highest(C(1), 5), 1, 0) period:250 ratio:0.1 ratio2:0.5