커뮤니티

부탁 드립니다.

프로필 이미지
yes
2018-02-25 19:49:52
211
글번호 116879
답변완료
도움주심에 감사 드립니다. 변환 부탁 드립니다. 1) a=shift((Highest(h,sp)+lowest(l,sp)+highest(h,mp)+lowest(l,mp))/4,mp-1); b=shitf((Highest(h,lp)+lowest(l,lp))/2,mp-1); x=sum(1); y=x-valuewhen(1, crossdown(c,min(a,b)) or crossup(c,min(a,b)),x(1)); 2) a4=valuewhen(1,time(1)<stime && time>=stime, (dayhigh()+daylow())/2); //stime=080000 3) g1=if(c>o,v,0); g2=if(c<o,v,0); x=g1-g2; b=sum(x); b2=valuewhen(1,date(1)!=date,b(1)); y=b-b2; eavg(y,sig);
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-02-26 11:03:26

안녕하세요 예스스탁입니다. 1. input : sp(5),mp(10),lp(20); var : aa(0),bb(0),xx(0),yy(0); aa = (Highest(h,sp)+lowest(l,sp)+highest(h,mp)+lowest(l,mp))/4; bb = (Highest(h,lp)+lowest(l,lp))/2; var1 = min(aa,bb); if CrossDown(c,var1) or CrossUp(c,var1) Then{ Condition1 = true; var2 = index; } if Condition1 == true then yy = index-var2; Else yy = 0; plot1(yy); 2 input : ntime(080000); var : a4(0); if stime[1] < ntime and stime >= ntime Then a4 = (dayhigh()+daylow())/2; plot1(a4); 3 input : sig(10); var : g1(0),g2(0),x(0),b(0),y(0),b2(0); g1=iff(c>o,v,0); g2=iff(c<o,v,0); x=g1-g2; b=b+x; if date != date[1] Then b2 = b[1]; y=b-b2; var1 = ema(y,sig); plot1(var1); 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 도움주심에 감사 드립니다. 변환 부탁 드립니다. 1) a=shift((Highest(h,sp)+lowest(l,sp)+highest(h,mp)+lowest(l,mp))/4,mp-1); b=shitf((Highest(h,lp)+lowest(l,lp))/2,mp-1); x=sum(1); y=x-valuewhen(1, crossdown(c,min(a,b)) or crossup(c,min(a,b)),x(1)); 2) a4=valuewhen(1,time(1)<stime && time>=stime, (dayhigh()+daylow())/2); //stime=080000 3) g1=if(c>o,v,0); g2=if(c<o,v,0); x=g1-g2; b=sum(x); b2=valuewhen(1,date(1)!=date,b(1)); y=b-b2; eavg(y,sig);