OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
20001000
Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: troubles with limit take profit stop
Posted : 5/26/2019 12:45 PM
Post #46209 - In reply to #46207

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.
Deleting message 46209 : RE: troubles with limit take profit stop


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.