커뮤니티

문의 드립니다.

프로필 이미지
선물대장
2019-10-28 15:15:09
91
글번호 133203
답변완료
input : p1(20),P2(120); input : sto1(10),sto2(5),sto3(5); input : BBP(20),Dv(2); input : 익절틱수(30),손절틱수(30); var : mav1(0),mav2(0); var : stok(0),stod(0); var : bbup(0),bbdn(0); mav1 = ma(C,P1); mav2 = ma(C,P2); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); bbup = BollBandUp(BBP,Dv); bbdn = BollBandDown(BBP,Dv); if mav1 > mav2 and stok < 25 and c < bbdn and C < O Then buy(); if mav1 < mav2 and stok > 75 and c > bbup and C > O Then sell(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); -------------------- 위 로직에서 120이평 기울기가 상향이면서 정배열 때 만 매수 신호진입 120이평 기울기가 하향이면서 역배열 때 만 매도 신호진입 부탁드립니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-10-29 13:49:30

안녕하세요 예스스탁입니다. input : p1(20),P2(120); input : sto1(10),sto2(5),sto3(5); input : BBP(20),Dv(2); input : 익절틱수(30),손절틱수(30); var : mav1(0),mav2(0); var : stok(0),stod(0); var : bbup(0),bbdn(0); mav1 = ma(C,P1); mav2 = ma(C,P2); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); bbup = BollBandUp(BBP,Dv); bbdn = BollBandDown(BBP,Dv); if mav2 > mav2[1] and mav1 > mav2 and stok < 25 and c < bbdn and C < O Then buy(); if mav2 < mav2[1] and mav1 < mav2 and stok > 75 and c > bbup and C > O Then sell(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); 즐거운 하루되세요 > 선물대장 님이 쓴 글입니다. > 제목 : 문의 드립니다. > input : p1(20),P2(120); input : sto1(10),sto2(5),sto3(5); input : BBP(20),Dv(2); input : 익절틱수(30),손절틱수(30); var : mav1(0),mav2(0); var : stok(0),stod(0); var : bbup(0),bbdn(0); mav1 = ma(C,P1); mav2 = ma(C,P2); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); bbup = BollBandUp(BBP,Dv); bbdn = BollBandDown(BBP,Dv); if mav1 > mav2 and stok < 25 and c < bbdn and C < O Then buy(); if mav1 < mav2 and stok > 75 and c > bbup and C > O Then sell(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); -------------------- 위 로직에서 120이평 기울기가 상향이면서 정배열 때 만 매수 신호진입 120이평 기울기가 하향이면서 역배열 때 만 매도 신호진입 부탁드립니다.