Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
New
Collapse
X
-
Hello RM,
Thank you for your reply.
The first link I shared in post number 2 of our thread has many great resources and links to a video webinar for the Strategy Builder. As I have suggested, it can be helpful to set up conditions and actions in the Strategy Builder and then click the "View Code" button to get an idea of how the code would be structured. Here is a link to that post again with some other relevant resources:- https://forum.ninjatrader.com/forum/...pts#post786040
- Strategy Builder webinar: https://www.youtube.com/watch?v=VxU4...We0Nf&index=11
- NinjaScript Editor 401: https://www.youtube.com/watch?v=H7aD...ZmVnauWXkWe0Nf
- NinjaScript section of the help guide: https://ninjatrader.com/support/help...injascript.htm
Comment
- https://forum.ninjatrader.com/forum/...pts#post786040
-
Hello RM,Originally posted by RMin101 View PostHi well I did not know that the code was case-sensitive but I think I got that problem fixed now I'm getting this error message where is the signal? I guess I missed something in your code?
I addressed this in a previous reply:
Hi I've programmed in several languages but I'm new here so a little help would be great: How do I code RVI example I've looking for when the value crosses the signal line so something like RVi[14](0) > RVi[14] (0) Signal How do I code getting the current time live if CurrentTime > 945 and Current time < 1200 How do
It still has to do with casing. You have it typed out as 'sIGNAL' rather than 'Signal' - altogether the proper syntax to get the Signal plot value for the current bar, as shown in the example, is as follows:
Code:myRVI.Signal[0]
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|
Comment