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
close position x points above the average price
Collapse
X
-
Originally posted by NinjaTrader_PaulH View Post
-
Hello herkok,
Thanks for your posts.
Your condition appears correct and we always suggest testing for yourself to validate.
Correct, there is no generic close position. Please note that the ExitLong()/ExitShort() method is ignored if a long/short position does not exist
Leave a comment:
-
Another question. I have seen that to close a trade there is no option to "close position", regardless of whether it is short or long. I only see the option of "exit long" or "exit short". Is there a "Close position" option?
Thank you.
Leave a comment:
-
close position x points above the average price
Hello, I want to put a condition so that when the size of my position is greater than or equal to 4 contracts, the trade closes when the bid price is equal to or greater than 4 points above the average position price.
The instrument in which I apply the strategy has two decimals (example 13500.00). Each point would correspond to 100 ticks
Would this condition be correct?Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
15 responses
3,276 views
0 likes
|
Last Post Today, 03:15 PM | ||
Started by Tim-c, Today, 02:10 PM
|
1 response
8 views
0 likes
|
Last Post Today, 02:52 PM | ||
Started by Taddypole, Today, 02:47 PM
|
0 responses
5 views
0 likes
|
Last Post
by Taddypole
Today, 02:47 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
4 responses
51 views
0 likes
|
Last Post
by chbruno
Today, 02:38 PM
|
Leave a comment: