r/OpenaiCodex • u/Acrobatic-Hour3007 • Jul 01 '26
Question / Help How do I prompt Codex properly?
I’m trying to build a pine script for trading NQ1!. I’m not trying to automate it because prop firms don’t allow bot trading. I have good experience and have been trading for some time now, but I want an indicator that gives me a little help seeing things I miss while trading. Can anyone teach me how to properly prompt codex?
4
Upvotes
2
u/ReynassaDrevyn Jul 01 '26
1
u/Cute_Parfait_2182 Jul 01 '26
I have chat gpt create prompts for codex and then just paste it into the cli .
1
u/AldoVenturacci Jul 01 '26
I’m building an app that follows a proprietary system/method for selling life insurance.
My first attempt failed miserably as I tried to “teach” Codex about the process along the way.
I scratched that project, started a new one, and spent an ungodly amount of time training codex on the system before it even created the app shell.
I uploaded docs, asked codex to create a team of subagents and interview me, and then implemented coding good practices (all new to me).
Everything was documented in a series of project MDs.
I also created a mirror folder for the MDs on Google Drive which are synced to a chatGPT project I still use heavily to brainstorm implementations before I ask Codex to do anything.
After a few days of tedious work, i felt Codex was ready to build.
It’s been a breeze since! Still lots of work but now Codex understands what we’re building.
PS: I can’t write a single line of code myself, and yet I’ve been able to build some pretty cool stuff, including data encryption
1
u/ZenTechBreakdown Jul 03 '26
I start in ChatGPT with an initial prompt that I was able to make to start any thread requiring an initial project plan/build prompt. So essentially I send this prompt builder instruction prompt which auto-replies with “Proceed” because of the instruction I built in, then I give it my idea, goal, specifics if needed and then it gives me a fully robust codex prompt. Send in codex project then it builds the entire project scaffold, .md file, etc.
If you want to add self audit, review and validation passes, you can include that desire in your first prompt build template (I like to do this sometimes depending on the project). Granted, this all may be overkill, this is just what I’ve come to learn the past year to really beef up my response quality. I’m also open to ideas if this all sounds convoluted to somebody who actually knows what they’re doing
1
u/JayGridley Jul 03 '26
Beneficial to give it examples too. Screenshots of charts, other pine scripts, etc. I’ve used pine scripts to have it create thinkScripts for me to use in Think or Swim.
1
u/dkeee Jul 02 '26
For my projects, I also have ChatGPT generate the prompts and then copy them into Codex. After every change, I make a Git commit if everything looks good.
However, I have a question for those of you who do the same. How do you keep the project status in sync between Codex and ChatGPT? Codex creates docs, and I usually copy them into the ChatGPT chat. That’s a bit cumbersome, and I think there must be a more elegant solution.
1
u/[deleted] Jul 03 '26
[removed] — view removed comment