커뮤니티
부탁합니다
2012-06-14 23:29:15
274
글번호 52010
수식1 Sum(avg(c,p1)-lowest(avg(c,p1),Period1),Period2) / Sum((highest(avg(c,p1),Period1)-lowest(avg(c,p1),Period1)),Period2) * 100
수식2 A = Sum(avg(c,p1)-lowest(avg(c,p1),Period1),Period2) / Sum((highest(avg(c,p1),Period1)-lowest(avg(c,p1),Period1)),Period2) * 100;
eavg(A,Period3)
답변 1
예스스탁 예스스탁 답변
2012-06-15 11:39:05
안녕하세요
예스스탁입니다.
input : p1(1),Period1(1),period2(1),Period3(1);
var1 = accumn(ma(c,p1)-lowest(ma(c,p1),Period1),Period2) / accumn((highest(ma(c,p1),Period1)-lowest(ma(c,p1),Period1)),Period2) * 100;
var2 = accumn(ma(c,p1)-lowest(ma(c,p1),Period1),Period2) / accumn((highest(ma(c,p1),Period1)-lowest(ma(c,p1),Period1)),Period2) * 100;
var3 = ema(var2,Period3);
plot1(var1);
plot2(var2);
plot3(var3);
즐거운 하루되세요
> 안전 님이 쓴 글입니다.
> 제목 : 부탁합니다
> 수식1 Sum(avg(c,p1)-lowest(avg(c,p1),Period1),Period2) / Sum((highest(avg(c,p1),Period1)-lowest(avg(c,p1),Period1)),Period2) * 100
수식2 A = Sum(avg(c,p1)-lowest(avg(c,p1),Period1),Period2) / Sum((highest(avg(c,p1),Period1)-lowest(avg(c,p1),Period1)),Period2) * 100;
eavg(A,Period3)