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.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
John W

Regular
252525
Posts: 96

Joined: 6/18/2011
Location: Sydney, NSW, Australia

User Profile
 
Subject : How to Enter Automatically At (Say) 0950
Posted : 3/26/2014 4:00 PM
Post #22793

I've been using a RT profile plus OmniPilot.
OP starts at 0915, trading commences at 0930 and ceases at 1600.
The Trade Plan then fires orders at 0930.
However, I don't want to enter at 0930, instead I prefer to delay until (say) 0950.
I tried adding an Omniscript to the Trade Plan entry:
AfterSessionOpen(0,20) - OT draws a nice dotted line on the chart, ready set, nothing happens at 0950.
I then added a filter in the strategy using the same Omniscript and tried others such as BarMinute() >= 50. Nothing happens.
I then wrote an Entry Day System and added it as a confirm block. The system tried all manner of BarHour, AfterSessionopen,AfterTime with Signal=LongSignal. For instance:
"If BarMonth() = 3 and BarDayOfMonth()=26 and BarHour()=09 and BarMinute()>=50 Then Signal = LongSignal"

The final piece of info is in the last few minutes before market close I was fiddling with an Omniscript filter and found that BarHour() = 9 coincided with 1545, which seems strange to me. The computer is dedicated to OT and runs exclusively in US Eastern time.
All suggestions welcome....

Deleting message 22793 : How to Enter Automatically At (Say) 0950


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