NexusFi: Find Your Edge


Home Menu

 





Calling xcStoch from another indicator


Discussion in NinjaTrader

Updated
    1. trending_up 1,344 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

Calling xcStoch from another indicator

  #1 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272

Hi,

I've been playing around with the xcStoch indicator from the download section. It's an excellent piece of code; I've learned a lot from it. I'm trying to call xcStoch from inside another indicator but having a really hard time with the input parameters. I'm sure this is something basic but I'm new to C# and I'm stuck on this.

The inputs to the indicator itself are:

Alt Chart Type: Minute, Tick, Range and RangeNoGap (and I've added Volume and UniRenko, another amazing piece of code)
AltChart Period: <depends on the Chart Type>
PeriodD: int
PeriodK: int
Smooth: int

I get the following intellisense hint whenever I try to instanstantiate the object xcStoch(IDataSeries Input, xcStoch_ChartType chartType, int PeriodAlt)

which doesn't make sense to me... I'm expecting to supply more inputs. I'm just really confused on this..

If anyone has any experience with this I would certainly appreciate some pointers.

Cheers

/Wolfie

Started this thread Reply With Quote




Last Updated on March 22, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts