Different Timeframes or Filters
Forums › ProRealTime English forum › ProOrder support › Different Timeframes or Filters
- This topic has 14 replies, 8 voices, and was last updated 6 years ago by jebus89.
-
-
08/05/2016 at 10:18 PM #11263
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
08/06/2016 at 5:05 AM #11264- 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
08/06/2016 at 8:19 AM #11269Hi 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.
08/06/2016 at 9:54 AM #11272Hi, 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
08/06/2016 at 1:19 PM #11280This 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!
08/06/2016 at 2:01 PM #11293Nicolas, do you know if IG will be upgrading to PRT 10.3?
Thanks.
08/06/2016 at 2:14 PM #1129408/06/2016 at 3:03 PM #11296Yes, 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!
08/06/2016 at 3:20 PM #1129708/06/2016 at 3:42 PM #11299Thank 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
05/07/2017 at 12:27 PM #3475305/09/2017 at 10:31 AM #3490905/15/2017 at 6:05 AM #3552311/18/2017 at 2:16 AM #5314911/20/2017 at 2:49 PM #53312 -
AuthorPosts
Find exclusive trading pro-tools on