time-based trading system with trading day of the mounth

Forums ProRealTime English forum ProBuilder support time-based trading system with trading day of the mounth

Viewing 8 posts - 1 through 8 (of 8 total)
  • #197694

    I would like to implement the following trading system:

    Buy on a certain trading day of the month when the high or low of the previous day is exceeded. Sell after x days at the close of trading if the take profit or stop loss is not reached beforehand.

    The correct calculation of the trading day of the month is important. Stock exchange holidays must also be taken into account, i.e. days on which there is no trading on the home exchange, e.g. Cbot, Euwax, CME etc.

    #197698

    It’s not possible to know when there are Holidays. We can only know there was one AFTER that day. So you will have to set the date (or at least the day). In case that day (or date) is a holiday, the trade will not be executed at all that month, or it can be executed the next day.

     

    #197700

    There must be another possibility. The system knows on which days of the month trading takes place. In a monthly view, each trading day has a candle. Now, for example, the trading system should place an order if the previous day’s high is exceeded on the 5th trading day.

    The system therefore only has to count off the trading days starting with the beginning of the month.

    #197705

    Yes, knowing them AFTER they occur is possible:

    #197713

    great. however, one condition is still missing. If Stop Loss or Take Profit are not triggered, the trade should be closed after 10 trading days at market on close. (e.g. 11 pm for the S&P500).

    by the way: must the computer be active with prorealtime for the orders or are the orders placed on the IG market?

    #197830

    This will do:

    be warned that if it’s run on a intraday TF, the TIME must be that when the last candle of the day closes (on a 4-hour TF there’s NO candle closing at 23, so you will need to use 21).

     

    1 user thanked author for this post.
    #197834

    by the way: must the computer be active with prorealtime for the orders or are the orders placed on the IG market?


    @funkytown
    , No.  The orders are placed by PRT servers; your PC can be shut off (after you started the Autotrading System of concern).

    #197958

    Great, thank you very much.

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

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