커뮤니티
안녕하세요
2015-01-06 12:03:00
143
글번호 81933
수고많으세요
예스로 변환 부탁드립니다.
기간변수는 (30,10,10),
Fast%K(i) = 100*(Close(i) – MaxHigh(N)) / (MaxHigh(N) – MinLow(N));
%K(i) = 2*MA(Fast%K(i), N) – MA(MA(Fast%K(i), N), N);
%D(i) = 2*MA(%K(i), P) – MA(MA(%K(i), P), P);
where:
Fast%K(i) – fast %K of the current bar;
Close(i) – close price of the current bar;
MaxHigh(N) – maximum High for N preceding periods;
MinLow(N) – minimum Low for N preceding periods;
MA – moving average;
N – the range of High/Low computation;
P – smoothing period for %D(i).
답변 1
예스스탁 예스스탁 답변
2015-01-06 17:03:19
안녕하세요
예스스탁입니다.
input : N(10),P(5);;
var : FK(0),SK(0),SD(0);
FK = 100*(Close - highest(H,N)) /(highest(H,N)-lowest(L,N));
SK = 2*MA(FK, N) - MA(MA(FK, N), N);
SD = 2*MA(SK, P) - MA(MA(SK, P), P);
plot1(FK);
plot2(SK);
plot3(SD);
즐거운 하루되시고 새해 좋은일만 가득하시기 바랍니다.
> 뉴스타트 님이 쓴 글입니다.
> 제목 : 안녕하세요
> 수고많으세요
예스로 변환 부탁드립니다.
기간변수는 (30,10,10),
Fast%K(i) = 100*(Close(i) – MaxHigh(N)) / (MaxHigh(N) – MinLow(N));
%K(i) = 2*MA(Fast%K(i), N) – MA(MA(Fast%K(i), N), N);
%D(i) = 2*MA(%K(i), P) – MA(MA(%K(i), P), P);
where:
Fast%K(i) – fast %K of the current bar;
Close(i) – close price of the current bar;
MaxHigh(N) – maximum High for N preceding periods;
MinLow(N) – minimum Low for N preceding periods;
MA – moving average;
N – the range of High/Low computation;
P – smoothing period for %D(i).
이전글