커뮤니티
종목검색식으로 부탁드려요.
2026-03-03 18:40:56
151
글번호 230870
A=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
B=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
Bii=sum(v*((Pow((C-L),2) - Pow((H-C),2)) /(H-L)));
조건=CrossUp(C,C(기간1)) and
CrossUp(C,C(기간2)) and
Bii> Bii(1) and
A>A(1) and
B>=B(1) and
C>O and V(1)*10 <= V;
cnt=CountSince(date!=date(1), 조건);
지표변수
기간1 20
기간2 60
shortPeriod 9
midPeriod 26
답변 2
예스스탁 예스스탁 답변
2026-03-04 13:43:57
안녕하세요
예스스탁입니다.
조건내용이 불명확합니다.
cnt값이 1이상인 종목을 찾게 작성해 드립니다.
input : 기간1(20),기간2(60),shortPeriod(9),midPeriod(26);
var : A(0),B(0),bii(0),조건(False),cnt(Nan);
A=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
B=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
Bii=Accum(v*((Pow((C-L),2) - Pow((H-C),2)) /(H-L)));
조건=CrossUp(C,C[기간1]) and CrossUp(C,C[기간2]) and
Bii> Bii[1] and
A>A[1] and
B>=B[1] and
C>O and V[1]*10 <= V;
if sDate != sDate[1] Then
cnt = 0;
if 조건 Then
cnt = cnt+1;
if cnt >= 1 Then
Find(1);
즐거운 하루되세요
성찰
2026-03-07 21:10:40
감사합니다.
다음글
이전글