Help with syntaxc errors in programming

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #248082 quote
    shak
    Participant
    New

    I would appreciate if someone can help me resolve this issue in the attached screen.

    I find it frustrating if something works at the backtesting of the IG and then when you go to apply it it does not work.

    Thank you !!!!

    Screenshot-2025-06-09-115836.png Screenshot-2025-06-09-115836.png
    #248084 quote
    GraHal
    Participant
    Master

    With only the error message to check out, it becomes guesswork on our part, but try adding ENDIF as the last line in your code.

    shak thanked this post
    #248088 quote
    Iván González
    Moderator
    Master

    From the little I can read of your code (behind the error box), I see that on line 10 you’re defining 3 variables on the same line…
    You’re using a language not recognized by PRT.
    If you want to define the macd line, the signal, and the histogram, you’ll have to do it in 3 separate lines using the code that PRT provides by default. You can view the glossary by clicking on Fx help.

    shak and GraHal thanked this post
    2025-06-09_11-48.png 2025-06-09_11-48.png
    #248093 quote
    shak
    Participant
    New

    Thank you so much !!! I tried to do the changes and i get another error. I would appreciate if you can also take a look at it.

    Thanks

    #248098 quote
    shak
    Participant
    New

    Excuse me for my ignorance …its because i am new into this (not trading, not daytrading BUT programming). Is there a place in this forum where i can send the code i wrote and they can correct it? Is it free or there is charge? Thanks!

    #248100 quote
    robertogozzi
    Moderator
    Master

    @shak

    Please read the basic rules highlited in yellow below. Thanks 🙂

    As you can read in the yellow box below:

    • the correct forum for posts about automated strategies is PROORDER
    • a title should be meaningful.

    I changed both.

    #248101 quote
    robertogozzi
    Moderator
    Master

    Excuse me for my ignorance …its because i am new into this (not trading, not daytrading BUT programming). Is there a place in this forum where i can send the code i wrote and they can correct it? Is it free or there is charge? Thanks!

    Paid services are available at https://www.prorealcode.com/trading-programming-services/.

    Iván González thanked this post
    #248105 quote
    GraHal
    Participant
    Master

    i get another error. I would appreciate if you can also take a look at it.

    Apart from the code (which I didn’t spot anyway) behind your first error message posted you have not provided any further code for anybody to help you with your second error.

    If you post your code on here then somebody will help.

    If you dont want your code made public on this website then the paid for services are available in Roberto link in the previous post.

    robertogozzi and Iván González thanked this post
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Help with syntaxc errors in programming


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
shak @shak Participant
Summary

This topic contains 7 replies,
has 4 voices, and was last updated by GraHal
8 months, 1 week ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/09/2025
Status: Active
Attachments: 2 files
Logo Logo
Loading...