input : g(13),r(25),s(2);
var1 = ema(ema(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/
(0.5 * ema(ema(highest(H,g)-lowest(L,g),r),s));
plot1(var1);
plot2(40);
plot3(-40);
위 지표를 상승, 하락을 하나의 선으로 색상으로 표현할수 있게 부탁합니다.
답변 1
예스스탁
예스스탁 답변
2020-02-21 14:04:47
안녕하세요
예스스탁입니다.
input : g(13),r(25),s(2);
var : T(0);
var1 = ema(ema(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/
(0.5 * ema(ema(highest(H,g)-lowest(L,g),r),s));
if var1 > var1[1] Then
T = 1;
if var1 < var1[1] Then
T = -1;
plot1(var1,"지표",iff(T==1,RED,BLUE));
plot2(40);
plot3(-40);
즐거운 하루되세요
> as8282 님이 쓴 글입니다.
> 제목 : 부탁합니다
> input : g(13),r(25),s(2);
var1 = ema(ema(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/
(0.5 * ema(ema(highest(H,g)-lowest(L,g),r),s));
plot1(var1);
plot2(40);
plot3(-40);
위 지표를 상승, 하락을 하나의 선으로 색상으로 표현할수 있게 부탁합니다.