커뮤니티

수식문의 드립니다.

프로필 이미지
젤플린
2023-02-28 01:39:11
1295
글번호 166760
답변완료
수식변환 다시한번 요청드립니다. 수식1 a=tema(c,period1); b=tema(c,period2); x=valuewhen(1,crossup(a,b)or crossdown(a,b),b) 수식2 if(x<c,x,1) 변수값 period1 2 period2 3 감사합니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-02-28 14:41:24

안녕하세요 예스스탁입니다. input : period1(2),Period2(3); var : a(0),b(0),x(0); a=ema(ema(ema(c,period1),period1),period1); b=ema(ema(ema(c,period2),period2),period2); if crossup(a,b) or crossdown(a,b) Then x = b; if x < c Then var1 = x; if x > 0 Then Plot1(x); if var1 > 0 Then plot2(var1); 즐거운 하루되세요 > 젤플린 님이 쓴 글입니다. > 제목 : 수식문의 드립니다. > 수식변환 다시한번 요청드립니다. 수식1 a=tema(c,period1); b=tema(c,period2); x=valuewhen(1,crossup(a,b)or crossdown(a,b),b) 수식2 if(x<c,x,1) 변수값 period1 2 period2 3 감사합니다.