Both indicators are attached.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Trouble Calling Indicator Passing Parameter
Collapse
X
-
Trouble Calling Indicator Passing Parameter
I have created an indicator named PMABP that has a parameter, an enumartion, named Bias. I am trying to call the indicator from another indicator named PMATotals but I am getting an error on compilation indicating that PMAPB wants the parameter to be of type IDataSeries. Why is that and how can I call the PMAPB indicator properly?
Both indicators are attached. -
Calling Indicator Using Enumeration
The DoubleMA custom indicator seems to require that the MAV indicator, the called indictor, accept an integer parameter for the moving average type. ChannelThis accepts an enumeration parameter recognizable by the user but MAV doesn't - it accepts an integer. I am trying to have either indicator accept the enumeration so that the user can run either the calling or the called indicator always supplying the same parameter type. Is there a way to do this where both indicators accept a selection from the same enumration and the enumeration is used in the call from one indicator to the other?
Comment
-
New Compilation Error
In PMAPB I am now getting the compilation error "The type or namespace name 'GridCategory' could not be found (are you missing a using directive or an assembly reference?) CS0246."
Current copies of the two indicators are attached.
Thanks!!Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
163 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
313 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 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