커뮤니티

변환 부탁드립니다.

프로필 이미지
미서니
2026-01-27 00:38:40
80
글번호 230104
답변완료

안녕하세요~

항상 많은 도움 주셔서 감사합니다.


해당 수식은 돌파 종목검색입니다.

근접 약 2% 이내로 종목이 검색되도록 변환 부탁드립니다.


input :shortPeriod(9);

input :midPeriod(26);

input :longperiod(52);

input :p1(11);

input :p2(23);

input :percent1(88);

input :percent2(88);

input :percent3(88);

input :d1(88);

var : LT(0),HT(0),NewH(0),Box1(False),BarsSince(0),TOP(0),BTM(0);


var1 = (highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;

var2 = var1[midPeriod-1];


LT=LOWEST(L,P2);

HT=HIGHEST(H,P2);

BOX1=HIGHEST(H,P2-2)<HIGHEST(H,P2-1);


if H > HT[1] Then

{

NewH = H;

BarsSince = 0;

}

Else

{

if NewH > 0 Then

{

BarsSince = BarsSince+1;

if BarsSince == P2-2 and Box1 == true Then

{

TOP = NewH;

BTM = LT;

}

}

}


var1 = Ema(C,1);

Var2 = Ema(C,D1);

Var3 = Ema(C,10);


value1 = C/ema(C,112)*100;

value2 = C/ema(C,224)*100;


if CrossUp(c,top) && C>O TheN

Find(1);


항상 건강하세요

종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2026-01-27 17:51:39

안녕하세요 예스스탁입니다. input :shortPeriod(9); input :midPeriod(26); input :longperiod(52); input :p1(11); input :p2(23); input :percent1(88); input :percent2(88); input :percent3(88); input :d1(88); var : LT(0),HT(0),NewH(0),Box1(False),BarsSince(0),TOP(0),BTM(0); var1 = (highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4; var2 = var1[midPeriod-1]; LT=LOWEST(L,P2); HT=HIGHEST(H,P2); BOX1=HIGHEST(H,P2-2)<HIGHEST(H,P2-1); if H > HT[1] Then { NewH = H; BarsSince = 0; } Else { if NewH > 0 Then { BarsSince = BarsSince+1; if BarsSince == P2-2 and Box1 == true Then { TOP = NewH; BTM = LT; } } } var1 = Ema(C,1); Var2 = Ema(C,D1); Var3 = Ema(C,10); value1 = C/ema(C,112)*100; value2 = C/ema(C,224)*100; if c <= top*1.02 and C >= top*0.98 TheN Find(1); 즐거운 하루되세요