커뮤니티

문의 드립니다

프로필 이미지
푸른
2025-02-20 09:49:35
367
글번호 188368
답변완료
아래 수식 부탁드립니다 해선 매매시간 0800 익일 0600 음봉4개종가 매수 양봉4개종가 매도 손절100틱 파동형 패턴이 아닌 상승,하락변동성이 약한 도지봉은 갯수에서 제외한다
시스템
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2025-02-21 11:40:07

안녕하세요 예스스탁입니다. input : StartTime(80000),EndTime(060000); var : Tcond(False); IF Endtime > starttime Then SetStopEndofday(Endtime); Else { if sDate != sDate[1] Then SetStopEndofday(Endtime); } if Tcond == true and ((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; IF Endtime <= starttime Then { SetStopEndofday(0); } } if Tcond == true Then { if CountIf(C < O,4) == 4 and C != O[3] Then Buy("b"); if CountIf(C > O,4) == 4 and C != O[3] Then Sell("s"); } SetStopProfittarget(100*PriceScale,PointStop); 즐거운 하루되세요 > 푸른 님이 쓴 글입니다. > 제목 : 문의 드립니다 > 아래 수식 부탁드립니다 해선 매매시간 0800 익일 0600 음봉4개종가 매수 양봉4개종가 매도 손절100틱 파동형 패턴이 아닌 상승,하락변동성이 약한 도지봉은 갯수에서 제외한다
프로필 이미지

푸른

2025-03-01 05:02:26

input : StartTime(180000),EndTime(40000); var : Tcond(false); IF Endtime > starttime Then SetStopEndofday(Endtime); Else { 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; IF Endtime <= starttime Then { SetStopEndofday(0); } } var : HH(0),LL(0),MM(0),t(0); HH = DayHigh; LL = DayLow; MM = (HH+LL)/2; if bdate != Bdate[1] Then T = 0; Else { if CrossUp(H,MM) Then T = 1; if CrossDown(L,MM) Then T = -1; if T == 1 and MarketPosition <= 0 Then buy("b0",AtStop,LL+(HH-LL)*0.110); if MarketPosition == 1 and MaxEntries == 1 Then buy("b1",AtStop,LL+(HH-LL)*1.310); if T == -1 and MarketPosition >= 0 Then Sell("s0",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s1",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b2",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b3",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s2",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s3",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b4",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b5",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s4",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s5",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b6",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b7",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s6",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s7",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b8",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b9",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s8",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s9",AtStop,LL+(HH-LL)*0.100); if T == 1 and MarketPosition <= 0 Then buy("b00",AtStop,LL+(HH-LL)*0.110); if MarketPosition == 1 and MaxEntries == 1 Then buy("b11",AtStop,LL+(HH-LL)*1.310); if T == -1 and MarketPosition >= 0 Then Sell("s00",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s11",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b22",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b33",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s22",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s33",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b44",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b55",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s44",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s55",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b66",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b77",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s66",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s77",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b88",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b99",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s88",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s99",AtStop,LL+(HH-LL)*0.100); } --------------------------------------------------------------------- > 푸른 님이 쓴 글입니다. > 제목 : 문의 드립니다 > 아래 수식 부탁드립니다 해선 매매시간 0800 익일 0600 음봉4개종가 매수 양봉4개종가 매도 손절100틱 파동형 패턴이 아닌 상승,하락변동성이 약한 도지봉은 갯수에서 제외한다
프로필 이미지

푸른

2025-03-08 10:15:38

안녕하세요 예스스탁입니다. input : StartTime(80000),EndTime(060000); var : Tcond(False); IF Endtime > starttime Then SetStopEndofday(Endtime); Else { if sDate != sDate[1] Then SetStopEndofday(Endtime); } if Tcond == true and ((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; IF Endtime <= starttime Then { SetStopEndofday(0); } } if Tcond == true Then { if CountIf(C < O,4) == 4 and C != O[3] Then Buy("b"); if CountIf(C > O,4) == 4 and C != O[3] Then Sell("s"); } SetStopProfittarget(100*PriceScale,PointStop); 즐거운 하루되세요 > 푸른 님이 쓴 글입니다. > 제목 : 문의 드립니다 > 아래 수식 부탁드립니다 해선 매매시간 0800 익일 0600 음봉4개종가 매수 양봉4개종가 매도 손절100틱 파동형 패턴이 아닌 상승,하락변동성이 약한 도지봉은 갯수에서 제외한다 --------------------- > 푸른 님이 쓴 글입니다. > 제목 : 피보60 1800 0400 -100 +150 20/4 > input : StartTime(180000),EndTime(40000); var : Tcond(false); IF Endtime > starttime Then SetStopEndofday(Endtime); Else { 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; IF Endtime <= starttime Then { SetStopEndofday(0); } } var : HH(0),LL(0),MM(0),t(0); HH = DayHigh; LL = DayLow; MM = (HH+LL)/2; if bdate != Bdate[1] Then T = 0; Else { if CrossUp(H,MM) Then T = 1; if CrossDown(L,MM) Then T = -1; if T == 1 and MarketPosition <= 0 Then buy("b0",AtStop,LL+(HH-LL)*0.110); if MarketPosition == 1 and MaxEntries == 1 Then buy("b1",AtStop,LL+(HH-LL)*1.310); if T == -1 and MarketPosition >= 0 Then Sell("s0",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s1",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b2",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b3",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s2",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s3",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b4",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b5",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s4",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s5",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b6",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b7",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s6",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s7",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b8",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b9",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s8",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s9",AtStop,LL+(HH-LL)*0.100); if T == 1 and MarketPosition <= 0 Then buy("b00",AtStop,LL+(HH-LL)*0.110); if MarketPosition == 1 and MaxEntries == 1 Then buy("b11",AtStop,LL+(HH-LL)*1.310); if T == -1 and MarketPosition >= 0 Then Sell("s00",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s11",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b22",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b33",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s22",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s33",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b44",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b55",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s44",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s55",AtStop,LL+(HH-LL)*-0.300); if T == 1 and MarketPosition <= 0 Then buy("b66",AtStop,LL+(HH-LL)*0.680); if MarketPosition == 1 and MaxEntries == 1 Then buy("b77",AtStop,LL+(HH-LL)*0.750); if T == -1 and MarketPosition >= 0 Then Sell("s66",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s77",AtStop,LL+(HH-LL)*-0.300); if T == -1 and MarketPosition >= 0 Then buy("b88",AtStop,LL+(HH-LL)*0.900); if MarketPosition == 1 and MaxEntries == 1 Then buy("b99",AtStop,LL+(HH-LL)*0.100); if T == -1 and MarketPosition >= 0 Then Sell("s88",AtStop,LL+(HH-LL)*0.600); if MarketPosition == 1 and MaxEntries == 1 Then Sell("s99",AtStop,LL+(HH-LL)*0.100); } --------------------------------------------------------------------- > 푸른 님이 쓴 글입니다. > 제목 : 문의 드립니다 > 아래 수식 부탁드립니다 해선 매매시간 0800 익일 0600 음봉4개종가 매수 양봉4개종가 매도 손절100틱 파동형 패턴이 아닌 상승,하락변동성이 약한 도지봉은 갯수에서 제외한다