커뮤니티

예스랭귀지 Q&A

글쓰기

2wnwn 님에 의해서 삭제되었습니다.

프로필 이미지
2wnwn
2024-03-20
17
글번호 177690
지표
답변완료

수식부탁드립니다

코인 관련 질문입니다 1. 아래식과 같이 식을 표현하면 dayindex()==0 의 지점이 9시가 맞는지요 ? 코인을 당일청산용으로 사용하려하는데 엉뚱한 결과가 나와서 문의드립니다. if dayindex()==0 then var1=지표값; 2. 또 원하는 시간대를 첫봉으로 구사하려면 첫봉을 어떻게 표현해야 하는지요 ? 예를 들면 24시. 3. 주식기준으로 보면 9시 시작해서 장마감시간이 있는데 코인에서 9시를 기준으로 첫봉을 표현하고 다음날 8시까지 시뮬레이션할때 날짜가 변함에 따라 별도의 식처리가 필요한지요?
프로필 이미지
베스트시스템
2024-03-20
603
글번호 177689
시스템
답변완료

수식변환 부탁드립니다

안녕하세요 하기 수식 변환 부탁드립니다. A = lowest(c,20,0); 양봉 = o < c; 음봉 = o > c; B = (A(1) > L(1)) and (음봉(1) and 양봉(0)) 수고에 항상 감사드립니다.
프로필 이미지
광팔
2024-03-20
776
글번호 177684
지표
답변완료

시가대비 분당 거리

아래수식에서 n 1 은 1분 n 2 는 2분 n 3 은 3분 인가요? 그리고 전략차트는 틱차트도 사용 가능한가요? ******************************************************************************* 안녕하세요 예스스탁입니다. input : N(1),pt(0.55); var : T1(0); #시초가 터치봉 시간 if Bdate != Bdate[1] or (Bdate == Bdate[1] and H >= dayopen and H[1] < DayOpen) or (Bdate == Bdate[1] and L <= dayopen and L[1] > DayOpen) Then T1 = TimeToMinutes(stime); if TimeToMinutes(stime) <= T1+n Then{ if MarketPosition <= 0 and C >= dayopen+pt Then buy(); if MarketPosition >= 0 and C <= dayopen-pt Then sell(); } 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. > 제목 : 시가 기준 속도 > 아래건 문의드립니다 지정한 거리를 빠른 속도로 움직인 경우에만 진입하는 수식입니다. 선물 시가대비 위나 아래로 0.55pt를 1분안에 빠르게 움직일 때 진입합니다 변수조절은 1.거리 2.분단위 속도 부탁드려요.
프로필 이미지
목마와숙녀
2024-08-01
638
글번호 177682
시스템
답변완료

86241 수식 검토요청

86241을 통해 작성해주신 수식 감사히 받았읍니다. 수식을 3일째 적용 결과, 단 한 종목도 나오지 않아 일부 종목을 보니, 차트에는 수식의 3가지 신호가 나온 것을 한종목 발견했읍니다. 즉, 차트에 3가지 신호는 잡히는데 주신 수식에서는 종목검색이 안되는 것입니다. 정확하게 작성해주셨으리라 생각하지만 혹시라도 miss가 난 게 있는지 검토부탁드립니다. 미스가 있더라도 사람이 하는 일이니라 이해합니다.
프로필 이미지
ksks
2024-03-20
678
글번호 177681
종목검색
답변완료

돌파 조건 검색식 부탁 합니다

중심선 라인 중심=ma(c,중심선기간,종류); 이평=ma(c,이평기간,종류); 이격=이평-중심; if(c>중심,중심+이격*비율/100,중심) 이평기간 중심=ma(c,중심선기간,종류); 지표조건 중심선기간 10 이평기간 5 종류 단순 비율 100 중심선 라인 이 이평기간 돌파 조건검색식 부탁합니다 분봉에서 사용하고 싶어요
프로필 이미지
구경꾼그림자
2024-03-20
580
글번호 177677
종목검색
답변완료

문의 드립니다.

아래 식을 코인에서 금액을 추가할 수 있게 부탁드립니다. if C > H[1] Then Buy(); if C < L[1] Then ExitLong();
프로필 이미지
선물대장
2024-03-20
621
글번호 177673
시스템

바닥차기 님에 의해서 삭제되었습니다.

프로필 이미지
바닥차기
2024-03-20
16
글번호 177672
지표
답변완료

문의 드립니다

input : starttime(130000),endtime(40000),n(10); var : Tcond(false),hh(0),h1(0),ll(0),l1(0); IF Endtime > starttime Then SetStopEndofday(Endtime); Else { if sDate != sDate[1]and Tcond == true 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; hh = h; ll = l; h1 = hh[1]; l1 = ll[1]; IF Endtime <= starttime Then { SetStopEndofday(0); } } input : 익절틱수(0),손절틱수(0); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx",AtMarket); if NextBarOpen != C Then { Buy("b1",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx1",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx",AtMarket); if NextBarOpen != C Then { Sell("s1",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx1",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b2",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx2",AtMarket); if NextBarOpen == C Then { Buy("b3",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx3",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s2",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx2",AtMarket); if NextBarOpen == C Then { Sell("s3",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx3",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b4",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx4",AtMarket); if NextBarOpen != C Then { Buy("b5",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx5",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s4",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx4",AtMarket); if NextBarOpen != C Then { Sell("s5",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx5",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b6",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx6",AtMarket); if NextBarOpen == C Then { Buy("b7",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx7",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s6",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx6",AtMarket); if NextBarOpen == C Then { Sell("s7",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx7",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b8",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx8",AtMarket); if NextBarOpen != C Then { Buy("b9",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx9",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s8",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx8",AtMarket); if NextBarOpen != C Then { Sell("s9",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx9",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b10",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx10",AtMarket); if NextBarOpen == C Then { Buy("b11",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx11",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s10",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx10",AtMarket); if NextBarOpen == C Then { Sell("s11",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx11",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b12",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx12",AtMarket); if NextBarOpen != C Then { Buy("b13",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx13",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s12",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx12",AtMarket); if NextBarOpen != C Then { Sell("s13",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx13",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b14",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx14",AtMarket); if NextBarOpen == C Then { Buy("b15",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx15",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s14",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx14",AtMarket); if NextBarOpen == C Then { Sell("s15",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx15",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b16",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx16",AtMarket); if NextBarOpen != C Then { Buy("b17",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx17",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s16",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx16",AtMarket); if NextBarOpen != C Then { Sell("s17",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx17",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b18",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx18",AtMarket); if NextBarOpen == C Then { Buy("b19",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx19",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s18",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx18",AtMarket); if NextBarOpen == C Then { Sell("s19",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx19",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b20",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx20",AtMarket); if NextBarOpen != C Then { Buy("b21",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx21",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s20",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx20",AtMarket); if NextBarOpen != C Then { Sell("s21",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx21",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b22",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx22",AtMarket); if NextBarOpen == C Then { Buy("b23",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx23",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s22",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx22",AtMarket); if NextBarOpen == C Then { Sell("s23",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx23",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b24",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx24",AtMarket); if NextBarOpen != C Then { Buy("b25",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx25",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s24",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx24",AtMarket); if NextBarOpen != C Then { Sell("s25",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx25",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b26",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx26",AtMarket); if NextBarOpen == C Then { Buy("b27",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx27",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s26",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx26",AtMarket); if NextBarOpen == C Then { Sell("s27",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx27",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Buy("b28",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx28",AtMarket); if NextBarOpen != C Then { Buy("b29",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx29",AtMarket); if NextBarSdate != sDate Then { if NextBarOpen != C Then { Sell("s28",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx28",AtMarket); if NextBarOpen != C Then { Sell("s29",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx29",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Buy("b30",AtStop,NextBarOpen+PriceScale*10); } } ExitLong("bx30",AtMarket); if NextBarOpen == C Then { Buy("b31",AtStop,NextBarOpen+PriceScale*10); } ExitLong("bx31",AtMarket); if NextBarSdate == sDate Then { if NextBarOpen == C Then { Sell("s30",AtStop,NextBarOpen-PriceScale*10); } } ExitShort("sx30",AtMarket); if NextBarOpen == C Then { Sell("s31",AtStop,NextBarOpen-PriceScale*10); } ExitShort("sx31",AtMarket); SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); -------- 아침 4시에 청산이 되질 않아서 수식어 수정이 가능한지 문의드립니다
프로필 이미지
푸른
2024-03-20
807
글번호 177671
시스템
답변완료

수식 문의 부탁 드립니다.

주가가 가중이동평균선 60일, 120일선 위에, 삼각가중평균 120선위에 있을때 매수, 주가가 삼각가중평균 120 아래로 갈때 매도, 수식문의 부탁드립니다.
프로필 이미지
꺼리
2024-03-20
732
글번호 177670
시스템