커뮤니티
그물망 이평선 알림 설정 지표
2019-03-21 16:48:04
461
글번호 127286
벌써 계절은 봄을 맞이하게 있습니다.
그 동안 가르쳐 주신 지표로 투자에 많은 도움이 되었습니다.
언제나 저희 개인투자자를 위하여 수고하시는 담당자님에게 감사드립니다.
저는 담당자님의 친절한 가르침으로 그물망 돌파를 이용해서 매매해 오고 있었는데, 추가로 그물망의 수축과 확산의 현상에 주목하면서 일정틱수 이하로 수축시 알람을 울리는 지표를 만들고자 합니다. 아래는 제가 임의로 원하는 수식을 설명한 것인데... 제가 무식하거나 진짜 아무것도 몰라서 하는 질문이라면... 양해부탁드리며 질의 드립니다.
1. 아래의 그물망 수식은 그존의 50개에서 81개로 그물망이 각 이평선을 늘린 것인데, 표현하고자 하는 지표는 2번의 설명과 같다.
2. 궁금한 것은 차트에 표기된 아래의 그물망 수식의 맨 위 이평선과 맨아래 그물망 이평선의 간격이 임의로 설정하는 값의 일정틱수(틱수로 표현이 불가능하면 비숫하게 환산이 가능한 값이면 됨) 이내로 하면서 임의로 설정하는 봉갯수이상(이 것을 표현이 불가능할 때는 생략해도 됨) 일 때 알람이 울리게 하는 수식(양쪽을 다 만족하는 수식이 있으면 좋지만, 후자의 수식의 표현이 불가능하면 전자만으로도 가능하도록 부탁드립니다)을 만들고 싶습니다.
Input : Period(5);
Plot1(ma(C,Period*1), "이동평균1");
Plot2(ma(C,Period*2), "이동평균2");
Plot3(ma(C,Period*3), "이동평균3");
Plot4(ma(C,Period*4), "이동평균4");
Plot5(ma(C,Period*5), "이동평균5");
Plot6(ma(C,Period*6), "이동평균6");
Plot7(ma(C,Period*7), "이동평균7");
Plot8(ma(C,Period*8), "이동평균8");
Plot9(ma(C,Period*9), "이동평균9");
Plot10(ma(C,Period*10), "이동평균10");
Plot11(ma(C,Period*11), "이동평균11");
Plot12(ma(C,Period*12), "이동평균12");
Plot13(ma(C,Period*13), "이동평균13");
Plot14(ma(C,Period*14), "이동평균14");
Plot15(ma(C,Period*15), "이동평균15");
Plot16(ma(C,Period*16), "이동평균16");
Plot17(ma(C,Period*17), "이동평균17");
Plot18(ma(C,Period*18), "이동평균18");
Plot19(ma(C,Period*19), "이동평균19");
Plot20(ma(C,Period*20), "이동평균20");
Plot21(ma(C,Period*21), "이동평균21");
Plot22(ma(C,Period*22), "이동평균22");
Plot23(ma(C,Period*23), "이동평균23");
Plot24(ma(C,Period*24), "이동평균24");
Plot25(ma(C,Period*25), "이동평균25");
Plot26(ma(C,Period*26), "이동평균26");
Plot27(ma(C,Period*27), "이동평균27");
Plot28(ma(C,Period*28), "이동평균28");
Plot29(ma(C,Period*29), "이동평균29");
Plot30(ma(C,Period*30), "이동평균30");
Plot31(ma(C,Period*31), "이동평균31");
Plot32(ma(C,Period*32), "이동평균32");
Plot33(ma(C,Period*33), "이동평균33");
Plot34(ma(C,Period*34), "이동평균34");
Plot35(ma(C,Period*35), "이동평균35");
Plot36(ma(C,Period*36), "이동평균36");
Plot37(ma(C,Period*37), "이동평균37");
Plot38(ma(C,Period*38), "이동평균38");
Plot39(ma(C,Period*39), "이동평균39");
Plot40(ma(C,Period*40), "이동평균30");
Plot41(ma(C,Period*41), "이동평균41");
Plot42(ma(C,Period*42), "이동평균42");
Plot43(ma(C,Period*43), "이동평균43");
Plot44(ma(C,Period*44), "이동평균44");
Plot45(ma(C,Period*45), "이동평균45");
Plot46(ma(C,Period*46), "이동평균46");
Plot47(ma(C,Period*47), "이동평균47");
Plot48(ma(C,Period*48), "이동평균48");
Plot49(ma(C,Period*49), "이동평균49");
Plot50(ma(C,Period*50), "이동평균50");
Plot51(ma(C,Period*51), "이동평균51");
Plot52(ma(C,Period*52), "이동평균52");
Plot53(ma(C,Period*53), "이동평균53");
Plot54(ma(C,Period*54), "이동평균54");
Plot55(ma(C,Period*55), "이동평균55");
Plot56(ma(C,Period*56), "이동평균56");
Plot57(ma(C,Period*57), "이동평균57");
Plot58(ma(C,Period*58), "이동평균58");
Plot59(ma(C,Period*59), "이동평균59");
Plot60(ma(C,Period*60), "이동평균60");
Plot61(ma(C,Period*61), "이동평균61");
Plot62(ma(C,Period*62), "이동평균62");
Plot63(ma(C,Period*63), "이동평균63");
Plot64(ma(C,Period*64), "이동평균64");
Plot65(ma(C,Period*65), "이동평균65");
Plot66(ma(C,Period*66), "이동평균66");
Plot67(ma(C,Period*67), "이동평균67");
Plot68(ma(C,Period*68), "이동평균68");
Plot69(ma(C,Period*69), "이동평균69");
Plot70(ma(C,Period*70), "이동평균70");
Plot71(ma(C,Period*71), "이동평균71");
Plot72(ma(C,Period*72), "이동평균72");
Plot73(ma(C,Period*73), "이동평균73");
Plot74(ma(C,Period*74), "이동평균74");
Plot75(ma(C,Period*75), "이동평균75");
Plot76(ma(C,Period*76), "이동평균76");
Plot77(ma(C,Period*77), "이동평균77");
Plot78(ma(C,Period*78), "이동평균78");
Plot79(ma(C,Period*79), "이동평균79");
Plot80(ma(C,Period*80), "이동평균80");
Plot81(ma(C,Period*81), "이동평균81");
답변 1
예스스탁 예스스탁 답변
2019-03-22 10:19:34
안녕하세요
예스스탁입니다.
소리출력함수(playsound)는 함수내에 지정한 경로의 wav파일이 구동됩니다.
아래는 예스트레이더에 기본으로 제공되는 wav파일을 지정했습니다.
원하시는 wav파일의 경로와 이름으로 수정하시기 바랍니다.
게시판에서 식을 복사할 경우 경로명 중 ₩의 폰트가 깨질수 있으므로
₩는 다시 타이핑하시기 바랍니다.
Input : Period(5),범위(10),N(5);
var : cnt(0),hh(0),ll(0);
Array : mav[100](0);
hh = 0;
ll = 0;
for cnt = 1 to 81
{
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], "이동평균30");
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(mav[51], "이동평균51");
plot52(mav[52], "이동평균52");
plot53(mav[53], "이동평균53");
plot54(mav[54], "이동평균54");
plot55(mav[55], "이동평균55");
plot56(mav[56], "이동평균56");
plot57(mav[57], "이동평균57");
plot58(mav[58], "이동평균58");
plot59(mav[59], "이동평균59");
plot60(mav[60], "이동평균60");
plot61(mav[61], "이동평균61");
plot62(mav[62], "이동평균62");
plot63(mav[63], "이동평균63");
plot64(mav[64], "이동평균64");
plot65(mav[65], "이동평균65");
plot66(mav[66], "이동평균66");
plot67(mav[67], "이동평균67");
plot68(mav[68], "이동평균68");
plot69(mav[69], "이동평균69");
plot70(mav[70], "이동평균70");
plot71(mav[71], "이동평균71");
plot72(mav[72], "이동평균72");
plot73(mav[73], "이동평균73");
plot74(mav[74], "이동평균74");
plot75(mav[75], "이동평균75");
plot76(mav[76], "이동평균76");
plot77(mav[77], "이동평균77");
plot78(mav[78], "이동평균78");
plot79(mav[79], "이동평균79");
plot80(mav[80], "이동평균80");
plot81(mav[81], "이동평균81");
if countif(HH <= LL+PriceScale*범위,N) == N then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
즐거운 하루되세요
> 정구지 님이 쓴 글입니다.
> 제목 : 그물망 이평선 알림 설정 지표
>
벌써 계절은 봄을 맞이하게 있습니다.
그 동안 가르쳐 주신 지표로 투자에 많은 도움이 되었습니다.
언제나 저희 개인투자자를 위하여 수고하시는 담당자님에게 감사드립니다.
저는 담당자님의 친절한 가르침으로 그물망 돌파를 이용해서 매매해 오고 있었는데, 추가로 그물망의 수축과 확산의 현상에 주목하면서 일정틱수 이하로 수축시 알람을 울리는 지표를 만들고자 합니다. 아래는 제가 임의로 원하는 수식을 설명한 것인데... 제가 무식하거나 진짜 아무것도 몰라서 하는 질문이라면... 양해부탁드리며 질의 드립니다.
1. 아래의 그물망 수식은 그존의 50개에서 81개로 그물망이 각 이평선을 늘린 것인데, 표현하고자 하는 지표는 2번의 설명과 같다.
2. 궁금한 것은 차트에 표기된 아래의 그물망 수식의 맨 위 이평선과 맨아래 그물망 이평선의 간격이 임의로 설정하는 값의 일정틱수(틱수로 표현이 불가능하면 비숫하게 환산이 가능한 값이면 됨) 이내로 하면서 임의로 설정하는 봉갯수이상(이 것을 표현이 불가능할 때는 생략해도 됨) 일 때 알람이 울리게 하는 수식(양쪽을 다 만족하는 수식이 있으면 좋지만, 후자의 수식의 표현이 불가능하면 전자만으로도 가능하도록 부탁드립니다)을 만들고 싶습니다.
Input : Period(5);
Plot1(ma(C,Period*1), "이동평균1");
Plot2(ma(C,Period*2), "이동평균2");
Plot3(ma(C,Period*3), "이동평균3");
Plot4(ma(C,Period*4), "이동평균4");
Plot5(ma(C,Period*5), "이동평균5");
Plot6(ma(C,Period*6), "이동평균6");
Plot7(ma(C,Period*7), "이동평균7");
Plot8(ma(C,Period*8), "이동평균8");
Plot9(ma(C,Period*9), "이동평균9");
Plot10(ma(C,Period*10), "이동평균10");
Plot11(ma(C,Period*11), "이동평균11");
Plot12(ma(C,Period*12), "이동평균12");
Plot13(ma(C,Period*13), "이동평균13");
Plot14(ma(C,Period*14), "이동평균14");
Plot15(ma(C,Period*15), "이동평균15");
Plot16(ma(C,Period*16), "이동평균16");
Plot17(ma(C,Period*17), "이동평균17");
Plot18(ma(C,Period*18), "이동평균18");
Plot19(ma(C,Period*19), "이동평균19");
Plot20(ma(C,Period*20), "이동평균20");
Plot21(ma(C,Period*21), "이동평균21");
Plot22(ma(C,Period*22), "이동평균22");
Plot23(ma(C,Period*23), "이동평균23");
Plot24(ma(C,Period*24), "이동평균24");
Plot25(ma(C,Period*25), "이동평균25");
Plot26(ma(C,Period*26), "이동평균26");
Plot27(ma(C,Period*27), "이동평균27");
Plot28(ma(C,Period*28), "이동평균28");
Plot29(ma(C,Period*29), "이동평균29");
Plot30(ma(C,Period*30), "이동평균30");
Plot31(ma(C,Period*31), "이동평균31");
Plot32(ma(C,Period*32), "이동평균32");
Plot33(ma(C,Period*33), "이동평균33");
Plot34(ma(C,Period*34), "이동평균34");
Plot35(ma(C,Period*35), "이동평균35");
Plot36(ma(C,Period*36), "이동평균36");
Plot37(ma(C,Period*37), "이동평균37");
Plot38(ma(C,Period*38), "이동평균38");
Plot39(ma(C,Period*39), "이동평균39");
Plot40(ma(C,Period*40), "이동평균30");
Plot41(ma(C,Period*41), "이동평균41");
Plot42(ma(C,Period*42), "이동평균42");
Plot43(ma(C,Period*43), "이동평균43");
Plot44(ma(C,Period*44), "이동평균44");
Plot45(ma(C,Period*45), "이동평균45");
Plot46(ma(C,Period*46), "이동평균46");
Plot47(ma(C,Period*47), "이동평균47");
Plot48(ma(C,Period*48), "이동평균48");
Plot49(ma(C,Period*49), "이동평균49");
Plot50(ma(C,Period*50), "이동평균50");
Plot51(ma(C,Period*51), "이동평균51");
Plot52(ma(C,Period*52), "이동평균52");
Plot53(ma(C,Period*53), "이동평균53");
Plot54(ma(C,Period*54), "이동평균54");
Plot55(ma(C,Period*55), "이동평균55");
Plot56(ma(C,Period*56), "이동평균56");
Plot57(ma(C,Period*57), "이동평균57");
Plot58(ma(C,Period*58), "이동평균58");
Plot59(ma(C,Period*59), "이동평균59");
Plot60(ma(C,Period*60), "이동평균60");
Plot61(ma(C,Period*61), "이동평균61");
Plot62(ma(C,Period*62), "이동평균62");
Plot63(ma(C,Period*63), "이동평균63");
Plot64(ma(C,Period*64), "이동평균64");
Plot65(ma(C,Period*65), "이동평균65");
Plot66(ma(C,Period*66), "이동평균66");
Plot67(ma(C,Period*67), "이동평균67");
Plot68(ma(C,Period*68), "이동평균68");
Plot69(ma(C,Period*69), "이동평균69");
Plot70(ma(C,Period*70), "이동평균70");
Plot71(ma(C,Period*71), "이동평균71");
Plot72(ma(C,Period*72), "이동평균72");
Plot73(ma(C,Period*73), "이동평균73");
Plot74(ma(C,Period*74), "이동평균74");
Plot75(ma(C,Period*75), "이동평균75");
Plot76(ma(C,Period*76), "이동평균76");
Plot77(ma(C,Period*77), "이동평균77");
Plot78(ma(C,Period*78), "이동평균78");
Plot79(ma(C,Period*79), "이동평균79");
Plot80(ma(C,Period*80), "이동평균80");
Plot81(ma(C,Period*81), "이동평균81");
다음글