커뮤니티

지표 수식으로 변환부탁

프로필 이미지
이대표
2019-07-20 17:43:25
399
글번호 130521
답변완료
다음 수식을 지표 수식으로 변환부탁드립니다. <1> t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),t1)); period 20 지표색깔 빨강 <2> t1=tema(c,period); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),t1)); period 20 지표색깔 검정
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-07-23 11:21:49

안녕하세요 예스스탁입니다. input : period(20); var : t1(0),x(0),hh(0),ll(0),y(0); t1= ema(ema(ema(c,period),period),period); if crossup(c,t1) Then { hh = t1; y = ll; } if CrossDown(c,t1) Then { ll = t1; x = hh; } if hh > 0 and t1 > hh Then hh = t1; if ll < 0 and t1 < ll Then ll = t1; if x > 0 Then plot1(x,"x",RED); if y > 0 Then plot2(y,"y",blue); 즐거운 하루되세요 > 이대표 님이 쓴 글입니다. > 제목 : 지표 수식으로 변환부탁 > 다음 수식을 지표 수식으로 변환부탁드립니다. <1> t1=tema(c,period); x=valuewhen(1,crossdown(c,t1), highestsince(1,crossup(c,t1),t1)); period 20 지표색깔 빨강 <2> t1=tema(c,period); y=valuewhen(1,crossup(c,t1), lowestsince(1,crossdown(c,t1),t1)); period 20 지표색깔 검정