커뮤니티

수식 부탁합니다.

프로필 이미지
지킴이
2017-03-16 19:51:44
115
글번호 107902
답변완료
항상 건승하세요... 이평그믈망 지표를 만들었는데요.. 그믈망 지표에서 일정기간동안 예를 들어 30 개봉중에 최고가와 최저가를 나타내고 싶습니다. 물론 지표의 최고 최저 이고요.. 수식 부탁드립니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-03-17 10:36:42

안녕하세요 예스스탁입니다. 아래식 참고하시기 바랍니다. Input : P(5); var : cnt(0),HH(0),LL(0),Hv(0),Lv(0); Array : MAV[51](0); for cnt = 1 to 50{ MAV[cnt] = ma(C,P*cnt); } HH = mav[1]; LL = mav[1]; for cnt = 1 to 50{ if mav[cnt] > 0 and mav[cnt] > HH Then HH = mav[cnt]; if mav[cnt] > 0 and mav[cnt] < LL Then LL = mav[cnt]; } Hv = highest(HH,30); Lv = Lowest(LL,30); Plot1(mav[1], "이동평균1"); Plot2(mav[2], "이동평균2"); Plot3(mav[3], "이동평균3"); Plot4(mav[4], "이동평균4"); Plot5(mav[5], "이동평균5"); Plot6(mav[6], "이동평균6"); Plot7(mav[7], "이동평균7"); Plot8(mav[8], "이동평균8"); Plot9(mav[9], "이동평균9"); Plot10(mav[10], "이동평균10"); Plot11(mav[11], "이동평균11"); Plot12(mav[12], "이동평균12"); Plot13(mav[13], "이동평균13"); Plot14(mav[14], "이동평균14"); Plot15(mav[15], "이동평균15"); Plot16(mav[16], "이동평균16"); Plot17(mav[17], "이동평균17"); Plot18(mav[18], "이동평균18"); Plot19(mav[19], "이동평균19"); Plot20(mav[20], "이동평균20"); Plot21(mav[21], "이동평균21"); Plot22(mav[22], "이동평균22"); Plot23(mav[23], "이동평균23"); Plot24(mav[24], "이동평균24"); Plot25(mav[25], "이동평균25"); Plot26(mav[26], "이동평균26"); Plot27(mav[27], "이동평균27"); Plot28(mav[28], "이동평균28"); Plot29(mav[29], "이동평균29"); Plot30(mav[30], "이동평균30"); Plot31(mav[31], "이동평균31"); Plot32(mav[32], "이동평균32"); Plot33(mav[33], "이동평균33"); Plot34(mav[34], "이동평균34"); Plot35(mav[35], "이동평균35"); Plot36(mav[36], "이동평균36"); Plot37(mav[37], "이동평균37"); Plot38(mav[38], "이동평균38"); Plot39(mav[39], "이동평균39"); Plot40(mav[40], "이동평균40"); Plot41(mav[41], "이동평균41"); Plot42(mav[42], "이동평균42"); Plot43(mav[43], "이동평균43"); Plot44(mav[44], "이동평균44"); Plot45(mav[45], "이동평균45"); Plot46(mav[46], "이동평균46"); Plot47(mav[47], "이동평균47"); Plot48(mav[48], "이동평균48"); Plot49(mav[49], "이동평균49"); Plot50(mav[50], "이동평균50"); plot51(Hv); plot52(Lv); 즐거운 하루되세요 > 지킴이 님이 쓴 글입니다. > 제목 : 수식 부탁합니다. > 항상 건승하세요... 이평그믈망 지표를 만들었는데요.. 그믈망 지표에서 일정기간동안 예를 들어 30 개봉중에 최고가와 최저가를 나타내고 싶습니다. 물론 지표의 최고 최저 이고요.. 수식 부탁드립니다.