커뮤니티
부탁드립니다
2018-02-20 08:32:45
143
글번호 116714
현상태의 그물망차트에서 최고값 최저값 1/4(25%), 2/4(50%),3/4(75%)에
줄을 긋고 싶습니다
부탁드립니다.
답변 1
예스스탁 예스스탁 답변
2018-02-20 14:18:52
안녕하세요
예스스탁입니다.
Input : Period(5);
var : cnt(0),HH(0),LL(0);
Array : MAV[51](0);
HH = 0;
LL = 0;
for cnt = 1 to 50
{
MAV[cnt] = ma(c,Period*cnt);
if HH == 0 or (HH > 0 and mav[cnt] > HH) Then
HH = mav[cnt];
if LL == 0 or (LL > 0 and mav[cnt] < LL) Then
LL = mav[cnt];
}
Plot1(MAV[1], "이동평균1");
Plot2(MAV[2], "이동평균2");
Plot3(MAV[3], "이동평균3");
Plot4(MAV[4], "이동평균4");
Plot5(MAV[5], "이동평균5");
Plot6(MAV[6], "이동평균6");
Plot7(MAV[7], "이동평균7");
Plot8(MAV[8], "이동평균8");
Plot9(MAV[9], "이동평균9");
Plot10(MAV[10], "이동평균10");
Plot11(MAV[11], "이동평균11");
Plot12(MAV[12], "이동평균12");
Plot13(MAV[13], "이동평균13");
Plot14(MAV[14], "이동평균14");
Plot15(MAV[15], "이동평균15");
Plot16(MAV[16], "이동평균16");
Plot17(MAV[17], "이동평균17");
Plot18(MAV[18], "이동평균18");
Plot19(MAV[19], "이동평균19");
Plot20(MAV[20], "이동평균20");
Plot21(MAV[21], "이동평균21");
Plot22(MAV[22], "이동평균22");
Plot23(MAV[23], "이동평균23");
Plot24(MAV[24], "이동평균24");
Plot25(MAV[25], "이동평균25");
Plot26(MAV[26], "이동평균26");
Plot27(MAV[27], "이동평균27");
Plot28(MAV[28], "이동평균28");
Plot29(MAV[29], "이동평균29");
Plot30(MAV[30], "이동평균30");
Plot31(MAV[31], "이동평균31");
Plot32(MAV[32], "이동평균32");
Plot33(MAV[33], "이동평균33");
Plot34(MAV[34], "이동평균34");
Plot35(MAV[35], "이동평균35");
Plot36(MAV[36], "이동평균36");
Plot37(MAV[37], "이동평균37");
Plot38(MAV[38], "이동평균38");
Plot39(MAV[39], "이동평균39");
Plot40(MAV[40], "이동평균40");
Plot41(MAV[41], "이동평균41");
Plot42(MAV[42], "이동평균42");
Plot43(MAV[43], "이동평균43");
Plot44(MAV[44], "이동평균44");
Plot45(MAV[45], "이동평균45");
Plot46(MAV[46], "이동평균46");
Plot47(MAV[47], "이동평균47");
Plot48(MAV[48], "이동평균48");
Plot49(MAV[49], "이동평균49");
Plot50(MAV[50], "이동평균50");
plot51(HH-(HH-LL)*0.25,"25%");
plot52(HH-(HH-LL)*0.50,"50%");
plot53(HH-(HH-LL)*0.75,"75%");
즐거운 하루되세요
> 마르뚝 님이 쓴 글입니다.
> 제목 : 부탁드립니다
> 현상태의 그물망차트에서 최고값 최저값 1/4(25%), 2/4(50%),3/4(75%)에
줄을 긋고 싶습니다
부탁드립니다.