Fibonacci retrace backtest for PRT – collaboration project

Forums ProRealTime English forum ProOrder support Fibonacci retrace backtest for PRT – collaboration project

Viewing 15 posts - 31 through 45 (of 56 total)
  • #17645

    The indicator framework could be updated and optimized later. Good to know you have a lot of “juice” about this project, I hope you’ll be able to manage it while I’m away from the discussion. Would be glad to have other people on board too ..

    About averaging down and up, I believe you already made these kind of codes and that would be with ease to incorporate it into the code with boolean variables to activate it or not… so why not?

    If we decide to stop using Fibonacci retracement (which is totally the first and initial concept of this project), it will be another project.. So let’s stick with it!

    About price action theory from trade entries, I believe you are talking about piercing last higher high (fractal maybe?), something not very new but difficult to code because of the human conception/feeling about this when you stare at charts.

    #17776

    I am surprised and dissapointed that at least one or two more accomplished coders have not jumped on board this very promising ‘project-ship’ that is sailing into profitable lands! 🙂

    More coders would get our ‘juices’ flowing even more … more the merrier / cross fertilisation etc ?

    If Nicolas transfered this thread from ‘General Trading Discussion’ to ‘ProOrder Support’ then more coders would see it as there is 5 x more posts on the ProOrder Support Forum (2500) than this Forum (500).

    What you reckon, good idea?

    #17782
    Maz

    Open source projects grow organically and accelerate once a strong consensus is built.  That said – Nicolas feel free to extend the invite into your next newsletter or perhaps put out a mailshot to the members; it might spark some more early adopters. December activity usually winds down anyway; I will be taking a break myself soon. Meanwhile I’ll post any significant developments. GraHal – do continue to post any ideas / things to try. Cheers, M

    #17817

     

    This thread is in the wrong Forum anyway because the discussion is not about ‘General Trading’ (this Forum).

    The first post in this thread says …

    Please come forward here if you would like to collaborate on a Fibonacci based retracement backtest for PRT”

    and so the correct Forum is …

    ProOrder support – Related to automated trading coding support (ProBacktest and ProOrder)

    I do feel if this thread were moved to the above Forum then it stands more chance to grow organically and spark more early adopters … as you say Maz.

     I’m sure Nicolas would move this thread (?), but I guess he needs a request from you Maz (as originator).

     Just a few thoughts anyway.

     Best Regards
    GraHal

    #17820

    Topic moved. I’m busy right now, get back here asap. Thank you.

    #17826
    Maz

    Thanks guys, new here so didn’t realise when starting the thread.

    #18649

    Hi All,

    I would like in on this.  I’m a retired I.T. Director who has developed a keen interest in trading.  I’ve been coding all my life in various languages, (I’m also used to building Unix/Linux kernels), and I’ve been studying PRT and MT4 recently.  I came to the conclusion that Fibonacci is the initial attack mode.  I have friends who make money trading but all seem to be glued to screens all day.  I’m interested in developing a EA to take the strain.

     

     

    3 users thanked author for this post.
    #18653

    @hicksd8

    Hi! welcome on board, been several days that I’d like to re-jump into this project, but so much other topics have captured my attention…, I’m very happy to welcome more colleague to help on this project.

    #18654

    Here is a small code snippet to take orders with the last version of the indicator (attached to this post):

    1. buy order is initiated if the Fibonacci 50% level is breach while the Fibonacci grid is still in construction
    2. pending buy order set at Fibonacci 50% level if the Fibo grid has finished its construction

    Stoploss are defined in the code, but I do not set any takeprofit, so trades are never closed 🙂 This is where the smart ideas are welcome: get on market is the easy part, do you know how to exit then?

     

    2 users thanked author for this post.
    #18695
    Maz

    hicksd8 – welcome, feel free to check out the github and contribute with any suggestions be it code or theory.

    Please note: As stated in an earlier post, please use the latest boilerplate on github to as a base to build entry/exit rules on top of. Reason being is that:

    – this syntax is only ok for illustration purposes (Nico’s code above), it will give false, delayed signals in reality. The results when “calling” the function are not in sync with with the trading system code (in PRT 10.2 at least). You need to “compile” the auto fib indicator code into the trading system so it runs inline, top-down, every loop. The boiler plate does that for you. It’s a PRT qwerk to be aware of.

    Link to boilerplate: https://github.com/publicprtcode/Backtests/blob/master/autofib/FibRetrace(long)-boiler-0.01a – to use for actual entry/exit rule back-testing

    All the best and happy festivities

    Maz

    1 user thanked author for this post.
    #19006

    @maz……Thanks for the intro.  I’ve spent sometime looking at your code and I’m getting there.  PRT is a bit different from C, C++, Basic and Fortran.  However, my aim is to understand the logical flow.  Unlike the other boards that I subscribe to, this board doesn’t seem to have a PM (Private Message) facility.  Could you email me please on xxx as I have a few very stupid questions.  I’ll then post all future input here for all to see.

    Thanks,

    hicksd8

    #19008

    There is no PM on this board, because I prefer to have public discussions around problems or collaborative projects of any kind, like the purpose of this topic.
    You are right about the language, it is very specific to the platform, but almost like Basic, you’ll find it easily how to figure some basic and well advanced piece of codes.
    The main differences are the lack of functions and arrays.

    #19010

    @Nicolas…..Thank you for your reply.  I’m finding the language quite slick.  There’s a lot you can do with it.  I realised early on that functions and arrays weren’t there.  What I really had a problem with initially was the use of binary logic variables.  Compared to the Basic I’m used to this was confusing.

    For example:

    c2 = low[1] – high > 0.0002

    followed not by:

    if c2 =0 then

    if c2=1 then

    if c2 > 123.4 then

    BUT

    if c2 then

    I contacted PRT to attempt to buy the hardcopy language manual(s) only to told that there aren’t any.  You have to print and bind your own and, for various notation, you really need them in colour.  That is a lot of pages overall.

    I’m particularly interested in studying the FTSE100 Index so I contacted PRT to take up their offer of real-time data trial only to be told that the FTSE 100 Index cannot be included in the trial.

    So as a result I loaded up MetaTrader 4 and I get continuous FTSE100 real-time.  I want to get some back-testing done before subscribing to PRT and live trading.  I have a few friends who are trading the FTSE and doing well but they don’t code.  They just watch the screen all day and I’ve no intention of doing that which is why I’m here. I’m making some serious progress now and I’ll keep you posted.

     

     

     

     

    #19011

    Oh, and is there any way on this board to see who is online right now?

     

    #19012

    Can I get to this forum via Tapatalk whilst on the move?  If so, I can’t find it.

     

Viewing 15 posts - 31 through 45 (of 56 total)

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