Time-based sell order for a specific day

Forums ProRealTime English forum ProOrder support Time-based sell order for a specific day

Viewing 5 posts - 1 through 5 (of 5 total)
  • #197687

    I would like to place a sell order for a specific trading day, it should be a time-based sell order at the end of the trade. The background is a simple seasonal strategy.

    The order is to be combined with a stop loss and take profit, i.e. the order will be closed beforehand when the price levels are touched.

    What is the best way to proceed?

    #197695

    You wrote “it should be a time-based sell order at the end of the trade” but you probably meant “it should be a time-based sell order to end the trade“, didn’t you?

    This is the code (as to my interpretation):

    You may remove the TIME condition if you don’t need or if you are using a Daily TF or any TF whose bar doesn’t close at THAT time.

    0=Sun, 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri (6=Sat for instruments that can be traded on Saturday).

    #197697
    • Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.
      .
    • Post your topic in the correct forum:
      _ ProRealTime Platform Support: only platform related issues.
      _ ProOrder: only strategy topics.
      _ ProBuilder: only indicator topics.
      _ ProScreener: only screener topics
      _ General Discussion: any other topics.
      _ Welcome New Members: for new forum members to introduce themselves.

    The double post I deleted was in a wrong support forum.

    Thank you 🙂

     

     

    #197699

    You wrote “it should be a time-based sell order at the end of the trade” but you probably meant “it should be a time-based sell order to end the trade“, didn’t you?

    Sorry, no. I meant a market-on-close order.

    #197706

    Actually CFDs do not close, so there’s no closing time.

    If you know the time an instrument closes, then you have to write that time as I did above.

    Another way is to close a trade at the end of the daily candle, but on Fridays the actual exit will be executed when the next week opens.

     

     

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login