order on 10 sec but trend is on hourly candle

Forums ProRealTime English forum ProOrder support order on 10 sec but trend is on hourly candle

Tagged: 

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

    As we all know pro real time places orders at only time intervals.

    I want to trade in a trending market.

    if the hourly candle is going down say for 8 am to 9 am

    if the trend is down and say market is going down by 100 points

    I want to sell at x-10, x-20, x-30 where is x is the price at the beginning of the hourly candle

    I want to place the  order in 15 seconds

     

    the reason for this I want to keep moving my stop losses for individual orders in my favor( which is not possible on cumulative orders on hourly candle)

     

    #84776

    You have to use the recent MTF (Multiple Time Frame) feature and use 10 seconds as the main TF, within your strategy you will then be able to use any other higher TF provided it’s multiple of 10 seconds.

    Unfortunately this will lower your data history to just a few days when backtesting.

    If you search MTF you will find many examples and videos.

    #84821

    A simple example of a MTF strategy code is available here: https://www.prorealcode.com/topic/echelle-de-temps-multiples/#post-82039

    #120909
    VN

    Hi Nicolas, I am trying to do something similar but my base timeframe is at 1 min and I want to use a 30 second time period to evaluate a number of conditions, but it when I tried running the code it is saying that all timeframes used in the code must be multiples of the base timeframe. I tried doing it on 10 sec and also on 1 second and it still not liking it.

    Is this to be expected?

    #120910

    You must launch your strategy on the fastest time frame and make sure that all time frames used in the strategy can be divided into each other.

     

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