Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Changing price bar color based on indicator
Collapse
X
-
Changing price bar color based on indicator
I would like to change the color of price bars based on MACD indicator. Green price bar when the MACD is above zero line and the signal line. Red price bar when MACD is below zero line and signal line. Black price bar when non of the previous conditions are met. Can I do this with NinjaTrader 8?Tags: None
-
Hello cwemanuel,
Thank you for your post.
Not via the UI, but you can certainly program an indicator to change the candle color when the MACD value is within a certain range, yes. If you're interested in going that route, I can certainly provide examples and resources to help you create your own indicator using NinjaScript.
You can also contact one of our professional NinjaScript Consultants or Educators who would be eager to create or modify a script at your request or assist you with your script. Please let me know if you would like a list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
-
Hello cwemanuel,
Thank you for your reply.
We do have resources to help you begin creating NinjaScript Strategies/Indicators. All links below are publicly available.
The best way to begin learning NinjaScript is to use the Strategy Builder. With the Strategy Builder you can setup conditions and variables and then see the generated code in the NinjaScript Editor by clicking the View Code button.
I'm also providing a link to a pre-recorded set of videos 'Strategy Builder 301' and 'NinjaScript Editor 401' for you to view at your own convenience.
Strategy Builder 301
NinjaScript Editor 401
If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our NT7 help guide first:
Basic Programming Concepts
For general C# education I have personally found Dot Net Perls to be a great reference site with easy to understand examples.
We also have great resources in relation to Strategy Development on our Support Forum. There is a very active developer community in our support forum that supplements the responses provided by NinjaTrader support staff providing all users with an exceptional support experience.
Take me to your support forum!
There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under New -> NinjaScript Editor -> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)
We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:
Click here to see our NinjaScript Reference Samples
Click here to see our NinjaScript Tips
These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.
Further, the following link is to our help guide with an alphabetical reference list to all supported methods, properties, and objects that are used in NinjaScript.
Alphabetical Reference
And our Educational Resources in the NinjaTrader 8 help guide.
Educational Resources
A set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide.
Condition Builder
I will also have our vendor support team reach out to you with information on third party NinjaScript Consultants.
Please let me know if I may be of further assistance.
Kate W.NinjaTrader Customer Service
Comment
-
Additionally, you can search our extensive library of NinjaTrader Ecosystem vendors through the link below. Simply enter a vendor's name or search by using our filter categories. Once you have identified your vendor of choice, please visit each vendor's site for more information or contact them directly to learn more:
Search trading indicators, apps and services to personalize your NinjaTrader software. Explore custom trading indicators, automated strategies, free trading apps & more!
You can locate the contact information for the vendors on their direct websites for any additional questions you may have. Since these vendors are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the vendor.
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem, LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Let me know if I may be of further assistance.Tiffinie S.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,279 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 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
|
Comment