Different Timeframes or Filters

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #11263 quote
    Curre68
    Participant
    Senior
    Hi everyone! New here and I´m been searching for prorealtime code that ables you to use different timeframes in a tradingsystem. I find help and it works concerning Proscreener and alerts , why not when you click on different timeframes/charts in backtesting and automatic trading… If you can´t use the power of different timeframes and/or filters like : Only buy when price in daily are above MA200 but buy long when EMA 8 in 2 hours crosses over XXX and so on. Then i cant se how any great systems can be made. Below is a simple code idea where you should not pay any attention to the specific  times, ma or indicators. I just wonder why this simple system does not work? Is it another code for (Timeframe) when you code the auto trading ….

    // Definition of code parameters

    DEFPARAM CumulateOrders = False // Cumulating positions deactivated

    // Conditions to enter long positions

    TIMEFRAME(1 hours)

    indicator1 = SMI[14,3,5](close)

    c1 = (indicator1 >= -30)

    TIMEFRAME(10 minutes)

    indicator2 = MovingAverage[10](close)

    indicator3 = MovingAverage[20](close)

    c2 = (indicator2 CROSSES OVER indicator3)

    IF c1 AND c2 THEN

    BUY 1 CONTRACT AT MARKET

    ENDIF

    // Conditions to exit long positions

    TIMEFRAME(1 hours)

    indicator4 = SMI[14,3,5](close)

    c3 = (indicator4 >= 80)

    TIMEFRAME(10 minutes)

    indicator5 = MovingAverage[10](close)

    indicator6 = MovAverage[34](close)

    c4 = (indicator5 CROSSES UNDER indicator6)

    IF c3 AND c4 THEN

    SELL AT MARKET

    ENDIF

    Greateful for inputs and help using different timeframes in the auto.trading system.

    BRGDS Curre

    #11264 quote
    Elsborgtrading
    Participant
    Veteran
    1. Hi Curre. Your idea is also something that I’m missing. However it’s not possible to work with different time chart in this version. It should be possible to do so in ver 10.3. That said I have an idea how it could be solved. Let say you want a MA[10]for 10 min i a 1 min chart i simply thing you could use MA[100]. Not sure though. BR Kasper
    #11269 quote
    Nicolas
    Keymaster
    Master
    Hi curre, You are right multi timeframe support in ProOrder is definitely a must have! It will come soon. It’s funny how you code it since it’s the way it should be implemented in the next version, with the use of TIMEFRAME instruction like in ProScreener.
    #11272 quote
    Curre68
    Participant
    Senior
    Hi, Elsborgtrading and Nicolas. Thanks for answers, i was afraid that the answer was that it dosen´t work for now. -Elsborgtrading I was only making an example above and i have also thought about adapt MA so you app. have the same results but my systems are more complex and it will not be enough . All systems that are created here should be able to make safer and better with only small adjustment of one ore several filters in a higher or different timeframe. Lets say you only buy longs when weekly or daily tells you that you are in a bull mode but you wait until 2 hours is oversold an let an 15 min timeframe execute the buy etc. -Nicolas Concerning code , i have a Swedish program that has been before it´s time and it has been possible to auto trade for 15 years with the Autostock Autotrader. But they are integrated with a bank called Nordnet and have poor possibilities and i can only trade Swedish OMXS30 wich is boring. They use ( TIMEFRAME ). When you use Proscreener then Prorealtime use the code (TMEFRAME) when you screen with MTF so i don´t understand why it works in Proscreener but not for the real deal. Anyhow it should not be that hard for the people behind Proreal to make this work in the future. Several other programs have it allready, Finally, when will ver. 10.3.  arrive do you think ? Brgds/Curre
    #11280 quote
    Nicolas
    Keymaster
    Master
    This feature is already almost done. So you should expect it this year, to be incorporated into the 10.3 beta version. Multi symbol is also something that people would be glad to have in ProOrder too, I know this feature will come at the same time (but I could be wrong.. since I’m not the guys/team behind all this work 🙂 ). So obviously, these features represent a lot of hard work to make it available publicly to all the PRT traders with all the instruments that be can traded automatically with the platform. Soon, people will be able to: ■ use different timeframes in their own automated strategies to make trading decisions and analyze about how the 2 hours MA trend are going since their last trades in 10 seconds TF, or how much points the market achieve since the last hour … or whatever you can/would like to be calculated .. there will be no restrictions about this in the future. ■ trade their own algorithm into 1 second timeframe with calculation of indicator made in 5 minutes TF (example).. A lot of good things will come!
    #11293 quote
    absent1980
    Participant
    Average
    Nicolas, do you know if IG will be upgrading to PRT 10.3? Thanks.
    #11294 quote
    Robert
    Participant
    Average
    They will. Only question is when.
    #11296 quote
    Nicolas
    Keymaster
    Master
    Yes, IG will be upgrade to 10.3 of course, but I don’t know when. I believe, that the new features (multi TF and multi symbol) will come first to PRT and then to IG.. So don’t expect the upgrade before PRT have released them first!
    #11297 quote
    absent1980
    Participant
    Average
    Thank you.
    #11299 quote
    Curre68
    Participant
    Senior
    Thank You Nicolas! Sounds good for the future… One more question, i havent done my reasearch yet but can you use market screener to get signals/alerts back in time on lets say DAX30 . Then it would be possible to test the systems visually before 10.3. arrives ? Brgds / Curre
    #34753 quote
    IGOSNELL
    Participant
    Average
    Hi Is the multi time frame facility available in proorder yet? Was on the software’s website but could not see anything. Regards Ian
    #34909 quote
    Nicolas
    Keymaster
    Master
    @IGOSNELL Still not, but it is plan to be released this year.
    navone thanked this post
    #35523 quote
    IGOSNELL
    Participant
    Average
    Thanks
    #53149 quote
    navone
    Participant
    Junior

    Wow, this was really bad news. No way of having different timeframes?

    What are the other options for automatic trading with IG. Metatrader?

    #53312 quote
    jebus89
    Participant
    Master
    Also wondering about other options where this is possible 🙂 please share if you know!
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.

Different Timeframes or Filters


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Curre68 @curre68 Participant
Summary

This topic contains 14 replies,
has 8 voices, and was last updated by jebus89
8 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/05/2016
Status: Active
Attachments: No files
Logo Logo
Loading...