메뉴 건너뛰기

TradeStation

조회 수 1095 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

피라미딩 코딩시 여러개의 진입에 대한 이름을 지정해주고 청산을 할수 있는데요..

marketposition("buy1") 같은건 없을까요?

 

 

buy, buy, sell 이 나왔다면 marketposition은 -1 이 되거든요..

각각  entry의  marketposition 을 알수 있는 방법이 있을까요?

 

 

EL 코딩

if average(c,5)>average(c, 60) then Buy ("buy1") next bar market;

if average(c,10)>average(c, 60) then Buy ("buy2") next bar market;

if average(c,30)>average(c, 60) then Buy ("buy3") next bar market;

 

if average(c,5)<average(c, 60) then sellshort ("ss1") next bar market;

if average(c,10)<average(c, 60) then sellshort ("ss2") next bar market;

if average(c,30)<average(c, 60) then sellshort ("ss3") next bar market;

 

if average(c,5)<average(c, 60) then Sell entry("buy1") next bar market;

if average(c,10)<average(c, 60) then Sell entry("buy2") next bar market;

if average(c,30)<average(c, 60) then Sell entry("buy3") next bar market;

 

if average(c,5)>average(c, 60) then buytocover entry("ss1") next bar market;

if average(c,10)>average(c, 60) then buytocover entry("ss2") next bar market;

if average(c,30)>average(c, 60) then buytocover entry("ss3") next bar market;

 

print("date : ", d, ", time: ", t, ", marketposiion : ", marketposition);

 

20191123_100744.png

 

 

EasyLanguage Log

20191123_100748.png

 

 

 

  • ?
    정은희 2019.11.28 09:04
    신한 TS 게시판 답글 :
    안녕하십니까,
    marketposition에서 각각은 entry를 지정하여 보는 방법은 없는 것으로 보입니다.
    그냥 variable을 지정해야할듯합니다

  1. 신한 HTS (SHINHAN i GX) Issues

    Date2019.01.09 By조봉제 Views1561
    read more
  2. 신한TS Issues

    Date2019.01.05 By관리자 Views1001
    read more
  3. [TS] 피라미딩 코딩시 marketposition

    Date2019.11.23 By정은희 Views1095
    Read More
  4. [신한금융투자] TradeStation 이슈 답변 정리

    Date2019.05.10 ByTradeStation Views1354
    Read More
  5. [TS] 피라미딩 코딩시 EntryPrice

    Date2019.01.28 By정은희 Views731
    Read More
  6. [@DAX] 거래 시간

    Date2019.01.25 By죽마고우 Views1708
    Read More
  7. [수정요청] 썸머타임 동안 미니나스닥선물 (@NQ) 거래 시간

    Date2019.01.17 By죽마고우 Views1365
    Read More
  8. Intrabar 옵션 사용시 주의사항

    Date2019.01.06 By조봉제 Views452
    Read More
  9. intrabar 옵션을 활성화시킨 limit 주문

    Date2019.01.04 By조봉제 Views358
    Read More
  10. stop주문과 limit주문

    Date2019.01.04 By조봉제 Views691
    Read More
  11. 최적화 와 개별 테스트 차이

    Date2019.01.03 By죽마고우 Views345
    Read More
  12. 미니에센피와 미니나스닥 @EQ 와 @NQ 심볼 문의 드립니다.

    Date2017.01.17 By꼬댕 Views1378
    Read More
  13. 주문 취소 코딩 질문 드려요.

    Date2016.10.05 By꼬댕 Views796
    Read More
  14. @ES 심볼 문의 드립니다.

    Date2016.04.29 By꼬댕 Views448
    Read More
  15. [EL/STUDY] 30.0. RadarScreen에서 Plot문장 작성하기

    Date2016.04.19 By다시 Views556
    Read More
  16. [EL/STUDY] 29.0. 색깔 그라데이션

    Date2016.04.19 By다시 Views488
    Read More
  17. [EL/STUDY] 28.1. Exercise : #30 High Volume Bars

    Date2016.04.19 By다시 Views428
    Read More
  18. [EL/STUDY] 28.0. 서식

    Date2016.04.12 By다시 Views357
    Read More
  19. [EL/STUDY] 27.1. Exercise : #29 Multidata MA

    Date2016.04.08 By다시 Views513
    Read More
  20. [EL/STUDY] 27.0. 멀티데이터 : 멀티데이터 참조하기

    Date2016.04.06 By다시 Views406
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 11 Next
/ 11
위로