keepthefaith613
New member
Long time lurker, first time poster. Tried searching and googling my answer but couldn't seem to. Perhaps I'm thinking about this wrong and you can teach me how to code it properly.
I'd like to backtest a strategy that buys at a candle's open, sells when it hits a profit target or the candle closes (whichever comes first).
The impetus for this was to backtest buying /ES at open (i.e., 6 PM EST), closing if it hits a particular target, or if the day ends.
Thanks!
I'd like to backtest a strategy that buys at a candle's open, sells when it hits a profit target or the candle closes (whichever comes first).
The impetus for this was to backtest buying /ES at open (i.e., 6 PM EST), closing if it hits a particular target, or if the day ends.
Thanks!