예스스탁
예스스탁 답변
2024-04-04 13:28:56
안녕하세요
예스스탁입니다.
1
input : Period(20),ratio(0.97);
var : AA(False),BB(false),E1(0),E2(0),BBB(False);
var : CC(False),CCC(False),DD(False),EE(0),FF(False);
var : condition(false);
E1 = Ema(C,5);
E2 = Ema(C,20);
AA = H[1]>highest(c[2], 20);
BB = C>E1 or crossup(C, E2);
BBB = BB or BB[1] or BB[2];
CC = V[1]>highest(V[2], 20);
CCC = CC or CC[1] or CC[2];
DD=O>C and C<(abs(C[1]-O[1])*2/3+min(C[1],O[1]));
EE= max(E1,E2);
FF=(C>(highest(high,9)[25]+lowest(low,9)[25]+highest(high,26)[25]+lowest(low,26)[25])/4 ) and
(C>(highest(high,52)[25]+lowest(low,52)[25])/2);
condition = AA and BBB and CCC and DD and FF;
if Condition == true Then
{
var1 = abs(C[1]-O[1])*2/3+min(C[1], O[1]);
var2 = max((abs(C[1]-O[1])*2/3+min(C[1], O[1]))*0.95, EE);
}
var3 = iff(C[1]<lowest(C[2],period)*ratio, C[1], lowest(C[2], period));
Plot1(var1);
Plot2(var2);
Plot3(var3);
2
input : Period(20),ratio(0.97);
var : AA(False),BB(false),E1(0),E2(0),BBB(False);
var : CC(False),CCC(False),DD(False),EE(0),FF(False);
var : condition(false);
E1 = Ema(C,5);
E2 = Ema(C,20);
AA = H[1]>highest(c[2], 20);
BB = C>E1 or crossup(C, E2);
BBB = BB or BB[1] or BB[2];
CC = V[1]>highest(V[2], 20);
CCC = CC or CC[1] or CC[2];
DD=O>C and C<(abs(C[1]-O[1])*2/3+min(C[1],O[1]));
EE= max(E1,E2);
FF=(C>(highest(high,9)[25]+lowest(low,9)[25]+highest(high,26)[25]+lowest(low,26)[25])/4 ) and
(C>(highest(high,52)[25]+lowest(low,52)[25])/2);
condition = AA and BBB and CCC and DD and FF;
if Condition == true Then
{
var2 = max((abs(C[1]-O[1])*2/3+min(C[1], O[1]))*0.95, EE);
}
if CrossUp(C,Var2) Then
Find(1);
즐거운 하루되세요
> euni 님이 쓴 글입니다.
> 제목 : 전환 부탁드립니다
> 수식1
AA=H(1)>highest(c(2), 20);
// or H(1)>highest(c(2), 60);
// cross up highest close till preday with Period 20 or 60
//AAA=(H>AA or H>AA(1));
// starting point of 5 kiss or crossup 20 eavg
BB=(C>eavg(C, 5) or crossup(C, eavg(C,20)));
BBB=BB or BB(1) or BB(2);
// crossup highest volume
CC=V(1)>highest(V(2), 20);
// or V(1)>highest(V(2), 60);
CCC=CC or CC(1) or CC(2);
// neg candle (or tail) // buy signal
DD=O>C and C<(abs(C(1)-O(1))*2/3+min(C(1),O(1)));
//support eavg(c, 20) //lower bound
EE= max(eavg(C, 5), eavg(C,20));
FF=(C>(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4 ) and (C>(highest(high(25),52)+lowest(low(25),52))/2);
condition=AA and BBB and CCC and DD and FF;
valuewhen(1, condition, (abs(C(1)-O(1))*2/3+min(C(1), O(1))))
수식2
AA=H(1)>highest(c(2), 20);
// or H(1)>highest(c(2), 60);
// cross up highest close till preday with Period 20 or 60
//AAA=(H>AA or H>AA(1));
// starting point of 5 kiss or crossup 20 eavg
BB=(C>eavg(C, 5) or crossup(C, eavg(C,20)));
BBB=BB or BB(1) or BB(2);
// crossup highest volume
CC=V(1)>highest(V(2), 20);
// or V(1)>highest(V(2), 60);
CCC=CC or CC(1) or CC(2);
// neg candle (or tail) // buy signal
DD=O>C and C<(abs(C(1)-O(1))*2/3+min(C(1),O(1)));
//support eavg(c, 20) //lower bound
EE= max(eavg(C, 5), eavg(C,20));
FF=(C>(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4 ) and (C>(highest(high(25),52)+lowest(low(25),52))/2);
condition=AA and BBB and CCC and DD and FF;
valuewhen(1, condition, max((abs(C(1)-O(1))*2/3+min(C(1), O(1)))*0.95, EE))
수식3
if(C(1)<lowest(C(2),period)*ratio, C(1), lowest(C(2), period))
period 20
ratio 0.97
-----------------------------------------------------
키움 수식인데요. 지표수식 전환 부탁드려요. 그리고 종가가 수식 2를 돌파하는 종목검색식/ 종가가 수식3 돌파 하는 종목검색식도 가능하면 부탁드려요.
감사합니다. 좋은 하루 되세요~!