i am in the process of automating a forex strategy and would like to check i am using the correct order methods. i need to be able enter above market price for longs and below for shorts, to stack positions if trend continues, move stop loss as each new position is added, and then reverse from long to short or from short to long.Would enter long stop,enter short stop and set trail stop be sufficient.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Order methods
Collapse
X
-
Order methods
Hi
i am in the process of automating a forex strategy and would like to check i am using the correct order methods. i need to be able enter above market price for longs and below for shorts, to stack positions if trend continues, move stop loss as each new position is added, and then reverse from long to short or from short to long.Would enter long stop,enter short stop and set trail stop be sufficient.Tags: None
-
Hello ohjob,
Yes, stop orders are right for that order placement. For stacking positions, look into how EntriesPerDirection and EntryHandling properties work.
SetTrailStop() will trail the last traded price by the specified amount. For more control on stop loss movement, you can look into this sample:
Ryan M.NinjaTrader Customer Service
-
Possible?
Hi thanks for your quick answer last time,following on from that question is it possible rather than using stop orders for entry and exits to store the desired entry price and enter at market when this is reached.If possible what advantages/disadvantages could there be.
Thanks
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by suroot, 04-10-2017, 02:18 AM
|
4 responses
3,019 views
0 likes
|
Last Post
by truepenny
Today, 08:01 AM
|
||
Started by Stanfillirenfro, Today, 07:23 AM
|
1 response
4 views
0 likes
|
Last Post Today, 07:37 AM | ||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
2 responses
22 views
0 likes
|
Last Post Today, 07:24 AM | ||
Started by olisav57, Yesterday, 07:39 PM
|
1 response
9 views
0 likes
|
Last Post Today, 07:23 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
7 responses
944 views
0 likes
|
Last Post
by Jquiroz1975
Today, 07:21 AM
|
Comment