OmniTrader Professional Forum OmniTrader Professional 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.


  Current location        Thread information  
OmniTrader Professional Forum
Trade Plans In Strategies
Delayed Entries
Last Activity 1/17/2022 3:59 AM
4 replies, 5909 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Vinay

Regular
2525
Posts: 70

Joined: 1/18/2012
Location: Planet Earth

User Profile
 
Subject : Delayed Entries
Posted : 9/26/2014 11:54 AM
Post #23101

My strategy fires MOC Entries which I want to take at the close of the next trading day. So if I get a entry signal (MOC) today I want to take the trade just before the close of next day.

I know that it is possible to enter the trade the next day on MOO basis but instead of MOO I want MOC entries the following day. Basically I want to delay the entries by 1 day. Is it possible to achieve this in a strategy. If yes then how?

Thanks in advance.

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Delayed Entries
Posted : 9/26/2014 12:04 PM
Post #23102 - In reply to #23101

Four possible methods, with most reliable/sure listed first:

Best is to modify the System so that the signal fires one day later - can do for OLang systems but can't do for canned systems. My normal approach to stuff like this.

Another possibility that you can try is set up the Trade Plan with a Condition attached to the MOC Entry order ... that is, when the Signal fires, the first Step is initiated ... if the Condition is Nbar=1, then in theory that should delay the execution of that step for one extra day. HOWEVER, I've found many problems in the past when trying to apply Conditions to Entry orders, so be sure to check this one out carefully. Hopefully it will work.

Another possibility is to attempt to write the Condition as a Stop in OLang ... again, my prior testing using OLang conditions for entries has had a poor success rate ... OT needs some tuning up in this area. Hopefully the canned N-bar approach above will work for you.

FINALLY ... maybe there is some way using the Confirm block with the very same System enabled, but fiddling with the Before or After inputs, to delay the trade that one day. But there is apparently sometimes a problem with the "After" inputs, so again, check carefullyl.
^ Top
Vinay

Regular
2525
Posts: 70

Joined: 1/18/2012
Location: Planet Earth

User Profile
 
Subject : RE: Delayed Entries
Posted : 9/26/2014 12:35 PM
Post #23103 - In reply to #23101

Thanks Jim for your detailed response. Appreciate it.

1. I am using Nirvana systems, so the modification is out of question.

2. As suggested by you I tried Nbar+1 entries in the Trade Plan, but unfortunately as you mentioned they work erratically. Sometimes they enter next day, sometimes after delay of 3-4 days.

3. I have not tried writing the Condition as a Stop in OLang, because that is beyond my competence.

4. Your suggestion regarding using Confirm Block with the very same System enabled is interesting, but how you do that? If we use the same System then it will fire on the same bar and it will pass on the entry signal on the same bar. How we can cause it to delay the entry signal by one bar?

Thanks once again.


[Edited by Vinay on 9/26/2014 12:37 PM]

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Delayed Entries
Posted : 9/26/2014 12:52 PM
Post #23104 - In reply to #23103

Hi Vinay -

Re #4 - I really don't know. I thot if it as I was typing. It would take some experimentation time to see if it could be done. I put it last in the list on purpose.

Please submit the example you tried re Nbar condition for entry. I have been trying to convince N that this kind of erratic behavior with conditional entries is important to fix. If you can post a full example that they can duplicate, with snaps, that would help I think.

If you need some OLang programming done for the OLang stop, you can email me. But since it also is an entry condition I can't guarantee it will work as it should.
^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Delayed Entries
Posted : 9/27/2014 6:08 AM
Post #23106 - In reply to #23104

I've provided a long discussion and some possible solutions, ... here ...
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


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