Makes sense. Thanks!
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
Not Wanting to Mess Up Original Script
Collapse
X
-
Originally posted by NinjaTrader_JC View PostHello SharonSS,
Compiling a script will save it if there are no error(s). Using the Save As command you can create a Indicator with a different name but the same source code which may be the best way to go if you do not want to modify the original code.
For an example on how to change the bar color you may view our Help Guide at the link below.
We do have a reference sample that you may download and view the code as well that Draws Objects based on a condition at the following link.
Let us know if we can be of further assistance.
I did read that info on the Help Guide which didn't really help me, but I'll try playing with it this weekend.
Thanks again.
Leave a comment:
-
Originally posted by SharonSS View PostI'd like to experiment with a script this weekend using the Intellisense, but don't want to mess up the original script. I ask because once one does Compile, it makes the changes on a chart.
So before doing Compile, should one do a Save As and then Compile?
I can't find any examples for changing a bar color based on an indicator or even how to add an arrow based on rising/falling indicator shown over/under a bar. I'm hoping Intellisense will accomplish that. ???
Just experimenting over the weekend.
Open the working code file in editor. Before making any changes, right click and select save as save under new name.
Edit the new file. The original file remains intact and safe.
RJay
Leave a comment:
-
Hello SharonSS,
Compiling a script will save it if there are no error(s). Using the Save As command you can create a Indicator with a different name but the same source code which may be the best way to go if you do not want to modify the original code.
For an example on how to change the bar color you may view our Help Guide at the link below.
http://www.ninjatrader.com/support/h...l?barcolor.htm
We do have a reference sample that you may download and view the code as well that Draws Objects based on a condition at the following link.
http://www.ninjatrader.com/support/f...ead.php?t=3419
Let us know if we can be of further assistance.
Leave a comment:
-
Not Wanting to Mess Up Original Script
I'd like to experiment with a script this weekend using the Intellisense, but don't want to mess up the original script. I ask because once one does Compile, it makes the changes on a chart.
So before doing Compile, should one do a Save As and then Compile?
I can't find any examples for changing a bar color based on an indicator or even how to add an arrow based on rising/falling indicator shown over/under a bar. I'm hoping Intellisense will accomplish that. ???
Just experimenting over the weekend.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:45 PM
|
0 responses
1 view
0 likes
|
Last Post
by WHICKED
Today, 12:45 PM
|
||
Started by FrazMann, Today, 11:21 AM
|
2 responses
6 views
0 likes
|
Last Post Today, 12:38 PM | ||
Started by rjbtrade1, 11-30-2023, 04:38 PM
|
2 responses
80 views
0 likes
|
Last Post
by DavidHP
Today, 08:12 AM
|
||
Started by Spiderbird, Today, 12:15 PM
|
1 response
7 views
0 likes
|
Last Post Today, 12:34 PM | ||
Started by lorem, Yesterday, 09:18 AM
|
5 responses
18 views
0 likes
|
Last Post Today, 12:29 PM |
Leave a comment: