I want to write a pinescript strategy that places a simultaneous buy and sell order at the open price of each candle on my selected chart. The buy and sell orders have TP of ATR value/3. And they both have SL of the ATR value.
The results from ChatGPT and Bard are error prone as usual and don’t work in the pinescript editor.
The results from ChatGPT and Bard are error prone as usual and don’t work in the pinescript editor.