커뮤니티

시스템이 안되면 강조도 좋습니다.

프로필 이미지
라몬
2021-06-30 12:15:26
1243
글번호 150423
답변완료
늘 도움을 받고 있어 감사할 따름입니다. 아래의 수식은 30분봉의 8등분선입니다. 공부하는데 잘 사용하고있습니다. 이 수식을 활용하여 신호 시스템 .. 안되면 강조(색깔과 문양)으로 표시되도 좋습니다. 1. 매수 - 지금의 30분봉에서 저점대비 25% 지점을 이평5 선이 위로 통과할때 매수 - 이전 30분봉의 저점을 지금 30분봉의 이평 5선이 위로 통과할때 매수 - 이전 30분봉의 저점대비 25% 를 지금의 5선이 위로 통과할때 매수 - 이전 30분봉의 고점을 이평 5선이 위로 통과할때 매수 2. 매도 - 지금의 30분봉에서 저점대비 75% 지점을 이평5 선이 아래로 통과할때 매도 - 이전 30분봉의 고점을 지금 30분봉의 이평 5선이 아래로 통과할때 매도 - 이전 30분봉의 저점대비 75% 를 지금의 5선이 아래로 통과할때 매도 - 이전 30분봉의 저점을 이평 5선이 아래로 통과할때 매도 input : ntime(30); var : S1(0),D1(0),TM(0),TF(0); var : HH(0),LL(0); if Bdate != Bdate[1] Then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%ntime; if Bdate != Bdate[1] or (Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or (Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or (Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then { hh = h; ll = l; } if hh > 0 and h > hh Then hh = h; if ll > 0 and l < ll Then ll = l; Plot1(hh); Plot2(ll+(hh-ll)*0.875); Plot3(ll+(hh-ll)*0.75); Plot4(ll+(hh-ll)*0.625); Plot5(ll+(hh-ll)*0.50); Plot6(ll+(hh-ll)*0.375); Plot7(ll+(hh-ll)*0.25); Plot8(ll+(hh-ll)*0.125); Plot9(ll); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2021-06-30 15:26:40

안녕하세요 예스스탁입니다. 1. 시스템 input : ntime(30),P(5); var : S1(0),D1(0),TM(0),TF(0); var : HH(0),LL(0),hh1(0),ll1(0),mav(0),ntimemav(0),sum(0),cnt(0); Array : CC[10](0); #기본차트이평 mav = ma(C,P); if Bdate != Bdate[1] Then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%ntime; if Bdate != Bdate[1] or (Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or (Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or (Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then { hh = h; ll = l; hh1 = hh[1]; ll1 = ll[1]; For cnt = 1 to 9 { CC[cnt] = CC[cnt-1][1]; } } if hh > 0 and h > hh Then hh = h; if ll > 0 and l < ll Then ll = l; #30분봉 이평 if CC[P-1] > 0 Then { sum = 0; For cnt = 0 to P-1 { sum = sum +CC[cnt]; } ntimemav = sum/P; } if CrossUp(mav,ll+(hh-ll)*0.25) Then Buy("b1"); if ntimeMav > 0 and CrossUp(ntimeMav,ll1) Then Buy("b2"); if ll1 > 0 and CrossUp(mav,ll1+(hh1-ll1)*0.25) Then Buy("b3"); if hh1 > 0 and CrossUp(mav,hh1) Then Buy("b4"); if CrossDown(mav,ll+(hh-ll)*0.75) Then Sell("s1"); if ntimeMav > 0 and CrossDown(ntimeMav,hh1) Then Sell("s2"); if ll1 > 0 and CrossDown(mav,ll1+(hh1-ll1)*0.75) Then sell("s3"); if ll1 > 0 and CrossDown(mav,ll1) Then Sell("s4"); } 2 강조 input : ntime(30),P(5); var : S1(0),D1(0),TM(0),TF(0); var : HH(0),LL(0),hh1(0),ll1(0),mav(0),ntimemav(0),sum(0),cnt(0); Array : CC[10](0); #기본차트이평 mav = ma(C,P); if Bdate != Bdate[1] Then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%ntime; if Bdate != Bdate[1] or (Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or (Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or (Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then { hh = h; ll = l; hh1 = hh[1]; ll1 = ll[1]; For cnt = 1 to 9 { CC[cnt] = CC[cnt-1][1]; } } if hh > 0 and h > hh Then hh = h; if ll > 0 and l < ll Then ll = l; #30분봉 이평 if CC[P-1] > 0 Then { sum = 0; For cnt = 0 to P-1 { sum = sum +CC[cnt]; } ntimemav = sum/P; } if CrossUp(mav,ll+(hh-ll)*0.25) Then PlotPaintBar(H,L,"강조",MAGENTA); if ntimeMav > 0 and CrossUp(ntimeMav,ll1) Then PlotPaintBar(H,L,"강조",MAGENTA); if ll1 > 0 and CrossUp(mav,ll1+(hh1-ll1)*0.25) Then PlotPaintBar(H,L,"강조",MAGENTA); if hh1 > 0 and CrossUp(mav,hh1) Then PlotPaintBar(H,L,"강조",MAGENTA); if CrossDown(mav,ll+(hh-ll)*0.75) Then PlotPaintBar(H,L,"강조",CYAN); if ntimeMav > 0 and CrossDown(ntimeMav,hh1) Then PlotPaintBar(H,L,"강조",CYAN); if ll1 > 0 and CrossDown(mav,ll1+(hh1-ll1)*0.75) Then PlotPaintBar(H,L,"강조",CYAN); if ll1 > 0 and CrossDown(mav,ll1) Then PlotPaintBar(H,L,"강조",CYAN); } 즐거운 하루되세요 > 라몬 님이 쓴 글입니다. > 제목 : 시스템이 안되면 강조도 좋습니다. > 늘 도움을 받고 있어 감사할 따름입니다. 아래의 수식은 30분봉의 8등분선입니다. 공부하는데 잘 사용하고있습니다. 이 수식을 활용하여 신호 시스템 .. 안되면 강조(색깔과 문양)으로 표시되도 좋습니다. 1. 매수 - 지금의 30분봉에서 저점대비 25% 지점을 이평5 선이 위로 통과할때 매수 - 이전 30분봉의 저점을 지금 30분봉의 이평 5선이 위로 통과할때 매수 - 이전 30분봉의 저점대비 25% 를 지금의 5선이 위로 통과할때 매수 - 이전 30분봉의 고점을 이평 5선이 위로 통과할때 매수 2. 매도 - 지금의 30분봉에서 저점대비 75% 지점을 이평5 선이 아래로 통과할때 매도 - 이전 30분봉의 고점을 지금 30분봉의 이평 5선이 아래로 통과할때 매도 - 이전 30분봉의 저점대비 75% 를 지금의 5선이 아래로 통과할때 매도 - 이전 30분봉의 저점을 이평 5선이 아래로 통과할때 매도 input : ntime(30); var : S1(0),D1(0),TM(0),TF(0); var : HH(0),LL(0); if Bdate != Bdate[1] Then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%ntime; if Bdate != Bdate[1] or (Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or (Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or (Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then { hh = h; ll = l; } if hh > 0 and h > hh Then hh = h; if ll > 0 and l < ll Then ll = l; Plot1(hh); Plot2(ll+(hh-ll)*0.875); Plot3(ll+(hh-ll)*0.75); Plot4(ll+(hh-ll)*0.625); Plot5(ll+(hh-ll)*0.50); Plot6(ll+(hh-ll)*0.375); Plot7(ll+(hh-ll)*0.25); Plot8(ll+(hh-ll)*0.125); Plot9(ll); }