커뮤니티

70387번 관련 다시 한 번 요청드립니다

프로필 이미지
황금룰
2020-12-23 22:29:36
593
글번호 144893
답변완료
70387번 관련 요청드립니다 오늘도 수고해 주셔서 너무 감사드립니다. 보내주신 식은 잘 받았습니다. 그런데 어디가 문제인지 모르겠는데 매일 매일 거래가 되지를 않아서 새롭게 조건을 만들어 보았습니다. 새로운 매수식과 매도식을 다시 한 번 부탁드립니다. 1-1 매수식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 5이평선 / 20이평선 매수1 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / BCHAN / 켄들 ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기<0 ] [ 20이평 : 기울기<0 ] [ 진입 : BCHAN-4틱( 매수1) ] [ 손절 : BCHAN-6틱 손절 ] [ 청산 : 70 익절 ] 매수2 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<=0 ] [ 진입 : 음봉 종가 (매수2) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수3 조건 : [켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기>0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수3) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수4 조건 : [켄들위치 : TCHAN / 5이평 / 켄들 / 20이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수4) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수5 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수5) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수6 조건 : [켄들위치 : TCHAN / 5이평 / 20이평 / 켄들 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수6) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 1-2 매수식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 7이평선 매수1 조건 : [켄들위치 : TCHAN / 7이평 / BCHAN / 켄들 ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : BCHAN-12틱 (매수1) ] [ 손절 : BCHAN-19틱 손절 ] [ 청산 : 150 익절 ] 매수2 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수2) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 매수3 조건 : [켄들위치 : TCHAN / 7이평 / 켄들 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수3) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 매수4 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수4) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 2-1 매도식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 5이평선 / 20이평선 매도1 조건 : [ 켄들위치 : 켄들 / TCHAN / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기>0 ] [ 20이평 : 기울기>0 ] [ 진입 : TCHAN+4틱 (매도1) ] [ 손절 : TCHAN+6틱 손절 ] [ 청산 : 70 익절 ] 매도2 조건 : [ 켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>=0 ] [ 진입 : 양봉 종가 (매도2) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도3 조건 : [ 켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기<0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도3) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도4 조건 : [ 켄들위치 : TCHAN / 20이평 / 켄들 / 5이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도4) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도5 조건 : [ 켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도5) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도6 조건 : [ 켄들위치 : TCHAN / 켄들 / 20이평 / 5이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도6) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 2-2 매도식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 7이평선 매도1 조건 : [켄들위치 : 켄들 / TCHAN / 7이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : TCHAN+12틱 (매도1) ] [ 손절 : TCHAN+19틱 손절 ] [ 청산 : 150틱 익절 ] 매도2 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도2) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ] 매도3 조건 : [켄들위치 : TCHAN / 7이평 / 켄들 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도3) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ] 매도4 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도4) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ]
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-12-24 14:03:48

안녕하세요 예스스탁입니다. 1-1 input : StartTime(93000),EndTime(043000); Input : 당일수익틱수(250),당일손실틱수(100); INPUT : LENGTH(10),P1(5),P2(20); Var : N1(0),dayPl(0),당일수익(0),당일손실(0),Xcond(false); var : Tcond(false); VAR : TCHAN(0), BCHAN(0),mav1(0),mav2(0); if sDate != sDate[1] Then SetStopEndofday(Endtime); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { Tcond = true; Xcond = false; N1 = NetProfit; SetStopEndofday(0); } 당일수익 = PriceScale*당일수익틱수; 당일손실 = PriceScale*당일손실틱수; daypl = NetProfit-N1; if TotalTrades > TotalTrades[1] then { if daypl >= 당일수익 or daypl <= -당일손실 Then Xcond = true; if (IsExitName("dbp",1) == true or IsExitName("dbl",1) == true) then Xcond = true; } TCHAN = HIGHEST(HIGH, LENGTH)[1]; BCHAN = LOWEST(LOW, LENGTH)[1]; mav1 = ma(C,P1); mav2 = ma(c,P2); if Tcond == true and Xcond == false then { if TCHAN > mav2 and mav2 > mav1 and mav1 > BCHAN and BCHAN > C and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 < mav1[1] and mav2 < mav2[1] Then { buy("매수1",AtLimit,BCHAN-PriceScale*4); } if TCHAN > mav2 and mav2 > mav1 and mav1 > C and C > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 >= mav1[1] and mav2 <= mav2[1] and C < O Then { buy("매수2"); } if TCHAN > C and C > mav1 and mav1 > mav2 and mav2 > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 > mav1[1] and mav2 > mav2[1] and C < O Then { buy("매수3"); } if TCHAN > mav1 and mav1 > C and C > mav2 and mav2 > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 <= mav1[1] and mav2 > mav2[1] and C < O Then { buy("매수4"); } if TCHAN > mav2 and mav2 > mav1 and mav1 > C and C > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 >= mav1[1] and mav2 > mav2[1] and C < O Then { buy("매수5"); } if TCHAN > mav1 and mav1 > mav2 and mav2 > C and C > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 <= mav1[1] and mav2 > mav2[1] and C < O Then { buy("매수6"); } } if MarketPosition == 1 then { ExitLong("bl1",AtStop,BCHAN-PriceScale*4,"매수1"); ExitLong("bp1",AtStop,EntryPrice+PriceScale*70,"매수1"); ExitLong("bl2",AtStop,EntryPrice-PriceScale*15,"매수2"); ExitLong("bp2",AtStop,EntryPrice+PriceScale*30,"매수2"); ExitLong("bl3",AtStop,EntryPrice-PriceScale*15,"매수3"); ExitLong("bp3",AtStop,EntryPrice+PriceScale*30,"매수3"); ExitLong("bl4",AtStop,EntryPrice-PriceScale*15,"매수4"); ExitLong("bp4",AtStop,EntryPrice+PriceScale*30,"매수4"); ExitLong("bl5",AtStop,EntryPrice-PriceScale*15,"매수5"); ExitLong("bp5",AtStop,EntryPrice+PriceScale*30,"매수5"); ExitLong("bl6",AtStop,EntryPrice-PriceScale*15,"매수6"); ExitLong("bp6",AtStop,EntryPrice+PriceScale*30,"매수6"); ExitLong("dbl",AtStop,EntryPrice-((당일손실+daypl)/CurrentContracts)); ExitLong("dbp",atlimit,EntryPrice+((당일수익-daypl)/CurrentContracts)); } 1-2 input : StartTime(93000),EndTime(043000); Input : 당일수익틱수(250),당일손실틱수(100); INPUT : LENGTH(10),P1(7); Var : N1(0),dayPl(0),당일수익(0),당일손실(0),Xcond(false); var : Tcond(false); VAR : TCHAN(0), BCHAN(0),mav1(0); if sDate != sDate[1] Then SetStopEndofday(Endtime); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { Tcond = true; Xcond = false; N1 = NetProfit; SetStopEndofday(0); } 당일수익 = PriceScale*당일수익틱수; 당일손실 = PriceScale*당일손실틱수; daypl = NetProfit-N1; if TotalTrades > TotalTrades[1] then { if daypl >= 당일수익 or daypl <= -당일손실 Then Xcond = true; if (IsExitName("dbp",1) == true or IsExitName("dbl",1) == true) then Xcond = true; } TCHAN = HIGHEST(HIGH, LENGTH)[1]; BCHAN = LOWEST(LOW, LENGTH)[1]; mav1 = ma(C,P1); if Tcond == true and Xcond == false then { if TCHAN > mav1 and mav1 > BCHAN and BCHAN > C and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 < mav1[1] Then { buy("매수1",AtLimit,BCHAN-PriceScale*12); } if TCHAN > C and C > mav1 and mav1 > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 > mav1[1] and C < O Then { buy("매수2"); } if TCHAN > mav1 and mav1 > C and C > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 > mav1[1] and C < O Then { buy("매수3"); } if TCHAN > C and C > mav1 and mav1 > BCHAN and BCHAN >= BCHAN[1] and TCHAN >= TCHAN[1] and mav1 > mav1[1] and C < O Then { buy("매수4"); } } if MarketPosition == 1 then { ExitLong("bl1",AtStop,BCHAN-PriceScale*19,"매수1"); ExitLong("bp1",AtStop,EntryPrice+PriceScale*150,"매수1"); ExitLong("bl2",AtStop,EntryPrice-PriceScale*50,"매수2"); ExitLong("bp2",AtStop,EntryPrice+PriceScale*120,"매수2"); ExitLong("bl3",AtStop,EntryPrice-PriceScale*50,"매수3"); ExitLong("bp3",AtStop,EntryPrice+PriceScale*120,"매수3"); ExitLong("bl4",AtStop,EntryPrice-PriceScale*50,"매수4"); ExitLong("bp4",AtStop,EntryPrice+PriceScale*120,"매수4"); ExitLong("dbl",AtStop,EntryPrice-((당일손실+daypl)/CurrentContracts)); ExitLong("dbp",atlimit,EntryPrice+((당일수익-daypl)/CurrentContracts)); } 2-1 input : StartTime(93000),EndTime(043000); Input : 당일수익틱수(250),당일손실틱수(100); INPUT : LENGTH(10),P1(5),P2(20); Var : N1(0),dayPl(0),당일수익(0),당일손실(0),Xcond(false); var : Tcond(false); VAR : TCHAN(0), BCHAN(0),mav1(0),mav2(0); if sDate != sDate[1] Then SetStopEndofday(Endtime); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { Tcond = true; Xcond = false; N1 = NetProfit; SetStopEndofday(0); } 당일수익 = PriceScale*당일수익틱수; 당일손실 = PriceScale*당일손실틱수; daypl = NetProfit-N1; if TotalTrades > TotalTrades[1] then { if daypl >= 당일수익 or daypl <= -당일손실 Then Xcond = true; if (IsExitName("dsp",1) == true or IsExitName("dsl",1) == true) then Xcond = true; } TCHAN = HIGHEST(HIGH, LENGTH)[1]; BCHAN = LOWEST(LOW, LENGTH)[1]; mav1 = ma(C,P1); mav2 = ma(c,P2); if Tcond == true and Xcond == false then { if C > TCHAN and TCHAN > mav1 and mav1 > mav2 and mav2 > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 > mav1[1] and mav2 > mav2[1] Then { Sell("매도1",AtLimit,TCHAN+PriceScale*4); } if TCHAN > C and C > mav1 and mav1 > mav2 and mav2 > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 <= mav1[1] and mav2 >= mav2[1] and C > O Then { Sell("매도2"); } if TCHAN > C and C > mav1 and mav1 > mav2 and mav2 > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 < mav1[1] and mav2 < mav2[1] and C > O Then { Sell("매도3"); } if TCHAN > mav2 and mav2 > C and C > mav1 and mav1 > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 >= mav1[1] and mav2 < mav2[1] and C > O Then { Sell("매도4"); } if TCHAN > C and C > mav2 and mav2 > mav1 and mav1 > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 <= mav1[1] and mav2 < mav2[1] and C > O Then { Sell("매도5"); } if C > TCHAN and TCHAN > mav1 and mav1 > mav2 and mav2 > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 >= mav1[1] and mav2 < mav2[1] and C > O Then { Sell("매도6"); } } if MarketPosition == -1 then { ExitShort("sl1",AtStop,BCHAN+PriceScale*4,"매도1"); ExitShort("sp1",AtStop,EntryPrice-PriceScale*70,"매도1"); ExitShort("sl2",AtStop,EntryPrice+PriceScale*15,"매도2"); ExitShort("sp2",AtStop,EntryPrice-PriceScale*30,"매도2"); ExitShort("sl3",AtStop,EntryPrice+PriceScale*15,"매도3"); ExitShort("sp3",AtStop,EntryPrice-PriceScale*30,"매도3"); ExitShort("sl4",AtStop,EntryPrice+PriceScale*4,"매도4"); ExitShort("sp4",AtStop,EntryPrice-PriceScale*30,"매도4"); ExitShort("sl5",AtStop,EntryPrice+PriceScale*4,"매도5"); ExitShort("sp5",AtStop,EntryPrice-PriceScale*30,"매도5"); ExitShort("sl6",AtStop,EntryPrice+PriceScale*4,"매도6"); ExitShort("sp6",AtStop,EntryPrice-PriceScale*30,"매도6"); ExitShort("dsl",AtStop,EntryPrice+((당일손실+daypl)/CurrentContracts)); ExitShort("dsp",atlimit,EntryPrice-((당일수익-daypl)/CurrentContracts)); } 2-2 input : StartTime(93000),EndTime(043000); Input : 당일수익틱수(250),당일손실틱수(100); INPUT : LENGTH(10),P1(7); Var : N1(0),dayPl(0),당일수익(0),당일손실(0),Xcond(false); var : Tcond(false); VAR : TCHAN(0), BCHAN(0),mav1(0); if sDate != sDate[1] Then SetStopEndofday(Endtime); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { Tcond = true; Xcond = false; N1 = NetProfit; SetStopEndofday(0); } 당일수익 = PriceScale*당일수익틱수; 당일손실 = PriceScale*당일손실틱수; daypl = NetProfit-N1; if TotalTrades > TotalTrades[1] then { if daypl >= 당일수익 or daypl <= -당일손실 Then Xcond = true; if (IsExitName("dsp",1) == true or IsExitName("dsl",1) == true) then Xcond = true; } TCHAN = HIGHEST(HIGH, LENGTH)[1]; BCHAN = LOWEST(LOW, LENGTH)[1]; mav1 = ma(C,P1); if Tcond == true and Xcond == false then { if C > TCHAN and TCHAN > mav1 and mav1 > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 > mav1[1] Then { Sell("매도1",AtLimit,TCHAN+PriceScale*12); } if TCHAN > C and C > mav1 and mav1 > BCHAN and BCHAN == BCHAN[1] and TCHAN == TCHAN[1] and mav1 < mav1[1] and C > O Then { Sell("매도2"); } if TCHAN > mav1 and mav1 > C and C > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 < mav1[1] and C < O Then { Sell("매도3"); } if TCHAN > C and C > mav1 and mav1 > BCHAN and BCHAN <= BCHAN[1] and TCHAN <= TCHAN[1] and mav1 < mav1[1] and C > O Then { Sell("매도4"); } } if MarketPosition == -1 then { ExitShort("sl1",AtStop,BCHAN+PriceScale*19,"매도1"); ExitShort("sp1",AtStop,EntryPrice-PriceScale*150,"매도1"); ExitShort("sl2",AtStop,EntryPrice+PriceScale*50,"매도2"); ExitShort("sp2",AtStop,EntryPrice-PriceScale*120,"매도2"); ExitShort("sl3",AtStop,EntryPrice+PriceScale*50,"매도3"); ExitShort("sp3",AtStop,EntryPrice-PriceScale*120,"매도3"); ExitShort("sl4",AtStop,EntryPrice+PriceScale*50,"매도4"); ExitShort("sp4",AtStop,EntryPrice-PriceScale*120,"매도4"); ExitShort("dsl",AtStop,EntryPrice+((당일손실+daypl)/CurrentContracts)); ExitShort("dsp",atlimit,EntryPrice-((당일수익-daypl)/CurrentContracts)); } 즐거운 하루되세요 > 황금룰 님이 쓴 글입니다. > 제목 : 70387번 관련 다시 한 번 요청드립니다 > 70387번 관련 요청드립니다 오늘도 수고해 주셔서 너무 감사드립니다. 보내주신 식은 잘 받았습니다. 그런데 어디가 문제인지 모르겠는데 매일 매일 거래가 되지를 않아서 새롭게 조건을 만들어 보았습니다. 새로운 매수식과 매도식을 다시 한 번 부탁드립니다. 1-1 매수식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 5이평선 / 20이평선 매수1 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / BCHAN / 켄들 ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기<0 ] [ 20이평 : 기울기<0 ] [ 진입 : BCHAN-4틱( 매수1) ] [ 손절 : BCHAN-6틱 손절 ] [ 청산 : 70 익절 ] 매수2 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<=0 ] [ 진입 : 음봉 종가 (매수2) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수3 조건 : [켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기>0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수3) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수4 조건 : [켄들위치 : TCHAN / 5이평 / 켄들 / 20이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수4) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수5 조건 : [켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수5) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 매수6 조건 : [켄들위치 : TCHAN / 5이평 / 20이평 / 켄들 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>0 ] [ 진입 : 음봉 종가 (매수6) ] [ 손절 : 15틱 손절 ] [ 청산 : 30틱 익절 ] 1-2 매수식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 7이평선 매수1 조건 : [켄들위치 : TCHAN / 7이평 / BCHAN / 켄들 ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : BCHAN-12틱 (매수1) ] [ 손절 : BCHAN-19틱 손절 ] [ 청산 : 150 익절 ] 매수2 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수2) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 매수3 조건 : [켄들위치 : TCHAN / 7이평 / 켄들 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수3) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 매수4 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기>=0 ] [ TCHAN : 기울기>=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : 음봉 종가 (매수4) ] [ 손절 : 50틱 손절 ] [ 청산 : 120 익절 ] 2-1 매도식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 5이평선 / 20이평선 매도1 조건 : [ 켄들위치 : 켄들 / TCHAN / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기>0 ] [ 20이평 : 기울기>0 ] [ 진입 : TCHAN+4틱 (매도1) ] [ 손절 : TCHAN+6틱 손절 ] [ 청산 : 70 익절 ] 매도2 조건 : [ 켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기>=0 ] [ 진입 : 양봉 종가 (매도2) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도3 조건 : [ 켄들위치 : TCHAN / 켄들 / 5이평 / 20이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기<0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도3) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도4 조건 : [ 켄들위치 : TCHAN / 20이평 / 켄들 / 5이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도4) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도5 조건 : [ 켄들위치 : TCHAN / 20이평 / 5이평 / 켄들 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기<=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도5) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 매도6 조건 : [ 켄들위치 : TCHAN / 켄들 / 20이평 / 5이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 5이평 : 기울기>=0 ] [ 20이평 : 기울기<0 ] [ 진입 : 양봉 종가 (매도6) ] [ 손절 : 15틱 손절 ] [ 청산 : 30 익절 ] 2-2 매도식 : 외부변수 [1.시작시간 : 한국시간기준 09시 30분] [2.종료시간 : 한국시간기준 04시 30분 자동청산] [3.하루 총 이익 : 250틱 도달시 자동 종료] [4.하루 총손실 : 100 틱 도달시 자동 종료] Price Channel / 7이평선 매도1 조건 : [켄들위치 : 켄들 / TCHAN / 7이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기>0 ] [ 진입조건 : TCHAN+12틱 (매도1) ] [ 손절 : TCHAN+19틱 손절 ] [ 청산 : 150틱 익절 ] 매도2 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기=0 ] [ TCHAN : 기울기=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도2) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ] 매도3 조건 : [켄들위치 : TCHAN / 7이평 / 켄들 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도3) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ] 매도4 조건 : [켄들위치 : TCHAN / 켄들 / 7이평 / BCHAN ] [ BCHAN : 기울기<=0 ] [ TCHAN : 기울기<=0 ] [ 7이평선 : 기울기<0 ] [ 진입조건 : 양봉 종가 (매도4) ] [ 손절 : 50틱 손절 ] [ 청산 : 120틱 익절 ]