Thanks!
Announcement
Collapse
No announcement yet.
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,
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
164 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
318 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
246 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment