This is a work in progress. GPT may not be able to translate all PineScript code to Pace and give wrong code. Use this with caution.
Note: GPT-4 has a maximum context size of 8192 tokens. If you exceed this limit, GPT may make mistakes and halucinate.
Use tokenizer counter, if you are not sure.
You can use GPT-4 to directly translate PineScript code to Pace.
-
Go to GPT-4 playground
-
Select mode
Chat
-
Select model
gpt-4
-
Set the temperature to
0
-
Set maximum length to
2028
(max) -
Copy paste system prompt (left panel)
-
Copy paste user prompt (right panel)
-
Click submit button