Help with ChatGPT coding please

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #235571 quote
    GraHal
    Participant
    Master

    I now think what I said above was rubbish!!! 😀

    Of course on your 4 dates there will be a time of 160000.

    If a date does not include a time (i.e. not a full date time group) does PRT assume a time of 000000 or 000001 or whatever … does anybody know?

    #235572 quote
    GraHal
    Participant
    Master

    Yes that is it … if you put your time at 000000 then 2 trades are opened!

    The last trade stays open from Dec 23 to current so it is open all through any dates (in 2024) you include which are later than date the trade opened.

    Right … I can get on with my outside jobs now! 😉

    #235577 quote
    GraHal
    Participant
    Master

    Disregard most of what I said in the my last 2 or 3 posts.

    If you run the last System you posted (including Time = 160000) but run on  10K bars then 15k bars then 25k bars then 50k bars then 100k bars … you will see that 5 trades could be opened (to Aug 23) by your System.

    The trade opened in Dec 2023 stays open throughout 2024 and so the 2 dates you show in your code in 2024 cannot take a trade because you use If Not Longonmarket.

    Delete If Not Longonmarket and make DEFPARAM CumulateOrders = True (not False as currently) and attached is the result … 5 trades opened.

    Screenshot-2024-07-20-190926.png Screenshot-2024-07-20-190926.png
    #235590 quote
    Melchizedek
    Participant
    New

    Thanks a lot. However, its still not working my side…

    Im entering the prorealtime platform via IG. Could that have something to do with it?

    Anyway, I have asked Prorealtime for assistance.

    #235592 quote
    GraHal
    Participant
    Master

    I am also with IG so that is one factor eliminated.

    Did you do what I suggested above?  You can see my results as evidence your code works so you must be something different than I did?

    Have you deleted Not Longonmarket and made cumulativeorders = True

    From my screenshot, I note that I ran your code on DJI, 1 Hour TF and 200k bars … are you doing exactly the same?

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

Help with ChatGPT coding please


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/19/2024
Status: Active
Attachments: 5 files
Logo Logo
Loading...