BUY or SELL in the actual bar is possible?

Forums ProRealTime English forum ProOrder support BUY or SELL in the actual bar is possible?

Viewing 4 posts - 16 through 19 (of 19 total)
  • #55196
    AVT

    @Despair (well, I did never code a robot in PRT, that’s why I am not so familiar with it). If I understand you correctly in a 4-hour EA the code is read at the beginning of each 4-hour bar.  I think of something like: alarm 14:00 – get up, read and execute code – back to sleep, blanket over the head and shit on the rest of the world – next alarm not before 18:00.

    #55200

    @despair (well, I did never code a robot in PRT, that’s why I am not so familiar with it). If I understand you correctly in a 4-hour EA the code is read at the beginning of each 4-hour bar. I think of something like: alarm 14:00 – get up, read and execute code – back to sleep, blanket over the head and shit on the rest of the world – next alarm not before 18:00.

    The problem it’s that at 14:00 the robot read and execute code, in your code the conditions are ok so you put an order to the market, and then, the order EXECUTE AT 18:00!!!!

     

    YEAHH!!! 

    #55204

    No, this is not true! A market order is executed at the open of the next candle. So if your condition is true 14:00 (and this is when the candle closes) you market order will be executed straight away.

    #55465

    Does any other program have the multitimeframe feature? I too think it’s beyond ridiculous that this is not possible? I have a strategy where I buy at the end call (5:25 PM) based on certain conditions but it’s impossible to backtest since it buys the next mornings open instead. 

Viewing 4 posts - 16 through 19 (of 19 total)

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