커뮤니티

수식변환 부탁드립니다.

프로필 이미지
homeros
2017-03-22 10:12:19
159
글번호 108078
답변완료
perod :5 수식1 t1=tema(c,period); valuewhen(1,crossup(c,t1) or crossdown(c,t1),c) 수식2 t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),h)); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),l)); x 수식3 y 수식4 t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),h)); 수식5 t1=tema(c,period); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),l));
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-03-22 16:43:43

안녕하세요 예스스탁입니다. 수식4/수식5는 수식2/수식3과 같습니다. input : Period(5); var :t1(0),HH(0),LL(0),x(0),y(0); t1= ema(ema(ema(c,period),Period),Period); if crossup(c,t1) Then{ HH = H; y = LL; } if H > HH Then HH = H; if CrossDown(c,t1) Then{ LL = L; x = HH; } if L < LL Then LL = L; if crossup(c,t1) or crossdown(c,t1) Then var1= C; plot1(var1); plot2(x); plot3(y); 즐거운 하루되세요 > homeros 님이 쓴 글입니다. > 제목 : 수식변환 부탁드립니다. > perod :5 수식1 t1=tema(c,period); valuewhen(1,crossup(c,t1) or crossdown(c,t1),c) 수식2 t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),h)); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),l)); x 수식3 y 수식4 t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),h)); 수식5 t1=tema(c,period); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),l));