I have a daily bars strategy being backtested, seems to be OK, the only problem is that even being day bar I want to open the day Entering positions and in the end of SAME bar close it,
EnterLong (OPEN Price)
EnterShort(Close position) (Close Price)
Can you give me a piece of code for that?
Best

Comment