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 sjsj2732, 03-23-2026, 04:31 AM
|
0 responses
42 views
0 likes
|
Last Post
by sjsj2732
03-23-2026, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
295 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
290 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
135 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
98 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment