Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Take Profit
Collapse
X
-
Take Profit
Good afternoon, I am writing a strategy that opens a buy position and if the price drops by 10 pips, I buy another deal. I want to open a separate take profit for each new entry into the market, but I have all the take profits going into one. How can you put up a lot of take profits at different prices?Tags: None
-
Hello Bogdan097,
Thank you for your post.
If you're using unique signal names for your entries, you can set more than one profit target - you can set a different one for each entry if you like. When you add a Profit Target in the builder, the first option for it is "From Entry Signal". Just put the entry name you want it associated with there and you can set it's own value and have it only associated with that specific entry.
SetProfitTarget(string fromEntrySignal, CalculationMode mode, double value)
Please let us know if you have any further questions.
-
Good afternoon, thanks, it helped. But there is another problem that all take profits change their volume to the volume of the current position. Is it possible to make sure that the volume of each take profit remains 1? Or maybe I can set a short limit if the next step is opened?
Last edited by Bogdan097; 05-08-2024, 10:50 AM.
Comment
-
Hello Bogdan097,
Thank you for your response.
When you say the "volume of the open position", do you mean the quantity? When you tie the profit target to a specific entry, this ties the profit target exit to the entry and exits the position quantity represented by the actual entry. So if your entry has a quantity of 10, so will your profit target.
If you would only like the profit target to have a quantity of 1, you need to tie it to an entry that has a quantity of 1.
You could instead use a short limit order which will allow you to specify the quantity.
Please let us know if you have any further questions.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment