커뮤니티
수식 부탁 드립니다.
2015-05-18 15:27:53
132
글번호 86155
매수 : Force index(5,20) 의 Fvalfast가 전 Fvalfast의 꼭 지점을 상향시
매도: Force Index(5,20) 의 Fvalfast가 FvalSlow를 하향시
답변 1
예스스탁 예스스탁 답변
2015-05-18 17:00:37
안녕하세요
예스스탁입니다.
Inputs: ShortPeriod(5),LongPeriod(20);
Variables: Fval(0),FvalFast(0),FvalSlow(0),T(0);
Fval = ((Close - Close[1]) * Volume) ;
FvalFast = Ema(Fval, ShortPeriod);
FvalSlow = Ema(Fval, LongPeriod);
if FvalFast > FvalFast[1] Then
T = 1;
if FvalFast < FvalFast[1] Then
T = -1;
if T == 1 and T[1] != 1 Then
var1 = FvalFast[1];
if T == 1 and crossup(FvalFast,var1) Then
buy();
if CrossDown(FvalFast,Fvalslow) Then
sell();
즐거운 하루되세요
> 기관장 님이 쓴 글입니다.
> 제목 : 수식 부탁 드립니다.
> 매수 : Force index(5,20) 의 Fvalfast가 전 Fvalfast의 꼭 지점을 상향시
매도: Force Index(5,20) 의 Fvalfast가 FvalSlow를 하향시
다음글
이전글