Disliked{quote} Every day on A hour, how your machine know to not entrer in a trade ? In my understanding, to enter long, you use long>0 and short<0 but did you use minimun return value to enter ? If the idea is to predict the outcome of a trailing stop, why you dont set the minimun value as the trailing stop itself (20day ATR) ? You could get [1pip,-1pip], this case you will enter for long and you could never hit the trailing stop or close in reverse If the data is not continues and you consdider every A hour for trading, then you introduce difference...Ignored