커뮤니티

이평20개

프로필 이미지
회원
2013-05-05 20:38:34
216
글번호 62801
답변완료
이평을 20개를 만들고 싶은데 다음식에서 어디가 잘못 되었나요???이평 20개를 만들어 주셔요???? 수고하셔요!!! Input : Period1(8), Period2(10), Period3(20), Period4(30), Period5(40); Period6(60), Period7(100), Period8(120), Period9(150), Period10(200); Period11(300), Period12(450), Period13(500), Period14(750), Period15(900); Period16(1500), Period17(1800), Period18(2250), Period19(50), Period20(70); var : Sma1(0),Sma2(0),Sma3(0),Sma4(0),Sma5(0); Sma6(0),Sma7(0),Sma8(0),Sma9(0),Sma10(0); Sma11(0),Sma12(0),Sma13(0),Sma14(0),Sma15(0); Sma16(0),Sma17(0),Sma18(0),Sma19(0),Sma20(0); Sma1 = ma(C,Period1); Sma2 = ma(C,Period2); Sma3 = ma(C,Period3); Sma4 = ma(C,Period4); Sma5 = ma(C,Period5); Sma6 = ma(C,Period6); Sma7 = ma(C,Period7); Sma8= ma(C,Period8); Sma9 = ma(C,Period9); Sma10 = ma(C,Period10); Sma11 = ma(C,Period11); Sma12 = ma(C,Period12); Sma13 = ma(C,Period13); Sma14 = ma(C,Period14); Sma15 = ma(C,Period15); Sma16 = ma(C,Period16); Sma17 = ma(C,Period17); Sma18 = ma(C,Period18); Sma19 = ma(C,Period19); Sma20 = ma(C,Period20); Plot1(Sma1, "이동평균1"); Plot2(Sma2, "이동평균2"); Plot3(Sma3, "이동평균3"); Plot4(Sma4, "이동평균4"); Plot5(Sma5, "이동평균5"); Plot6(Sma6, "이동평균6"); Plot7(Sma7, "이동평균7"); Plot8(Sma8, "이동평균8"); Plot9(Sma9, "이동평균9"); Plot10(Sma10, "이동평균10"); Plot11(Sma11, "이동평균11"); Plot12(Sma12, "이동평균12"); Plot13(Sma13, "이동평균13"); Plot14(Sma14, "이동평균14"); Plot15(Sma15, "이동평균15"); Plot16(Sma16, "이동평균16"); Plot17(Sma17, "이동평균17"); Plot18(Sma18, "이동평균18"); Plot19(Sma19, "이동평균19"); Plot20(Sma20, "이동평균20");
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-05-06 11:29:28

안녕하세요 예스스탁입니다. Input : Period1(8), Period2(10), Period3(20), Period4(30), Period5(40); input : Period6(60), Period7(100), Period8(120), Period9(150), Period10(200); input : Period11(300), Period12(450), Period13(500), Period14(750), Period15(900); input : Period16(1500), Period17(1800), Period18(2250), Period19(50), Period20(70); var : Sma1(0),Sma2(0),Sma3(0),Sma4(0),Sma5(0); var : Sma6(0),Sma7(0),Sma8(0),Sma9(0),Sma10(0); var : Sma11(0),Sma12(0),Sma13(0),Sma14(0),Sma15(0); var : Sma16(0),Sma17(0),Sma18(0),Sma19(0),Sma20(0); Sma1 = ma(C,Period1); Sma2 = ma(C,Period2); Sma3 = ma(C,Period3); Sma4 = ma(C,Period4); Sma5 = ma(C,Period5); Sma6 = ma(C,Period6); Sma7 = ma(C,Period7); Sma8= ma(C,Period8); Sma9 = ma(C,Period9); Sma10 = ma(C,Period10); Sma11 = ma(C,Period11); Sma12 = ma(C,Period12); Sma13 = ma(C,Period13); Sma14 = ma(C,Period14); Sma15 = ma(C,Period15); Sma16 = ma(C,Period16); Sma17 = ma(C,Period17); Sma18 = ma(C,Period18); Sma19 = ma(C,Period19); Sma20 = ma(C,Period20); Plot1(Sma1, "이동평균1"); Plot2(Sma2, "이동평균2"); Plot3(Sma3, "이동평균3"); Plot4(Sma4, "이동평균4"); Plot5(Sma5, "이동평균5"); Plot6(Sma6, "이동평균6"); Plot7(Sma7, "이동평균7"); Plot8(Sma8, "이동평균8"); Plot9(Sma9, "이동평균9"); Plot10(Sma10, "이동평균10"); Plot11(Sma11, "이동평균11"); Plot12(Sma12, "이동평균12"); Plot13(Sma13, "이동평균13"); Plot14(Sma14, "이동평균14"); Plot15(Sma15, "이동평균15"); Plot16(Sma16, "이동평균16"); Plot17(Sma17, "이동평균17"); Plot18(Sma18, "이동평균18"); Plot19(Sma19, "이동평균19"); Plot20(Sma20, "이동평균20"); 변수 선언하실 때 줄바꿈을 하실 경우 ,만 표시하시면 됩니다 ;은 변수선언이 모두 끝났다는 표현이므로 다음줄에 다시 선언하실경우 첨부된 식과 같이 input이나 var키워드를 다시 써주셔야 합니다. 즐거운 하루되세요 > WT_p60298 님이 쓴 글입니다. > 제목 : 이평20개 > 이평을 20개를 만들고 싶은데 다음식에서 어디가 잘못 되었나요???이평 20개를 만들어 주셔요???? 수고하셔요!!! Input : Period1(8), Period2(10), Period3(20), Period4(30), Period5(40); Period6(60), Period7(100), Period8(120), Period9(150), Period10(200); Period11(300), Period12(450), Period13(500), Period14(750), Period15(900); Period16(1500), Period17(1800), Period18(2250), Period19(50), Period20(70); var : Sma1(0),Sma2(0),Sma3(0),Sma4(0),Sma5(0); Sma6(0),Sma7(0),Sma8(0),Sma9(0),Sma10(0); Sma11(0),Sma12(0),Sma13(0),Sma14(0),Sma15(0); Sma16(0),Sma17(0),Sma18(0),Sma19(0),Sma20(0); Sma1 = ma(C,Period1); Sma2 = ma(C,Period2); Sma3 = ma(C,Period3); Sma4 = ma(C,Period4); Sma5 = ma(C,Period5); Sma6 = ma(C,Period6); Sma7 = ma(C,Period7); Sma8= ma(C,Period8); Sma9 = ma(C,Period9); Sma10 = ma(C,Period10); Sma11 = ma(C,Period11); Sma12 = ma(C,Period12); Sma13 = ma(C,Period13); Sma14 = ma(C,Period14); Sma15 = ma(C,Period15); Sma16 = ma(C,Period16); Sma17 = ma(C,Period17); Sma18 = ma(C,Period18); Sma19 = ma(C,Period19); Sma20 = ma(C,Period20); Plot1(Sma1, "이동평균1"); Plot2(Sma2, "이동평균2"); Plot3(Sma3, "이동평균3"); Plot4(Sma4, "이동평균4"); Plot5(Sma5, "이동평균5"); Plot6(Sma6, "이동평균6"); Plot7(Sma7, "이동평균7"); Plot8(Sma8, "이동평균8"); Plot9(Sma9, "이동평균9"); Plot10(Sma10, "이동평균10"); Plot11(Sma11, "이동평균11"); Plot12(Sma12, "이동평균12"); Plot13(Sma13, "이동평균13"); Plot14(Sma14, "이동평균14"); Plot15(Sma15, "이동평균15"); Plot16(Sma16, "이동평균16"); Plot17(Sma17, "이동평균17"); Plot18(Sma18, "이동평균18"); Plot19(Sma19, "이동평균19"); Plot20(Sma20, "이동평균20");