Complete list of builtin functions etc?
Forums › ProRealTime English forum › ProBuilder support › Complete list of builtin functions etc?
- This topic has 15 replies, 4 voices, and was last updated 4 months ago by paisantrader.
-
-
07/06/2024 at 1:27 PM #234839
Is there a complete list of builtin functions, indicators, constants, operators, keywords etc?
I have seen https://www.prorealcode.com/prorealtime-documentation/ but it’s not complete if you compare to inside PRT.
07/06/2024 at 2:23 PM #234842On PRC, if you go to [Help], choose [ProRealTime help center], then at the top, the [Manual] pull down menu, there are a number of manuals.
The last three are pdf’s, and have a related glossary of keywords at the end of each.
I think these were updated in line with changes around the introduction of V12.
That be a good start point.
07/06/2024 at 2:36 PM #234843This may be of interest as well since some of the V12 features were introduced in the middle of V11.
Mainly, Arrays and Anchor’ed drawing.
https://www.prorealcode.com/topic/prtv11-new-programming-commands/
07/08/2024 at 9:45 AM #234923Excellent, thank you very much. ChatGPT extracted them nicely for me 🙂
07/08/2024 at 10:35 AM #23493007/08/2024 at 11:17 AM #234934I thought it was complete. But so far I’ve found two that are in PRT, but not in the PDF
AT: (BUY 1 CONTRACT AT MARKET)
TomorrowOpen
07/08/2024 at 2:21 PM #23494907/08/2024 at 2:39 PM #23495307/08/2024 at 4:01 PM #234958TomorrowOpen is an obsolete keyword, as since many years that’s always the case because trades are always opened at the opening of the next bar (as strategies are executed at the closing of each bar). It’s still in the list, like a few more keywords, for backward compatibility with old code using it. It’s simply meaningless now.
BUY 1 CONTRACT AT MARKET is correct and has always been used as such.
1 user thanked author for this post.
07/09/2024 at 8:14 AM #234977I found a few more. One was in the text, but not in the gloassary, so I’m going through PRT’s list instead so I don’t miss anything
IsLastBarUpdate
OpenDate (in text but not in glossary)
OpenWeek (in glossary but not in PRT)
It’s for a language plugin for Visual Studio Code. Versioning and automatic backups you know 🙂
07/10/2024 at 4:21 PM #235023I came across ‘ CONTINUE’ last night by accident. Not seen any reference to it at all.
Took me a bit of time to work out were it worked and why.
Using ‘BREAK’, can be used to terminate a loop.
‘CONTINUE’, used in a similar way, can be used to terminate the current iteration of a loop.
Therefore, any unexecuted code, in the current loop iteration, after the execution of ‘CONTINUE’, is ignored. Execution restarts at the start of the next iteration, if there is one.
In example, the ‘DRAWTEXT(…)’ statement falls after ‘CONTINUE’. If ‘CONTIUE’ executed, the text for i=5 is not printed. Loop ‘BREAK’s at i=8.
1234567891011121314151617181920defparam drawonlastbaronly = trueif islastbarupdate thenfor i = 0 to 10if i = 5 thencontinueendifif i = 9 thenbreakendifdrawtext(i,0,-30-i*15)anchor(top,xshift,yshift)nextendifreturn07/10/2024 at 4:35 PM #23502407/10/2024 at 4:51 PM #235025Found a reference to ‘CONTINUE’ in the the editor function list (fx) under keywords.
Noticed this keyword is not highlighted ‘blue’ in above posted code in PRC code feature, but does in PRT editor.
Don’t think I’ve ever noticed used, out of sight, out of mind.
07/11/2024 at 11:28 AM #235064I used the function lists in the editor and together with the PDF’s I think I got it quite complete. BUT, the coloring is off compared to PRT. Functions listed under for example Trading System Commands has multiple colors in PRT, so the coloring convention is not based on that.
I think PRC’s coloring is better, hello @Nicolas 🤓
07/11/2024 at 11:35 AM #235065 -
AuthorPosts
Find exclusive trading pro-tools on