Forums ProRealTime English forum General trading discussions Create strategies codes with ChatGPT for ProRealTime Reply To: Create strategies codes with ChatGPT for ProRealTime

#215562

This was my initial ask –
Code me a strategy for DAX in the 5 min timeframe. During the opening 3 hours buy when price crosses over the highest price since 1am and vice versa for sell. Profit target is 5pips and stop loss is the low of the previous bar

I had to correct it a few times by saying for eg –
– there is no when function, recode the dax strategy
– this code does not work

I think we can make the prompt better by giving it most commonly used functions and a few simple examples.

Still testing

this is what it gave me initially –