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
Adding Price type
Collapse
X
-
Adding Price type
I came up with a price prediction algorithm and would like to add that to the price types you can select from the drop down in every indicator (close, high, low, median, typical, and so on). That way I won't have to re-program all the indicators I want to use this with. How can I do that?
Thanks!Tags: None
-
how complicated is it?
hi, could any of you provide us with some basic direcitions on how to add the price type to an indicator??
assuming we have the indicator open with the ninja editor, what is the code we enter and where?
Comment
-
a little more detail..
thank you, Josh,
much appreciated. i was also given these directions, a little more detail over at BigMikes.
I quote,
"Try this. Open the Stochastics indicator for editing. Right click and Save As a different name. Add this in the Initialize section:
PriceTypeSupported = true;
Then look for this line:
nom.Set(Close[0] - MIN(Low, PeriodK)[0]);
and change the Close[0] to Input[0] so it looks like this:
nom.Set(Input[0] - MIN(Low, PeriodK)[0]);
Then right click, select compile, click OK and close the editor. Load the indicator on your chart and test it. Dan"
the link,
hi, most of my programming experience was back in engineering school doing fortran. so i have heard programming got alot easier since those days.:sarcastic: so is it possibel to explain step by step in detail to a newbie like me how to put the price type parameter in an indicator like the stochastics that comes with ninja or the stochastics_with smoothing which is available for download on the ninja_support site? is it as simple as going to the editor in the ninja control center and opening the indicator …
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Rapine Heihei, Today, 08:19 PM
|
1 response
5 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
5 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
4 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
97 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment