RightEdge Forums
Main
Home
Search
Members
Calendar
Who's On
Welcome Guest
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
»
General
»
Community Support
»
Execute Trade at the Open
Execute Trade at the Open
Rate Topic
Display Mode
Topic Options
Message
Posted 2/26/2010 14:03:12
Post #10973
blousetrader
blousetrader
Is it possible to execute a trade at the open in RE Edition 1. What I'm trying to do is issue a trailing stop if the system
has an open position at market open and it has gapped in a favourable direction.
positionmanager.SetTrailingStop(pos.ID,2,targetPriceType.Price)
I'm running on 5m bars and it seems to implement the trailing stop on the closing price of the 1st 5m bar. It'd be ok live
as I could check the previous bar but I don't have that bar data for backtesting purposes. Any other options?
Also - I'd love to get started using multiple frequencies in RE 2 but don't know how to start - can you point me at any
examples and/or documentation.
Cheers
Posted 3/1/2010 09:26:36
Post #10988
billb
billb
You'd probably want to use 2010 to get this right. In 2010, you can get notified on each OHLC (they're registered as independent 'ticks'), so you wouldn't even have to do multiple frequency.
But if you want to do multiple frequencies, there is a sample in the "What's New" section of the help that should get you started.
blousetrader (2/26/2010)
Is it possible to execute a trade at the open in RE Edition 1. What I'm trying to do is issue a trailing stop if the system
has an open position at market open and it has gapped in a favourable direction.
positionmanager.SetTrailingStop(pos.ID,2,targetPriceType.Price)
I'm running on 5m bars and it seems to implement the trailing stop on the closing price of the 1st 5m bar. It'd be ok live
as I could check the previous bar but I don't have that bar data for backtesting purposes. Any other options?
Also - I'd love to get started using multiple frequencies in RE 2 but don't know how to start - can you point me at any
examples and/or documentation.
Cheers
Posted 7/11/2010 10:52:12
Post #11931
rterbush
rterbush
I'm finding that TargetPriceType.AbsolutePrice and TargetPriceType.RelativeTicks are not working. The order is rejected with message: "not supported for trailing stop orders"
Attempting to use PositionManager.SetTrailingStop to set a Trailing Stop on an existing position.
What am I doing wrong?
Posted 7/12/2010 13:47:34
Post #11943
billb
billb
Nothing, these types currently are not supported by the paper broker. However, they may be implemented by real brokers.
« Prev Topic
|
Next Topic »
Reading This Topic
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators:
billb
,
young
,
dplaisted
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
may
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
may
post and upload images.
Forum Jump...
----------------
Forum Home
Search
Members List
Calendar
Who's Online
----------------
RightEdge Announcements
|-- RightEdge Announcements
General
|-- General Discussion
|-- Community Support
|-- Suggestion Box
|-- Plugin Development
Trading
|-- Trading Systems
|---- Uploaded Trading Systems
|-- Technical Indicators
|-- Order Execution
|-- Trading Vehicles
Programming and Software Development
|-- Programming Questions
All times are GMT -5:00, Time now is 5:40pm
2005-2007 © RightEdge Systems