Forums ProRealTime English forum ProOrder support ORB 15M error with buy limit MultiTimeFrame Reply To: ORB 15M error with buy limit MultiTimeFrame

#81142

Your strategy works fine as you asked it to do!

As from the attached screenshot you can see that at 9:55 it enters a trade because the conditions were true in the setup bar at 9:50. Condition you asked to be met were that the previous candle (at 09:45) had crossed over RES, which it did!

Lines 19-20 can be written

since for a crossover/under to be true CLOSE must be above/under RES or SUPP.

The problem is, I guess, that you are referencing the previous candle ([1]) instead of the current one.

 

1 user thanked author for this post.