커뮤니티

시스템식을 부탁드림니다

프로필 이미지
수루지
2017-01-18 03:23:31
123
글번호 106032
답변완료
다음식을시스템식으로 input:p22(10),s20(8),p10(5); var:intra(0),vintra(0),inter(0),vinter(0),cutoff(0),mf(0),fve(0),ve(0),sig(0),typ(0),fvep(0); typ=(c+h+L)/3; intra=Log(h)-Log(typ[1]); vintra=std(intra,p22); inter=Log(typ)-Log(L); vinter=std(inter,p22); cutoff=0.1*(vinter+vintra)*c; mf=c-(h+L)/2+typ-typ[1]; if mf>cutoff then ve=v; if mf<-cutoff then ve=-v; fve=100*accumn(ve,p22)/(ma(v,p22)*p22); fvep=100*accumn(ve,p10)/(ma(v,p10)*p10); sig=ma(fve,s20); if nthhighest(1,fvep,200) > //조건1 nthhighest(2,fvep,200) and //조건2 fvep > fvep[1] and //조건3 (L<Lowest(L,100)[1] || L[1] < Lowest(L,100)[2]) and fvep<=-50 then //조건4 plot1(L-(pricescale*1),"저1"); if nthLowest(1,fvep,200) < //조건1 nthLowest(2,fvep,200) and //조건2 fvep < fvep[1] and //조건3 (h> highest(h,100)[1] || h[1] > highest(h,100)[2]) and fvep>=50 then //조건4[] plot2(h+(pricescale*1),"고1"); if nthhighest(1,fve,200) > //조건1 nthhighest(2,fve,200) and //조건2 fve > fve[1] and //조건3 (L<Lowest(L,81)[1] || L[1] < Lowest(L,81)[2]) and fve<=-40 then //조건4 plot3(L-(pricescale*1),"저2"); if nthLowest(1,fve,200) < //조건1 nthLowest(2,fve,200) and //조건2 fve < fve[1] and //조건3 (h> highest(h,81)[1] || h[1] > highest(h,81)[2]) and fve>=40 then //조건4[] plot4(h+(pricescale*1),"고2"); 1;고가가 plot1,plot3번을 돌파시매도, 2;저가가 plot2,plot4번을돌파시 매수식을 부탁드림니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-01-18 14:28:38

안녕하세요 예스스탁입니다. input:p22(10),s20(8),p10(5); var:intra(0),vintra(0),inter(0),vinter(0),cutoff(0),mf(0),fve(0),ve(0),sig(0),typ(0),fvep(0); typ=(c+h+L)/3; intra=Log(h)-Log(typ[1]); vintra=std(intra,p22); inter=Log(typ)-Log(L); vinter=std(inter,p22); cutoff=0.1*(vinter+vintra)*c; mf=c-(h+L)/2+typ-typ[1]; if mf>cutoff then ve=v; if mf<-cutoff then ve=-v; fve=100*accumn(ve,p22)/(ma(v,p22)*p22); fvep=100*accumn(ve,p10)/(ma(v,p10)*p10); sig=ma(fve,s20); if nthhighest(1,fvep,200) > //조건1 nthhighest(2,fvep,200) and //조건2 fvep > fvep[1] and //조건3 (L<Lowest(L,100)[1] || L[1] < Lowest(L,100)[2]) and fvep<=-50 then //조건4 var1 = L-(pricescale*1); #plot1(L-(pricescale*1),"저1"); if nthLowest(1,fvep,200) < //조건1 nthLowest(2,fvep,200) and //조건2 fvep < fvep[1] and //조건3 (h> highest(h,100)[1] || h[1] > highest(h,100)[2]) and fvep>=50 then //조건4[] var2 = h+(pricescale*1); #plot2(h+(pricescale*1),"고1"); if nthhighest(1,fve,200) > //조건1 nthhighest(2,fve,200) and //조건2 fve > fve[1] and //조건3 (L<Lowest(L,81)[1] || L[1] < Lowest(L,81)[2]) and fve<=-40 then //조건4 var3 = L-(pricescale*1); #plot3(L-(pricescale*1),"저2"); if nthLowest(1,fve,200) < //조건1 nthLowest(2,fve,200) and //조건2 fve < fve[1] and //조건3 (h> highest(h,81)[1] || h[1] > highest(h,81)[2]) and fve>=40 then //조건4[] var4 = h+(pricescale*1); #plot4(h+(pricescale*1),"고2"); Condition1 = H > var1 and H > var3; Condition2 = L < var2 and L < var4; if Condition1 == true and Condition1[1] == false Then buy(); if Condition2 == true and Condition2[1] == false Then sell(); 즐거운 하루되세요 > 수루지 님이 쓴 글입니다. > 제목 : 시스템식을 부탁드림니다 > 다음식을시스템식으로 input:p22(10),s20(8),p10(5); var:intra(0),vintra(0),inter(0),vinter(0),cutoff(0),mf(0),fve(0),ve(0),sig(0),typ(0),fvep(0); typ=(c+h+L)/3; intra=Log(h)-Log(typ[1]); vintra=std(intra,p22); inter=Log(typ)-Log(L); vinter=std(inter,p22); cutoff=0.1*(vinter+vintra)*c; mf=c-(h+L)/2+typ-typ[1]; if mf>cutoff then ve=v; if mf<-cutoff then ve=-v; fve=100*accumn(ve,p22)/(ma(v,p22)*p22); fvep=100*accumn(ve,p10)/(ma(v,p10)*p10); sig=ma(fve,s20); if nthhighest(1,fvep,200) > //조건1 nthhighest(2,fvep,200) and //조건2 fvep > fvep[1] and //조건3 (L<Lowest(L,100)[1] || L[1] < Lowest(L,100)[2]) and fvep<=-50 then //조건4 plot1(L-(pricescale*1),"저1"); if nthLowest(1,fvep,200) < //조건1 nthLowest(2,fvep,200) and //조건2 fvep < fvep[1] and //조건3 (h> highest(h,100)[1] || h[1] > highest(h,100)[2]) and fvep>=50 then //조건4[] plot2(h+(pricescale*1),"고1"); if nthhighest(1,fve,200) > //조건1 nthhighest(2,fve,200) and //조건2 fve > fve[1] and //조건3 (L<Lowest(L,81)[1] || L[1] < Lowest(L,81)[2]) and fve<=-40 then //조건4 plot3(L-(pricescale*1),"저2"); if nthLowest(1,fve,200) < //조건1 nthLowest(2,fve,200) and //조건2 fve < fve[1] and //조건3 (h> highest(h,81)[1] || h[1] > highest(h,81)[2]) and fve>=40 then //조건4[] plot4(h+(pricescale*1),"고2"); 1;고가가 plot1,plot3번을 돌파시매도, 2;저가가 plot2,plot4번을돌파시 매수식을 부탁드림니다