커뮤니티
지표식부탁드립니다.
2013-09-03 09:34:38
117
글번호 67107
그물망 5,10,20 기간을 이용해
각 5개의 그물망만들어
상승일때 빨강색깔 하락일때 파랑색깔을 넣고 싶습니다.
답변 1
예스스탁 예스스탁 답변
2013-09-03 14:14:34
안녕하세요
예스스탁입니다
각 기준기간별로 1씩 증가한 값을 기간으로 사용했습니다.
input : P1(5),P2(10),P3(20);
var11 = ma(C,p1);
var12 = ma(C,p1+1);
var13 = ma(C,p1+2);
var14 = ma(C,p1+3);
var15 = ma(C,p1+4);
var21 = ma(C,p2);
var22 = ma(C,p2+1);
var23 = ma(C,p2+2);
var24 = ma(C,p2+3);
var25 = ma(C,p2+4);
var31 = ma(C,p3);
var32 = ma(C,p3+1);
var33 = ma(C,p3+2);
var34 = ma(C,p3+3);
var35 = ma(C,p3+4);
plot1(var11,"이평1",iff(var11 > var11[1],RED,blue));
plot2(var12,"이평1",iff(var12 > var12[1],RED,blue));
plot3(var13,"이평1",iff(var13 > var13[1],RED,blue));
plot4(var14,"이평1",iff(var14 > var14[1],RED,blue));
plot5(var15,"이평1",iff(var15 > var15[1],RED,blue));
plot11(var21,"이평1",iff(var21 > var21[1],RED,blue));
plot12(var22,"이평1",iff(var22 > var22[1],RED,blue));
plot13(var23,"이평1",iff(var23 > var23[1],RED,blue));
plot14(var24,"이평1",iff(var24 > var24[1],RED,blue));
plot15(var25,"이평1",iff(var25 > var25[1],RED,blue));
plot21(var31,"이평1",iff(var31 > var31[1],RED,blue));
plot22(var32,"이평1",iff(var32 > var32[1],RED,blue));
plot23(var33,"이평1",iff(var33 > var33[1],RED,blue));
plot24(var34,"이평1",iff(var34 > var34[1],RED,blue));
plot25(var35,"이평1",iff(var35 > var35[1],RED,blue));
즐거운 하루되세요
> 필승0701 님이 쓴 글입니다.
> 제목 : 지표식부탁드립니다.
> 그물망 5,10,20 기간을 이용해
각 5개의 그물망만들어
상승일때 빨강색깔 하락일때 파랑색깔을 넣고 싶습니다.
다음글
이전글