커뮤니티

수정부탁드립니다.

프로필 이미지
대구어린울프
2021-12-29 16:54:16
609
글번호 154976
답변완료
안녕하세요? 해보다잘안되서 수정부탁 드려요... 진입관련해서, 양봉 양봉 음봉에매도, 음봉 음봉 양봉에 매수 인데요 성능보고서에 하나도안뜨네요... 잘못된부분 수정후 지적해주시면 감사하겠습니다.. input : P1(20),P2(60); input : 익절틱수(50),손절틱수(50),진입횟수(3); var : mav1(0),mav2(0),body(0),entry(0); mav1 = ma(C,P1); mav2 = ma(C,P2); body = abs(C-O); if Bdate != Bdate[1] Then entry = 0; if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or (MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then entry = entry+1; if mav1 > mav2 and body == body[1] and C[1] > O[1] and C > O and C < O and entry < 진입횟수 Then Sell(); if mav1 < mav2 and body == body[1] and C[1] < O[1] and C < O and C > O and entry < 진입횟수 Then Buy(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop);
시스템
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2021-12-29 17:04:42

안녕하세요 예스스탁입니다. C[1] > O[1] and C > O and C < O 1봉전 양봉이고 현재봉 양봉이고 현재봉 음봉으로 현재봉이 양봉이고 음봉이다라는 내용입니다. C[2] > O[2] and C[1] > O[1] and C < O 2봉전 양봉이고 1봉전 양봉이고 현재봉 음봉으로 수정하셔야 합니다. input : P1(20),P2(60); input : 익절틱수(50),손절틱수(50),진입횟수(3); var : mav1(0),mav2(0),body(0),entry(0); mav1 = ma(C,P1); mav2 = ma(C,P2); body = abs(C-O); if Bdate != Bdate[1] Then entry = 0; if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or (MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then entry = entry+1; if mav1 > mav2 and body == body[1] and C[2] > O[2] and C[1] > O[1] and C < O and entry < 진입횟수 Then Sell(); if mav1 < mav2 and body == body[1] and C[2] < O[2] and C[1] < O[1] and C > O and entry < 진입횟수 Then Buy(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); 새해 좋은 일만 가득하시길 바랍니다. > 대구어린울프 님이 쓴 글입니다. > 제목 : 수정부탁드립니다. > 안녕하세요? 해보다잘안되서 수정부탁 드려요... 진입관련해서, 양봉 양봉 음봉에매도, 음봉 음봉 양봉에 매수 인데요 성능보고서에 하나도안뜨네요... 잘못된부분 수정후 지적해주시면 감사하겠습니다.. input : P1(20),P2(60); input : 익절틱수(50),손절틱수(50),진입횟수(3); var : mav1(0),mav2(0),body(0),entry(0); mav1 = ma(C,P1); mav2 = ma(C,P2); body = abs(C-O); if Bdate != Bdate[1] Then entry = 0; if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or (MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then entry = entry+1; if mav1 > mav2 and body == body[1] and C[1] > O[1] and C > O and C < O and entry < 진입횟수 Then Sell(); if mav1 < mav2 and body == body[1] and C[1] < O[1] and C < O and C > O and entry < 진입횟수 Then Buy(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop);
프로필 이미지

대구어린울프

2021-12-29 21:48:16

정말 큰도움되었습니다. 감사합니다! > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수정부탁드립니다. > 안녕하세요 예스스탁입니다. C[1] > O[1] and C > O and C < O 1봉전 양봉이고 현재봉 양봉이고 현재봉 음봉으로 현재봉이 양봉이고 음봉이다라는 내용입니다. C[2] > O[2] and C[1] > O[1] and C < O 2봉전 양봉이고 1봉전 양봉이고 현재봉 음봉으로 수정하셔야 합니다. input : P1(20),P2(60); input : 익절틱수(50),손절틱수(50),진입횟수(3); var : mav1(0),mav2(0),body(0),entry(0); mav1 = ma(C,P1); mav2 = ma(C,P2); body = abs(C-O); if Bdate != Bdate[1] Then entry = 0; if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or (MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then entry = entry+1; if mav1 > mav2 and body == body[1] and C[2] > O[2] and C[1] > O[1] and C < O and entry < 진입횟수 Then Sell(); if mav1 < mav2 and body == body[1] and C[2] < O[2] and C[1] < O[1] and C > O and entry < 진입횟수 Then Buy(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); 새해 좋은 일만 가득하시길 바랍니다. > 대구어린울프 님이 쓴 글입니다. > 제목 : 수정부탁드립니다. > 안녕하세요? 해보다잘안되서 수정부탁 드려요... 진입관련해서, 양봉 양봉 음봉에매도, 음봉 음봉 양봉에 매수 인데요 성능보고서에 하나도안뜨네요... 잘못된부분 수정후 지적해주시면 감사하겠습니다.. input : P1(20),P2(60); input : 익절틱수(50),손절틱수(50),진입횟수(3); var : mav1(0),mav2(0),body(0),entry(0); mav1 = ma(C,P1); mav2 = ma(C,P2); body = abs(C-O); if Bdate != Bdate[1] Then entry = 0; if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or (MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then entry = entry+1; if mav1 > mav2 and body == body[1] and C[1] > O[1] and C > O and C < O and entry < 진입횟수 Then Sell(); if mav1 < mav2 and body == body[1] and C[1] < O[1] and C < O and C > O and entry < 진입횟수 Then Buy(); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop);