Cant get optimisation to work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #218458 quote
    nightjimbob
    Participant
    New

    Not sure what I am doing wrong but after defining variables and running optimisation, whether on walk forward or not, all I get is the same result with no apparent optimising going on – I am on IG version 11

    resuts.png resuts.png
    #218466 quote
    PeterSt
    Participant
    Master

    Your P variable is iterating all right, but it doesn’t make a difference to the result.
    This may come across as a truism, but it still just is as simple as that. You may have it too small to influence, or too large. Both can be tested (divide by eg. 1000 and increase by 0.001 or let it be as is and increase by 10 or 100).

    Or show your code and people may be able to help more easily. 🙂

    #218472 quote
    Nicolas
    Keymaster
    Master

    Or your variables are also defined in the code and therefore overriding the optimization. Remove or comment them.

    #218477 quote
    nightjimbob
    Participant
    New

    Thank you Nicolas!

    #218491 quote
    GraHal
    Participant
    Master

    Or maybe use of the variable in a condition is disabled’ (by a switch / 0, 1, 2 etc) and /or an If Then statement somewhere in the code?

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

Cant get optimisation to work


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by GraHal
2 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/01/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...