커뮤니티

수식 완성 요청

프로필 이미지
회원
2013-04-03 20:04:08
332
글번호 61659
답변완료

첨부 이미지

//지표식1 plot1(ma((c+h+l)/3,5)); plot2(ma((c+h+l)/3,5)+2+stdev((c+h+l)/3,5)); plot3(ma((c+h+l)/3,5)-2+stdev((c+h+l)/3,5)); plot4(ma(c,3)); plot5(ma(c,5)); //지표식2 var1 = Trix(10); var2 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); if CRossUp(var1,0) then value1 = var2; if var2 > value1 Then value1 = var2; if CrossDown(var1,0) Then value2 = var2; if var2 < value2 Then value2 = var2; plot1(value1); plot2(value2); //지표식3 var1 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); var2 = ma((c+h+l)/3,5)-2+std((c+h+l)/3,5); plot1(var1); plot2(var2); 위 지표를 4월1일에 완성해 주셨는데요... 저의 실력이 미천해서 도무지 지표가 나오지 않네요.. 혹시 위 3개를 하나로 표현할 수 있는지요?
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-04-04 09:19:43

안녕하세요 예스스탁입니다. 아래내용을 하나의 지표식으로 작성하시면 됩니다. 총 9개선이 출력됩니다,. 색선이나 채우기등은 지표속성창에서 설정하시면 됩니다. //지표식1 plot1(ma((c+h+l)/3,5)); plot2(ma((c+h+l)/3,5)+2+stdev((c+h+l)/3,5)); plot3(ma((c+h+l)/3,5)-2+stdev((c+h+l)/3,5)); plot4(ma(c,3)); plot5(ma(c,5)); //지표식2 var1 = Trix(10); var2 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); if CRossUp(var1,0) then value1 = var2; if var2 > value1 Then value1 = var2; if CrossDown(var1,0) Then value2 = var2; if var2 < value2 Then value2 = var2; plot6(value1); plot7(value2); //지표식3 var11 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); var12 = ma((c+h+l)/3,5)-2+std((c+h+l)/3,5); plot8(var11); plot9(var12); 즐거운 하루되세요 > HI_gapilee1 님이 쓴 글입니다. > 제목 : 수식 완성 요청 > //지표식1 plot1(ma((c+h+l)/3,5)); plot2(ma((c+h+l)/3,5)+2+stdev((c+h+l)/3,5)); plot3(ma((c+h+l)/3,5)-2+stdev((c+h+l)/3,5)); plot4(ma(c,3)); plot5(ma(c,5)); //지표식2 var1 = Trix(10); var2 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); if CRossUp(var1,0) then value1 = var2; if var2 > value1 Then value1 = var2; if CrossDown(var1,0) Then value2 = var2; if var2 < value2 Then value2 = var2; plot1(value1); plot2(value2); //지표식3 var1 = ma((c+h+l)/3,5)+2+std((c+h+l)/3,5); var2 = ma((c+h+l)/3,5)-2+std((c+h+l)/3,5); plot1(var1); plot2(var2); 위 지표를 4월1일에 완성해 주셨는데요... 저의 실력이 미천해서 도무지 지표가 나오지 않네요.. 혹시 위 3개를 하나로 표현할 수 있는지요?