커뮤니티

수식 문의

프로필 이미지
흑수돌
2013-04-01 11:05:40
196
글번호 61439
답변완료
please check attaschment. always thank you.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-04-01 10:48:01

안녕하세요? 예스스탁입니다. 문의하신 지표식 답변드립니다. 속성창에서 차트표시의 종류를 '점'그래프로 설정하시고 식에서 작성된 색을 다른 색으로 바꿔 주시면 됩니다. input : n1(5), n2(10), n3(20), n4(60), n5(120), n6(20), n7(12), n8(5), n9(5), n10(20), n11(60); Condition1 = ma(C,n1) > ma(C,n2) and ma(C,n2) > ma(C,n3) and ma(C,n3) > ma(C,n4) and ma(C,n4) > ma(C,n5); Condition2 = CrossUp(C, BollBandUp(n6,2)); if Condition1 Then plot1(0.5,"0.5",red); if Condition2 Then plot1(0.5,"0.5",gray); if Condition1 and Condition2 Then plot1(0.5,"0.5",green); Condition3 = ma(C,n1) < ma(C,n2) and ma(C,n2) < ma(C,n3) and ma(C,n3) < ma(C,n4) and ma(C,n4) < ma(C,n5); Condition4 = Crossdown(C, BollBandUp(n6,2)); if Condition3 Then plot1(0.5,"0.5",black); if Condition4 Then plot1(0.5,"0.5",blue); if Condition3 and Condition4 Then plot1(0.5,"0.5",MAGENTA); Condition5 = StochasticsK(n7,n8) > StochasticsD(n7,n8,n9); Condition6 = ma(C,n10) > ma(C,n11); if Condition5 Then plot2(-0.5,"-0.5",red); if Condition6 Then plot2(-0.5,"-0.5",gray); if Condition5 and Condition6 Then plot2(-0.5,"-0.5",green); Condition7 = StochasticsK(n7,n8) < StochasticsD(n7,n8,n9); Condition8 = ma(C,n10) < ma(C,n11); if Condition7 Then plot2(-0.5,"-0.5",black); if Condition8 Then plot2(-0.5,"-0.5",blue); if Condition7 and Condition8 Then plot2(-0.5,"-0.5",MAGENTA); > 흑수돌 님이 쓴 글입니다. > 제목 : 수식 문의 > please check attaschment. always thank you.