커뮤니티

문의드립니다

프로필 이미지
회원
2016-10-27 19:12:28
90
글번호 103449
답변완료
input : P1(5),P2(20),P3(60); var1 = ma(C,P1); var2 = ma(C,P2); var3 = ma(C,P3); Condition1 = var1 > var2 and var2 > var3; Condition2 = var1 < var2 and var2 < var3; if Condition1 == true Then plot1(H,"검색",RED); if Condition2 == true Then plot1(L,"검색",blue); .............................................................................. 상기식을 데이타2용으로 가공해 주세요 (강조식으로도 부탁드립니다) 감사합니다.
검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-10-28 10:58:09

안녕하세요 예스스탁입니다. 1. input : P1(5),P2(20),P3(60); var : V1(0,data2),V2(0,data2),V3(0,data2),cond1(false,data2),cond2(false,data2); V1 = data2(ma(C,P1)); V2 = data2(ma(C,P2)); V3 = data2(ma(C,P3)); Cond1 = V1 > V2 and V2 > V3; Cond2 = V1 < V2 and V2 < V3; if Cond1 == true Then plot1(H,"검색",RED); if Cond2 == true Then plot1(L,"검색",blue); 2 input : P1(5),P2(20),P3(60); var : V1(0,data2),V2(0,data2),V3(0,data2),cond1(false,data2),cond2(false,data2); V1 = data2(ma(C,P1)); V2 = data2(ma(C,P2)); V3 = data2(ma(C,P3)); Cond1 = V1 > V2 and V2 > V3; Cond2 = V1 < V2 and V2 < V3; if Cond1 == true Then PlotPaintBar(H,L,"강조",RED); if Cond2 == true Then PlotPaintBar(H,L,"강조",blue); 즐거운 하루되세요 > alsk 님이 쓴 글입니다. > 제목 : 문의드립니다 > input : P1(5),P2(20),P3(60); var1 = ma(C,P1); var2 = ma(C,P2); var3 = ma(C,P3); Condition1 = var1 > var2 and var2 > var3; Condition2 = var1 < var2 and var2 < var3; if Condition1 == true Then plot1(H,"검색",RED); if Condition2 == true Then plot1(L,"검색",blue); .............................................................................. 상기식을 데이타2용으로 가공해 주세요 (강조식으로도 부탁드립니다) 감사합니다.