예스스탁
예스스탁 답변
2024-12-12 16:48:37
안녕하세요
예스스탁입니다.
1. 종목검색식
input :dayPeriod(10),min_amount(1000000000);
var : AA(false),BB(false),Vcondition(False),Acondition(False),condition(False);
var : ref_O(0),ref_c(0);
AA=crossup(C, BollBandUp(30,2));
BB=C>=max(dayclose(1), dayclose(2), dayclose(3), dayclose(4), dayclose(5));
Vcondition=V > highest(V,78*DayPeriod)[1];
Acondition=min_amount<(C+O+H+L)/4*V;
condition=AA and BB and (Vcondition or Acondition);
if Condition == true Then
{
ref_O = O;
ref_C = C;
}
if Condition == true Then
Find(1);
2 검색식(차트에 적용)
input :dayPeriod(10),min_amount(1000000000);
var : AA(false),BB(false),Vcondition(False),Acondition(False),condition(False);
var : ref_O(0),ref_c(0);
AA=crossup(C, BollBandUp(30,2));
BB=C>=max(dayclose(1), dayclose(2), dayclose(3), dayclose(4), dayclose(5));
Vcondition=V > highest(V,78*DayPeriod)[1];
Acondition=min_amount<(C+O+H+L)/4*V;
condition=AA and BB and (Vcondition or Acondition);
if Condition == true Then
{
ref_O = O;
ref_C = C;
}
if Condition == true Then
Plot1(L,"검색");
즐거운 하루되세요
> euni 님이 쓴 글입니다.
> 제목 : 전환 부탁드립니다
> 키움 수식인데요~ 수식에 맞는 기준봉을 찾는 수식과 종목 검색식 부탁드릴게요
감사합니다.
AA=crossup(C, BBandsup(30,2));
BB=if(C>=max(npredayclose(1), npredayclose(2), npredayclose(3), npredayclose(4), npredayclose(5)), 1, 0);
Vcondition=if(V > highest(V(1),78*DayPeriod), 1, 0);
Acondition=if(min_amount<(C+O+H+L)/4*V, 1, 0);
condition=AA and BB and (Vcondition or Acondition);
ref_O=valuewhen(1, condition, O);
ref_C=valuewhen(1, condition, C);
if(condition, C*2, 0)
DayPeriod 10
min_amount 1000000000