How to extend a limit order to 4 bars

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45905 quote
    Gaastra
    Participant
    New

    Is it possible to extend my LIMIT order to hold for 4 bars instead of 1?

    IF NOT LongOnMarket AND MyCriteria THEN
        Buy ContractsToBuy Contracts At BuyLevel1 LIMIT
        Buy ContractsToBuy Contracts At BuyLevel2 LIMIT
    ENDIF
    #45948 quote
    Despair
    Blocked
    Master

    You simply have to repeat the order every bar.

    #46148 quote
    Nicolas
    Keymaster
    Master

    Despair is right. Your ‘MyCriteria’ variable must be valid until your LIMIT orders are triggered, since pending orders expired at Close of each period.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

How to extend a limit order to 4 bars


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
Gaastra @gaastra Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
8 years, 5 months ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 09/10/2017
Status: Active
Attachments: No files
Logo Logo
Loading...