Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
If I have a momentum line plotting on Ninja and it is just a single colored line how can I code it to color a particular color for up move and a selected color for down move.
Thanks
Hector
Can you help answer these questions from other members on NexusFi?
// Initialize method of a custom indicator
protected override void Initialize()
{
// Lines are added to the Lines collection in order
Add(new Line(Color.Gray, 30, "Lower")); // Stored in Lines[0]
Add(new Line(Color.Gray, 70, "Upper")); // Stored in Lines[1]
}
// Dynamically change the upper line's color and thickness based on the indicator value
When creating a new thread, note which subforum you are in. Here is a short list of suggestions:
- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading
Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).
This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.
I will be presenting a webinar on introductory principle of Ninjascript and the C# programming language upon which it is based.
Pre-requisites: It is assumed that you have some programming experience, and that you understand basic concepts of programming …
I am not much of a programmer and just starting , but the webinar will show you much of what you need to know once you have the basics down....
As far as the basics first , I think the best way to start out is to go to control panel>Help>Help> Ninjascript>educationalresources>basic programming concepts and just start reading , that is where i started , then start to use the wizard with the aid of help guide and then go into code and start to change things and see, but need to get some idea of basics first then the webinar will fill in the blanks