Help with errors Long/Short signals

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #127361 quote
    mechanicaltrade
    Participant
    New

    Hi everyone,

    I am trying to setup my long and short signals in probuilder and I found someone had already done this. It looks to me like I have copied the text completely correct however the builder tells me differently.  Can anyone see why its erroring?

    Appreciate any clues or responses thanks guys

    probuilder-errors.png probuilder-errors.png
    #127363 quote
    robertogozzi
    Moderator
    Master

    At line 7 it should read ELSIF (not ElseIf).

    At line 9 there’s a missing closing parenthesis “)” just before COLOURED.

    #127366 quote
    mechanicaltrade
    Participant
    New

    Dam I stared at that for ages. I knew some codey person would pick it up easy. SO many thankyous 🙂

    robertogozzi thanked this post
    #127369 quote
    mechanicaltrade
    Participant
    New

    Hi Roberto,

    It is no longer showing errors however I am getting a blank indicator panel.  Do you see any issues with the strategy of the code?

     

    cheers

    Lee

    #127375 quote
    robertogozzi
    Moderator
    Master

    The code is fine, I think it’s the settings that are too strict, you can try with different numbers, say 2 to 21 for the lookback period or any number between 2 and 90 for the average.

    It hast to work.

    #127383 quote
    Vonasi
    Moderator
    Master

    mechanicaltrade – Welcome to the forums.

    Can you please use the insert PRT code button when putting code in your posts rather than attaching a screen shot. Others can then easily copy and paste your code and test it for you. Expecting them to type it all in from a screenshot is asking rather a lot! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Help with errors Long/Short signals


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by Vonasi
5 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/22/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...