My strategy generates a stop order everyday based on a historical indicator. I should be able to fill that stop order if the current daily bar has its low < stop order, and its high > stop order. If both these conditions are true, then I simply want to be filled at the stop level and then exit my position at the end of the day at the bar close.
I want to stick with daily data, not intraday, and this should be possible to implement, but so far I am having no luck. I have tried setting 'exit on close' to true but that doesn't help, I have also tried setting an exit condition based on the current bar being <> previous bar, but that also failed.
Any simple solutions to this? Thank you for your help and time!

Comment