Parsing Error when Call Value from Indicator

Forums ProRealTime English forum ProBuilder support Parsing Error when Call Value from Indicator

Viewing 6 posts - 1 through 6 (of 6 total)
  • #222060

    I have been researching this topic and also tried creating the indicator with parameters but I still get this error when calling the value from the indicator into my code. Now I know the code of the indicator could have been done in the Builder itself but this is just the beginning and I wanted to keep it simple so we can get to the bottom of the problem.

    Error: Backtest cant start because of a parsing error in the code : line 1, column 0.

    Here is the Pro Builder code.

    Here is the indicator code

    Thank you

    #222065
    JS

    Hi,

    Adjust the following in your indicator:

    Remove: Timeframe(Daily)

    Verander “If Dayofmonth>End OR Dayofmonth<Start then

    1 user thanked author for this post.
    #222072

    How dumb of me, thank you.

    1 user thanked author for this post.
    avatar JS
    #222224

    Just a follow up question why do the Timeframe(Daily) code line also cause an error?

    #222226

    Just a follow up question why do the Timeframe(Daily) code line also cause an error?

    So from further testing it looks like the Timeframe command is only to be used in ProBuilder not in ProBackTest or the Indicator module. Please confirm.

    #222236

    the Timeframe instruction can be used in any editor (backtest, indicator or screener).

    I think you have a problem somewhere else in your code or maybe there is a typo?

Viewing 6 posts - 1 through 6 (of 6 total)

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