커뮤니티

프로그램 사용법 Q&A

글쓰기
답변완료

이상해 왜 안되지

선물1분차트 에서 아래식 여러가지 변경 조합해보니 무조건 -430 부터 초고 -2700 이 나오더군요 매매횟수는 4100회부터 6000사이 입니다 만약 +430 이나 +2700 나오면 엄청난 횡재겠지요 아래식을 구현해서 - 마이너스 나오면 buy 와 sell 바꾸면 차트상 에서 매수신호와 매도신호가 바뀌어야 정상 이거늘 뭐가뭔지 정신이없어요 왜 안되는데요 로직 중 에서도 제일 간단한 아이디어 잖아요 아래 식 보세요 //매수 : 양봉 4개가 연이어 나올 때 if accumN(iff(C > O,1,0), 4) == 4 then buy(); //매도 : 음봉 4개가 연이어 나올 때 if accumN(iff(C < O,1,0), 4) == 4 then sell();
프로필 이미지
********
2007-08-04
1056
글번호 200383
예스트레이더 (iM증권)
답변완료

몇가지 질문입니다...

1. 어떻게 하다 보니 시스템 갯수가 12개가 되었습니다. 그래서 첨부 파일 처럼 각 시스템의 타이틀바를 위로 올려놓고 타이틀바를 찍어서 각 시스템을 검토합니다. 그런데 시스템 갯수가 너무 많아서 타이틀바 1줄에 12개의 시스템 타이틀바 모두 들어오지 않아서 약간 불편합니다. 저 공간을 늘일 수 있는 방법이 있는가요? (첨부파일 확인 부탁 드립니다.) 2. marketposition==1이란 말은, 해당 시스템에 의한 매수부분, 즉 해당 시스템에 의해 매수된 잔고만을 말하는 것인가요, 아니면 잔고에 동일 종목이 있으면 무조건 marketposition==1이 되는 건가요? 수동으로 매수한 동일 종목이 있을 시에 시스템의 청산식에 의해 본인 의지와 상관없이 청산될 수도 있을 것 같아서... 3. 만약 [현재가 +1]로 100개를 매수하는 시스템에서, 바로 위 호가창 매도잔량이 100개가 되지 않으면, 예를 들어 50개만 있다고 하면 50개만 매수되고 나머지 50개는 매도잔량이 나올 때 까지 기다리는 건가요? 아니면 매수 자체가 되지 않나요? 너무 초보적인 질문이지만.,..답변 부탁 드립니다.
프로필 이미지
도레미트리오
2007-08-03
1204
글번호 200381
예스트레이더 (iM증권)
답변완료

종목 연계에 관해서...

화면분할이 된 상태에서 동시에 종목연계하여 변경을 할 경우, 화면을 활성화 시키라고 하셨는데 초보라 방법좀 부탁드립니다(주봉,일봉,60분봉,30분봉 한 종목으로 동시에 변경시키려고 합니다)
프로필 이미지
********
2007-08-03
1215
글번호 200377
예스트레이더 (iM증권)
답변완료

매매

옵션매매할때 자동매매 해보니까 주문가능수량 확인 하면 매도 가능수량 12개 매수 가능 수량 280개 주문가능액수가 나옵니다 그런데 자동매매 주문 설정을 12개로입력 했는데 시장에서 24개 주문 들어가네요 양방향 매매에서 있었던일입니다 좀 혼란 스러웠습니다 주문 가능 수량 조회 하면 매도 가능수량이 12개로 나왔습니다만 실재로 매매해보니 12개입력했는데 24개가 주문 들어가네요 뭐가뭔지 정확히좀 알아야겠습니다 답변 이곳 감사합니다
프로필 이미지
********
2007-08-03
1550
글번호 200376
예스트레이더 (iM증권)
답변완료

하나의 봉에 매수, 청산 동시에 뜰 경우

이것을 막을 방법으로 아래와 같이 답변해 주셨는데요, (매수 조건에 청산 조건이 아님을 제시) //매수식 if CrossUp(C,ma(C,20)) and !(CrossDown(C,ma(C,5))) then buy(); //매수청산식 if CrossDown(C,ma(C,5)) then exitlong(); 이걸 이렇게 고치면 안되나요? var1=0; //매수식 if CrossUp(C,ma(C,20)) and var1!=1 then {buy(); var1=0;} //매수청산식 if CrossDown(C,ma(C,5)) and var1=0 then {exitlong(); var1=1;} 답변 부탁 드립니다.
프로필 이미지
도레미트리오
2007-08-02
931
글번호 200375
예스트레이더 (iM증권)
답변완료

시물레이션

안녕하세요 풋220 종목 시물레이션 수수료?와 슬리피지? 얼마로 설정하는건지요 글구 옵션은 유료 시물레이션은 몇년까지 확인할수 있나요 글구 유료 옵션에서는 시물레이션 틱차트 에서 결과을 볼수있나요 제가 소자본인 관계로 틱 을 보고 있어서요
프로필 이미지
********
2007-08-02
995
글번호 200371
예스트레이더 (iM증권)
답변완료

리딩스타

리딩스타 트레이딩 타사꺼인가요 계좌도 따로 신청도따로하라는 내용때문에 통합 안되나요 괜히 시간만 빼끼고
프로필 이미지
********
2007-08-02
985
글번호 200369
예스트레이더 (iM증권)
답변완료

비스타에서 몇가지 문제점

안녕하세요. 비스타에 3.1베타 사용하는데 서버시간 표시가 안되는것같습니다. 그리고 다른 컴퓨터에서 같은 아이디로 접속했을 시 비스타에서 실행중인 예스트레이더에서 다른 컴퓨터에서 사용자가 로그인했다는 메세지를 보여준후 먹통이 되어버리는군요. 3.1 베타가 빨리 안정화가 되면 좋겠군요. 현재는 상당히 문제가 많습니다.
프로필 이미지
특수기호
2007-08-02
1127
글번호 200365
예스트레이더 (iM증권)
답변완료

print문의 오류

아래 프로그램에서 state2.txt 로 보면 state가 0,1,2,3 등으로 변하고 있는데 실제 state.txt에는 프린트가 되지 않습니다. 참고로 생성화일은 콜옵션 247.5로 돌린 것 입니다. =============== 프로그램 ============ #선물의 하루 최대 최소 차이점 # Index : 봉의 번호 # sDate : 봉의 시작 날짜 # date : 봉의 끝 날짜 # time : 봉의 끝 시간(103020) 10시30분20초 # Open : 시가 # High : 고가 # Low : 저가 # Close : 종가 # Volume : 거래량 # Money : 거래 대금 # openinterest : 미결제 약정 # Bids : 매수 총잔량 # asks : 매도 총잔량 # ticks : 체결건수 # upticks : 상승형 체결건수 # downticks : 하락형 체결건수 # upvol : 상승형 체결거래량 # downvol : 하락형 체결거래량 # baseprice : 기준가 variables : v_i(0),state(0),v_close(0),rate(0.95),num(1),next_state(0); arrays : av_price[20](0); if(index >2 ) then { state = next_state[1]; next_state = next_state[1]; } print("state2.txt","index = %6.0f state %4.0f close:%2.2f",index,state,close); if(time<90130) then { state = 0; next_state = 0; } if(state==0) then { /* initialization */ if( time > 90130 && date == 20070718 ) then { /* Transition to trading */ next_state = 1; print("state.txt","state %4.0f",state); av_price[0] = Close; For v_i=1 to 19 { av_price[v_i] = av_price[v_i-1]*rate; } For v_i=0 to 19 { /*소수점 두 째 짜리까지로 라운드 */ av_price[v_i] = round(av_price[v_i],2); print("price222.txt","price:%2.2f %.0f %",av_price[v_i],state); } } } else if(state == 1) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state = state+1; print("state.txt","state %4.0f",next_state); buy("b1",Onclose,DEF,num); } if(close>=av_price[state-1]) then { next_state = 1001; print("state.txt","state %4.0f",next_state); } } else if(state == 2) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state = state+1; print("state.txt","state %4.0f",next_state); buy("b2",Onclose,DEF,1); } if(close>=av_price[state-2]) then { next_state = state-1; print("state.txt","state %4.0f",next_state); Exitlong("s2",Onclose,DEF,"b1",num,1); } } else if(state ==3) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state = state+1; print("state.txt","state %4.0f",next_state); buy("b3",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state = state-1; print("state.txt","state %4.0f",next_state); Exitlong("s3",Onclose,DEF,"b2",num,1); } } else if(state ==4) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state = state+1; print("state.txt","state %4.0f",next_state); buy("b4",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state = state-1; print("state.txt","state %4.0f",next_state); Exitlong("s4",Onclose,DEF,"b3",num,1); } } else if(state ==5) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b5",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s5",Onclose,DEF,"b4",num,1); } }else if(state ==6) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b6",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s6",Onclose,DEF,"b5",num,1); } }else if(state ==7) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b7",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s7",Onclose,DEF,"b6",num,1); } }else if(state ==8) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b8",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s8",Onclose,DEF,"b7",num,1); } }else if(state ==9) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b9",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s9",Onclose,DEF,"b8",num,1); } }else if(state ==10) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b10",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s10",Onclose,DEF,"b9",num,1); } } else if(state ==11) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b11",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s11",Onclose,DEF,"b10",num,1); } } else if(state ==12) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b12",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s12",Onclose,DEF,"b11",num,1); } } else if(state ==13) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b13",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s13",Onclose,DEF,"b12",num,1); } } else if(state ==14) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b14",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s14",Onclose,DEF,"b13",num,1); } } else if(state ==15) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b15",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s15",Onclose,DEF,"b14",num,1); } } else if(state ==16) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b16",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s16",Onclose,DEF,"b15",num,1); } } else if(state ==17) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b17",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s17",Onclose,DEF,"b16",num,1); } } else if(state ==18) then { if(close<=av_price[state]) then { /*Transit to next state */ next_state =state+1; print("state.txt","state %4.0f",next_state); buy("b18",Onclose,DEF,num); } if(close>=av_price[state-2]) then { next_state =state-1; print("state.txt","state %4.0f",next_state); Exitlong("s18",Onclose,DEF,"b17",num,1); } } else if(state ==19) then { /* if(close<=av_price[state]) then { next_state = state+1; print("state.txt","state %4.0f",next_state); buy(1); }*/ if(close>=av_price[state-2]) then { next_state = state-1; print("state.txt","state %4.0f",next_state); Exitlong("s19",Onclose,DEF,"b18",num,1); } } else if(state == 1001) then { if(close<=av_price[0]) then { /*Transit to next state */ next_state = 1; print("state.txt","state %4.0f",next_state); } }
프로필 이미지
랜덤데이터
2007-08-02
858
글번호 200364
예스트레이더 (iM증권)
답변완료

리딩스타 run log

시뮬레이션 중 리딩스타가 죽었습니다. 직장인이라서 시스템을 오전에 돌리고 계속 모니터링 할 수 없는데... 걱정입니다. 참고로 PC는 시스템만을 돌리기위한 피씨로 다른 프로그램은 거의 깔려 있지 않은 상황입니다.
프로필 이미지
랜덤데이터
2007-08-01
1334
글번호 200363
기타