예스스탁
예스스탁 답변
2022-10-06 14:25:41
안녕하세요
예스스탁입니다.
선사이에 색을 채우는 부분은 지표속성창의 차트표시탭에서
채우기 기능을 이용해 직접 설정하셔야 합니다.
input : Period(20);
var : AA(false),BB(False),BBB(False);
var : CC(False),CCC(False),DD(False);
var : EE(0),FF(False);
var1 = Ema(C,5);
Var2 = Ema(C,20);
AA = H[1]>highest(c, Period)[2];
BB = C > var1 or crossup(C, Var2);
BBB = BB or BB[1] or BB[2];
CC = V[1] > highest(V, Period)[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,52)[25]+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);
즐거운 하루되세요
> 매치다2 님이 쓴 글입니다.
> 제목 : 박스 지표 부탁드립니다
> 수식4 상단
AA=H(1)>highest(c(2), 20);
// 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);
// 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))
지표조건
Period 20
###키움 박스지표입니다 잘부탁드립니다
변슈처리부탁드립니다
@@@@ 항상 정말 감사합니다