Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() | Hi, Shawn: There could be a lot of reasons. You might need to provide more detail :~) First and most important ... are you using an RT feed, or EOD feed? If EOD, are you downloading in the middle of the day as well as after the market has closed? If you're using RT, or doing multiple EOD downloads/day, then every new price-tick during your bar's formation represents a NEW, temporary "Close" price ... think of it as the "Last" price, if that helps. Also, along the way, High & Low can gradually change. In that case, if you'd like to change your OmniScript exit condition to match what's really happening, just use H > EMA(5). You may not WANT that logic, but it probably will help you see consistent, understandable results. For the short side, use L < EMA(5). If you are using EOD feed, then as long as you don't do any extra downloading during the day, it's OK to use "C" in the formula. There are other, more complex ways around this, but they call for OmniTrader Pro and some fancy-footwork with custom OmniLanguage. If this explanation does not seem to apply to your situation, then you'll need to attach complete info about your Trade Plan (a snapshot or two usually suffices - or you can attach the C:\Program Files\Nirvana\OT2010\TradePlans OTT file that you are using). I hope this helps. [Edited by Jim Dean on 4/13/2010 8:44 AM] |