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/27/2019 2:31 PM
Post #46216 - In reply to #46214

I must have been remembering my “suggested” key word.

Will you be able to use the order tab menu options as a close-enuf alternative?

Note: it’s a hassle but you can set up multiple variants of the order tab setting, each attached to a Condition - but be SURE that the Condition only is true for one of the variants at a time.

That is, hardcode an OLang Indicator (not stop) to match the alternative settings, controlled by internal logic or by a param, and OUTPUT an integer to Match the Order Pane choice you want to use. Then, use the OmniScript Condition option to call the Indic and test if it’s equal to the integer-label for that Order type.

Problem of this might be that a typical Indic doesn’t know if signal is long or short, nor does it know the entryprice (like a Stop would). But, it does have a Return value. Only way around this is to create a true Stradicator (see TradeTight forum) - but that’s a huge coding task.

Advantage to this is that using the order tab method allows you to make it a Broker stop if you want. And that you can use it with any order type (afaik).

[Edited by Jim Dean on 5/27/2019 2:32 PM]

Deleting message 46216 : RE: troubles with limit take profit stop


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