Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
I want to sell when value cross below -45
Collapse
X
-
I want to sell when value cross below -45
Got it thats great news. Thank you! I can start a new thread for another Q so please let me know but I had another problem. One of my indicators - I want to sell when value cross below -45. Its not working. Does it not take negative values? Currently pic is "less" than but i tried "cross below" too.Tags: None
-
Hello rocketstock,
I've moved this post to a new thread as this is not related to the previous thread.
Negative values are fine to use.
I recommend you add a print to an empty condition set and print the value of the indicator along with the time of the bar and enable TraceOrders.
Below is a link to a forum post that demonstrates using prints to understand behavior and includes a video created with the Strategy Builder.
On which bars is the indicator value less than -45? Please save the output to a text file and include this with your next post.Chelsea B.NinjaTrader Customer Service
-
-
Comment
-
Hello rocketstock,
The output does not show what is being compared.
I encourage you to use labels so we can see what is being compared.
For example:
1/2/2022 07:00:00 | JurbolMultiMACo: -46 < -45
Be sure this is being printed in a blank condition set with no conditions so this prints for every bar.
Within the condition set with the condition, you can also add a print with the time such as 'Condition was true' to mark the bars where the condition is true.
Further, does this indicator have multiple plots? If so, be sure to note which plot is being printed and compared in the condition set.
Last, is this the only condition in the condition set or are there other conditions in the set?Chelsea B.NinjaTrader Customer Service
Comment
-
Got it.
1. Labels is good idea.
2. Yes blank conditions set.
3. Adding true is a wonderful idea.
4. Does not have multiple plots.
For now the problem is fixed as it was working I just didnt notice. You have no idea how much this helped me. Because I had so many trades happening on a 3 min chart I couldnt notice that I had not contracts open when it went below -45. Thank you so much. For the first time I crossed profit factor of 2.3 on 3 min chart on one month market replay. Was always below 2.Last edited by rocketstock; 01-02-2022, 07:33 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
44 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment