Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() | Hi, Keith You've hit upon a snag that I've posted a lot about, over the past several years. It appears that "virtual" Limit & SL stops (ie with Level set within OLang Condition code) are unreliable &/or unpredictable &/or just plain don't work ... matter of opinion, and YMMV. OTOH, afaik, if you set the level purely based on the menu-options on the Orders pane, and just use the OLang to return true/false to trigger the order when/if you want, that is much more reliable ... but of course those Order pane menus are somewhat restrictive re choosing the basis for the level. Re PdsInForce ... Barry has provided explanations repeatedly over the years, but I've not grown any confidence in using it. So, at least for testing, I'd suggest you leave it set for zero (ie no fixed duration). Hope this helps ... please post about what you find that *does* work reliably. |