Thanks for the reply but I think you mis-understood the question.
I don't want to set a profit target. I want to set an N-bar stop but this must be conditional on the trade profit being less than 5% within 5 days.
So, if the trade hits 5% profit within 5 days then ignore the stop and carry on.
If by day 5 the profit is less than 5% then exit the trade.
Is this possible?
How to stop the deletion of older data? My charts stretch back about 8 months, being deleted day by day. The number of bars in the database setting doesn't seem to make a difference, as it's currently set at over a year.
ok, are you using intraday or end of day data? What format?
It sounds like database size is being restricted by one of the database settings if your data is being truncated each day.
Intraday, but I've set the limits quite high. In the database settings, number of bars is set to 4 years. It was about 2 years earlier today, but still each day is being deleted, so it must be another setting.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?