예스스탁
예스스탁 답변
2023-01-05 15:25:47
안녕하세요
예스스탁입니다.
var : aa(False),bb(False),bbb(False),cc(False),ccc(False),dd(False),ee(01),ff(False);
var1 = ema(C,5);
Var2 = Ema(C,20);
AA = H[1]>highest(c, 20)[2];
BB = (C>var1 or crossup(C, Var2));
BBB =BB or BB[1] or BB[2];
CC = V[1]>highest(V, 20)[2];
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(var1, Var2);
FF=(C>(highest(high,9)[25]+lowest(low,9)[25]+highest(high,26)[25]+lowest(low,26)[25])/4 ) and
(C>(highest(high[25],52)+lowest(low,52)[25])/2);
condition1=AA and BBB and CCC and DD and FF;
if Condition1 == true Then
{
value1 = (abs(C[1]-O[1])*2/3+min(C[1], O[1]));
value2 = max((abs(C[1]-O[1])*2/3+min(C[1], O[1]))*0.95, EE);
}
Plot1(value1);
Plot2(value2);
즐거운 하루되세요
> 알로우kim 님이 쓴 글입니다.
> 제목 : 수식부탁드립니다^^)
> 박스권 일목균형표
============= 수식4 ============
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))))
========== 수식5 ============
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))