Welcome to the Stockalyze Community 👋
A friendly place for Stockalyze users to share ideas, discuss the platform, learn, and grow together.

close the trade at the same day of entry

Started by luis santos, September 13, 2026, 11:03:08 AM

Previous topic - Next topic

luis santos

Dear all,
I have a strategy that buys at -2% of last days' close and close the trade (independently of the price) at the end of the day (at the auction). Which means that even though I don't know the close price, I place my order at the auction and check the results afterwards.
I could not find that option in the backtest screener. Can you help me please? Thank you in advance

Sacha

Hi luis,
Thanks for your query. As I understand, you want a system that works with the intraday data, buys at 2% discount from the last day's close and force exits the position the same day at closing price. If this is precisely what you want then, as of now, this system is not exactly supported by Stockalyze. However, you can easily build another system that can behave similar to what you want. You can build a system that can generate buy signal when the price goes below -2% of yesterday's close and then force close the position the next day. As of now, Stockalyze allows force closing of a position which is minimum 1 bar old.
Please let me know if this works for you or how can we improve to make it work for you.
Stockalyze Support
Let's be friends