I would want to know how can I do to buy at close.
In reality I will buy at 1 minute before close or during after hours, but I don't have intraday data and I would want to test my strategy when it buy at close and not at open of next bar.
I can use EnterLongLimit but it's not good, I test it and it's not good.
I can stock the close in a variable and print or write in a file, but I would prefer an other way, of course if this other way exists.
Thank's a lot.
Comment