[beta-testing] multi timeframe support for automatic trading, ideas are welcome!

Forums ProRealTime English forum ProOrder support [beta-testing] multi timeframe support for automatic trading, ideas are welcome!

Viewing 15 posts - 211 through 225 (of 288 total)
  • #82403

    I tried to duplicate Vonasis RSI MTF algo.

    I have just realised that I need to thank you @O-jay8 for the code for which I posted results and when I said …

    But they look good trades!

    I can see now that you wrote the code O-jay8   (Vonasi did not share his code).

    Many Thanks
    GraHal

     

    #82412

    Recently (within a couple of weeks), I have experienced several strategies stopping nighttime due to unknown errors, but they ALL are MTF strategies launched on DAX from 1-minute or 15-second TFs and referencing other higher TFs.

    It’s not always the same strategy.

    Setting custom trading hours didn’t help.

    Has anyone experienced similar problems dealing with MTF or DAX?

    #82418

    I can see now that you wrote the code O-jay8   (Vonasi did not share his code).

    As you possibly already know I am not big on giving away complete fish. I prefer handing out fishing rods and the odd hook and line and some tips on how to fish rather than giving away whole fish.

    I have now had two minutes to import O-Jay8’s code and compare it with mine. It was a very interesting thing to do to see how someone else goes about attacking the same idea. The codes are quite different!

    I use a much simpler long term trend filter and as per all my codes I do not use stop loss or take profit levels – I sell when conditions are met. I also use a totally different RSI setting. I also do not use any time filter. Both strategies are profitable over the back test period so neither is right or wrong or better than the other – forward testing will tell us whether either of them are any good. I will put a note in my calender to re-test both strategies in a months time I think.

    1 user thanked author for this post.
    #82450

    Hi
    @Grahal, you are welcome. I have not a big problem to share a strategy code mainly as I am still a novice and hope somebody is able to improve my code.
    My codes are usually just bits and pieces from other strategies, I have seen here in the forum. I still have so much to learn.
    My overall picture what is even possible is still very limited.

    @ Vonasi, I understand that you dont want to share a complete strategy especially if you invested a lot of time and effort in it. I am already thankful for your tips and ideas.
    i.e. your MTF RSI strategy, which I tried to replicate in my own way.
    Often I dont even know where to start (initial strategy) so your idea with the MTF RSI was a good task for me to see whether I can get somehow similar results.

    I do like MTF strategies a lot and it opens up so many possibilities. Unfortunately I dont have so much time as I try to code more or less in my spare time.

    Where do you guys get your ideas for strategies?
    Personally it would be nice if we could share more ideas. Unfortunately I lack imagination.

    I tried to code stochastic overbought/oversold for MTF for forex pairs as well. (4h,1h,30m and 15 min)
    I would say it was medium successful but I dont feel really confident about the future success rate in live but lets see. (attached the picture)

    1 user thanked author for this post.
    #82474

    Where do you guys get your ideas for strategies? Personally it would be nice if we could share more ideas. Unfortunately I lack imagination.

    A lot of my ideas come from statistical/probability studies of price action or price action along with one indicator value. I’m not interested in complicated strategies or strategies with masses of indicators. If you look at my library posts you will see that a lot of them are more analysis tools than true indicators. It is from analysis that ideas blossom!

    I enjoy writing my own indicators and sometimes spot something that can be used from these. For example the Mean Reversal Equity Curve Indicator that I posted recently has turned out to give some very positive filtering results – but I still need a few months of  forward testing to be certain of it – if only PRT/IG would fix the end of day and end of week live testing problem!

    Sometimes I will read something online or in a magazine that I had not thought of testing. 99% of the time after testing and analysing I dispose of the idea but 1% of the time there is a little gem that can be used.

     

    2 users thanked author for this post.
    avatar Bel, avatar Jan
    #82775

    I receive complete different trade results varying the code at Time Frame of 15 minutes.  I am using the 15 minutes graph, which is the lowest timeframe for my testing  I would expect the code behind  Time Frame, //update on close// and //default// used in the lowest timeframe  to give exactly the same trading results. Why NOT is for me a question. timeframe(15 minutes,updateonclose) gives a much higher trade result as timeframe(15 minutes, default)

    Problem spotted and identified, should be fixed in a near update.

    2 users thanked author for this post.
    #82926
    Jan

    Nicolas,

    ” Problem spotted and identified, should be fixed in a near update. ”

    In the meanwhile, what to use for the lowest timeframe ( in my case 15 minutes timeframe)  ==>  (Timeframe 15 minutes, default) or (Timeframe 15 minutes, updateonclose) ?

    Maybe I should test it myself in a live situation, but do you know what the trading algoritme in real live trading will follow when I would use (Timeframe 15 minutes, updateonclose) with a live trading time frame of 15 minutes ? Would it give the higher results as backtested or will it give the lower results as backtested with (Timeframe 15 minutes, default) ?

    Thanks for the answer.

    Kind regards, Jan

    #82935

    Maybe I should test it myself in a live situation

    I would test it in live demo only. MTF is still only in beta testing for exactly this reason so risking real money on it would be a bit like being a jet fighter test pilot – exciting but potentially very dangerous!

     

    #82936

    In the meanwhile, you should always use the below instruction for the lowest timeframe, which in this case is the “default”:

    The lowest timeframe, the one on which the strategy is read and executed, will obviously always be read at the end of the bar, so specifying “updateonclose” or “default” doesn’t matter.

    2 users thanked author for this post.
    avatar Bel, avatar Jan
    #83910

    Hi

    would be possible  use daily timeframe and a second time frame of 5 minutes?

    How I cuold try my strategy?

    thanks a lot

    l

     

    #83952

    Yes, that’s possible, this is the purpose of the MTF functionnality. There is a simple and good example of  a MTF strategy in this thread: https://www.prorealcode.com/topic/echelle-de-temps-multiples/#post-82039

    #84031

    Mes salutations .

    Comment adapter les indicateurs aux Cryptomonnaies qui n’ont pas d’ouverture ni de cloture ?      lequel choisir Cloture , Ouverture , plus haut, plus bas , Typique , Pondéré,Médian ou Total ?

    Merci par avance pour cette précision

     

    Cordialement 🙂

    ———————————————————————————————————————————————————————–

    editVeuillez utiliser l’anglais sur le forum anglais. Merci. Cependant, j’ai fait la traduction avec Google Transaltor:

    My greetings

    How to adapt the indicators to cryptocurrencies that have no opening or closing? Which to choose between Closing, Opening, Upper, Lower, Typical, Weighted, Median or Total?

    Thanks in advance for this clarification

    Sincerely 🙂

    Roberto

    #84081

    Guys i am finding a problem today with the MTF, i have several strategies with Default time frame 4h and inside the code i use the 1h time frame to find some filters. Now i have 6 strategies live like this, but today when i try to work on the backtest and others PRT told me that the lower Timeframe is not a multiply of the higher, but thats is not true and specially how is possible that my strategies are working ?????????????

    Cattura

    i will post the code as example:

    #84085

    Gianluca it’s the other way round… all TF’s must be multiple of the main one, which is the lowest one from where the strategy is launched and which must be the current TF on the chart. In your case your default TF CANNOT be 4h! Your code has nothing to do with this issue.

    You cannot launch or backtest your MTF strategy from a 4-hour TF if you are using lower TF’s.

    If you want to use 4h and 1h, or even 1min, you must launch your strategy from the lowest one!

    And you cannot use 4h, 1h and 7mins together, because 4h (240 mins) and 1h (60 mins) are not multiple of 7 minutes! You should use 245/238mins, 63/56mins and 7mins.

     

    #84096

    ou cannot launch or backtest your MTF strategy from a 4-hour TF if you are using lower TF’s.

    If you want to use 4h and 1h, or even 1min, you must launch your strategy from the lowest one!

    i have live 5 strategies in this way so how you explain it?

Viewing 15 posts - 211 through 225 (of 288 total)

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