Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Multiple Targets
Collapse
X
-
Multiple Targets
I am trying to exit half of my positions at 4T pofit and let the other half of my positions ride up to 8T profit. At the same time I would like to place a Breakeven once 4T is touched on all my positions. Is there a way to code this? I have been able to code the Breakeven portion, but the multiple tick targets is a challange for me. Can you help with this?Tags: None
-
lvaduva, this is possible to do in NinjaScript if you scale in first so you can scale out later with your exits, here's a sample to get you started coding this - http://www.ninjatrader-support2.com/...ead.php?t=3751BertrandNinjaTrader Customer Service
-
That is a great start. Can you help with the syntax, for a EnterLongLimit()
Currently I have:
EnterLongLimit(DefaultQuantity, Bollinger(Median, 1, 21).Upper[0] + 3 * TickSize, "");
From you example you use EnterLong("Long1a") how do I change this to EnterLongLimit syntax that I have above?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Yesterday, 09:15 PM
|
2 responses
13 views
0 likes
|
Last Post
by cre8able
Today, 10:36 PM
|
||
Started by Trader146, Today, 09:17 PM
|
0 responses
6 views
0 likes
|
Last Post
by Trader146
Today, 09:17 PM
|
||
Started by ttrader23, 05-08-2024, 09:04 AM
|
9 responses
43 views
0 likes
|
Last Post
by ttrader23
Today, 08:29 PM
|
||
Started by ZeroKuhl, Yesterday, 04:31 PM
|
8 responses
46 views
0 likes
|
Last Post
by ZeroKuhl
Today, 07:25 PM
|
||
Started by reynoldsn, Today, 07:04 PM
|
0 responses
11 views
0 likes
|
Last Post
by reynoldsn
Today, 07:04 PM
|
Comment