Every Fractal indicator minor bug fix

Forums ProRealTime English forum ProBuilder support Every Fractal indicator minor bug fix

Viewing 15 posts - 1 through 15 (of 28 total)
  • #124162

    I have a minor bug fix for the indicator that can be found in the library here:

    https://www.prorealcode.com/prorealtime-indicators/every-fractal-trend-lines/

    The ITF file attached here corrects an issue whereby the indicator crashes if you enter a value for ‘Qty’ that is greater than the number of fractals detected.

    Here is the updated code:

     

     

    #124171

    Thanks for your feedback.
    Still have an error (see enclosed capture) and yes I downloaded the file(s).

    #124188

    What is your exact version number? Mine is version 11.1 1.8_0.202. If we are on the same then we can eliminate that as a reason.

    #124197

    H

    If I click on the About item in PRT: V11.1 – 1.8.0_45 12 March 2020

    #124206

    You should not have this error.. Do you get it on every instrument and timeframe please?

    #124222

    Hi Nicolas
    Nope only on indicators I downloaded recently from PRCode on a daily timeframe.
    Here’s the code that does not work (line 23): $supportbar[a] = barindex[barsafter] which is why I thought it’s an array issue.
    All other indicators’re working fine (I run them under Windows BTW).
    Thanks

    #124226

    At that point in the code even on the first run through a = 1 and barsafter can never be less than 1 so their should never be any error.

    It is quite difficult to bug fix this when I cannot reproduce the error.

    I’ll add something to the code so that it does not start looking for fractals until there are definitely enough bars to have one and post the code here for you to try.

    I know it sounds stupid but have you tried TIOATIBOA. (Turning it off and turning it back on a gain!) I have found that sometimes in the past shutting down the platform and reopening it and some odd errors suddenly disappear.

    #124230

    Here is the modified code whereby it only looks for fractals if there are enough bars on the chart to have one. I don’t think it will fix your issue though. Let us know.

     

    #124242

    Hi Vonassi
    I relaunched the platform, deleted the old version and imported your new file but I have a similar error (see enclosed screen capture who asked me to edit the code).
    Anyway, thanks for your help.

    #124362

    Are you with IB? If so there has been an update today for their version of PRTv11 so this might fix your issue.

    #124574

    Hi Vonassi
    Yes I’m with Interactive Broker, will give it a try today 😉

    #124575

    no more error: it works…ευχαριστώ

    #124591

    I’m glad to hear that it was a platform version issue and not an issue with my code. It’s so much easier when someone else fixes the problem 🙂

    I’m actually from the UK by the way but my location is Greece.My Greek is just about up to understanding ‘ευχαριστώ’ so I won’t tell you off for posting in the wrong language!

    #124598

    Anyway, thanks for your hard work and help !

    #124605

    I’m actually from the UK

    Until you explained (a while back) where Vonasi comes from, I had thought you must be of German origin! 🙂

    But having thought above, I couldn’t understand how you had a UK sense of humour and had even watched ‘Minder’ ! 🙂

Viewing 15 posts - 1 through 15 (of 28 total)

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