DeepSeek knows PRT language quite well

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #243223 quote
    MaoRai54
    Participant
    Master

    Try it.  It knows PRT with some mistakes to be corrected but it’s much better than chatgpt

    #243229 quote
    Iván González
    Moderator
    Master

    We will try it, thanks!

    #243233 quote
    robertogozzi
    Moderator
    Master

    I asked DeepSeek for the RSI code. After coding it for a different language, I asked for the correct one and this time the code was this one:

    // RSI Indicator in ProRealTime (ProBuilder)
    
    // Input parameters
    Length = 14 // RSI period length
    Overbought = 70 // Overbought level
    Oversold = 30 // Oversold level
    
    // Calculate upward and downward price changes
    Up = Max(Close - Close[1], 0)
    Down = Max(Close[1] - Close, 0)
    
    // Calculate average upward and downward changes
    AvgUp = WILDERAverage[Length](Up)      //AvgUp = Average[Length](Up)
    AvgDown = WILDERAverage[Length](Down)  //AvgDown = Average[Length](Down)
    
    // Calculate RSI
    myRSI = 100 - (100 / (1 + (AvgUp / AvgDown)))   //RSI = .....
    
    // Plot RSI
    RETURN myRSI AS "RSI", Overbought AS "Overbought", Oversold AS "Oversold" //RSI AS "RSI"....

    it was almost correct, I had to change AVERAGE into WILDERAVERAGE, then it used the keyword RSI wich is reserved so I modified it into myRsi and it worked correctly.

    Maybe when I have some more spare time, I will try to ask for something more complex.

    #243237 quote
    MaoRai54
    Participant
    Master

    I teached it some PRT words and it took into its memory.

    So everytime it’s doing a language mistake you can correct it for the future

    robertogozzi thanked this post
    #243241 quote
    Iván González
    Moderator
    Master

    Does it have memory even if you are in another chat? That's very good

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

DeepSeek knows PRT language quite well


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
MaoRai54 @maorai Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Iván González
1 year ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/30/2025
Status: Active
Attachments: No files
Logo Logo
Loading...