Enable TimeFrames settings?

Forums ProRealTime English forum ProOrder support Enable TimeFrames settings?

Viewing 13 posts - 1 through 13 (of 13 total)
  • #127131

    Hi Everyone,

    I have tested a code in the backtesting environment and it worked well.

    when I tested it today in the proOrder autotrading it totally ignored my TimeFrame command

    The code is something like this:

    I run it on a 1 min TF and at the end of every 1 min bar it gave me a new signal (instead of giving a new signal every 30 min)

     

    I read in the forum a question about it in 2018 and it said TF will be enabled soon. so I guess they are long live by now, but this is my first attempt with them (so far I love them!)

    #127140

    That’s correct, if you run it from 1-minute TF it may enter 30 times.

    You have to write code non to!

    If you post an idea I may help you.

    1 user thanked author for this post.
    #127143

    So I am confused.

    Why does TM exist in the first place if it can not work in the “real world”?

    is TF for testing purposes only?

    #127146

    You can use anything in real trading, provided it is used correctly!

    Examples (both tested on DAX, 1-minute chart):

     

    1 user thanked author for this post.
    #127147

    It’s basically the same code, but I have added some code, in te latter, to avoid re-entering on the same signal.

    You can do (almost) anything using the correct code to!

     

    1 user thanked author for this post.
    #127150

    Thanks,

    But I’m still confused. what is not “correct” with the code I tried, that worked in the test environment?
    Just to be clear, the TimeFrame 30 is chaging the MyRSI paremeter every minute. one bar it sets it to buy, the next to sell again and again. whereas the plan is to set the MyRSI once every 30 minutes and get into a trade (or leave it) when the other conditions are met.

    to put it simply: I don’t understand why it would change the myRSI signal every minute not every 30 min. again, in test it works fine only in the proauto trading platform it does not. which led me to believe the problem is in the settings.

     

    #127157

    No, UpdateOnClose will allow changing MyRsi when the 30-minute candle closes.

     

    #127158

    Append

    to your code to monitor its value each 1-minute candle in the variable window opened by ProBackTest.

     

    #127179

    I think that is the problem.

    in the test environment I used GRAPH of course, and it works fine.

    In the AutoTrading environment I can’t use GRAPH and it doesn’t work as intended.

    There is something basic here that I seem t be missing.

    #127190

    Here is the GRAPH output.

    RSI changes value every 30 minutes on a 1min chart.

    Yet in the AutoTrading it changes the value every 1 min.

    Again, my guess is that something is wrong with the AutoTrading settings and not the code

    #127199

    How do you know it changes every minute?

    1 user thanked author for this post.
    #128088

    I realized it was a bug in the code. not a problem with TF. Thank you very much for your help…

    #128095

    aland – Not sure how this topic went quite so far without anyone spotting that you posted it in the wrong forum but you did! ProBuilder where you posted it is is for indicator topics and ProOrder is for strategy topics. I will move this topic but please try to post in the correct forum with any future topics.

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

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