커뮤니티

부탁 드립니다.

프로필 이미지
yes
2016-06-13 19:35:28
118
글번호 99019
답변완료
48153번 추가 질문 부탁 드립니다.
지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2016-06-14 10:19:42

안녕하세요 예스스탁입니다. var : idx(0); if Bdate != Bdate[1] Then idx = 0; if Bdate == Bdate[1] Then idx = idx+1; value1 = idx%4; value2 = idx%7; if Bdate != Bdate[1] or (bdate == bdate[1] and value1 < value1[1]) Then{ var1 = O; var11 = C; } if Bdate != Bdate[1] or (bdate == bdate[1] and value2 < value2[1]) Then{ var2 = O; var22 = C; } if ((c > O) or (C == O and C >= C[1])) and ((c > var1) or (C == var1 and C >= var11)) and ((c > var2) or (C == var2 and C >= var22)) Then{ plot1(v,"거래량",RED); value1 = V; } else if ((c < O) or (C == O and C < C[1])) and ((c < var1) or (C == var1 and C < var11)) and ((c < var2) or (C == var2 and C < var22)) Then{ plot1(v,"거래량",blue); value2 = V; } else{ plot1(-v,"거래량",BLACK); } var55 = value1-value2; var66 = ma(var55,20); plot2(var55); plot3(var66); 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 48153번 추가 질문 부탁 드립니다.
프로필 이미지

yes

2016-06-14 11:09:27

답변 수식중 -v를 value3로 표현 및 plot1(-v,"거래량",BLACK)를 함수화 부탁 드리고자 합니다. 미리 감사 드립니다. > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 부탁 드립니다. > 안녕하세요 예스스탁입니다. var : idx(0); if Bdate != Bdate[1] Then idx = 0; if Bdate == Bdate[1] Then idx = idx+1; value1 = idx%4; value2 = idx%7; if Bdate != Bdate[1] or (bdate == bdate[1] and value1 < value1[1]) Then{ var1 = O; var11 = C; } if Bdate != Bdate[1] or (bdate == bdate[1] and value2 < value2[1]) Then{ var2 = O; var22 = C; } if ((c > O) or (C == O and C >= C[1])) and ((c > var1) or (C == var1 and C >= var11)) and ((c > var2) or (C == var2 and C >= var22)) Then{ plot1(v,"거래량",RED); value1 = V; } else if ((c < O) or (C == O and C < C[1])) and ((c < var1) or (C == var1 and C < var11)) and ((c < var2) or (C == var2 and C < var22)) Then{ plot1(v,"거래량",blue); value2 = V; } else{ plot1(-v,"거래량",BLACK); } var55 = value1-value2; var66 = ma(var55,20); plot2(var55); plot3(var66); 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 48153번 추가 질문 부탁 드립니다.