NexusFi: Find Your Edge


Home Menu

 





[MC.Net] Using ExecControl.Recalculate() Outside of Indicator Class


Discussion in MultiCharts

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




 
 

[MC.Net] Using ExecControl.Recalculate() Outside of Indicator Class

 
 dkhenkin 
Dallas, TX
 
Experience: Intermediate
Platform: MultiCharts
Trading: Stocks
Posts: 4 since Jan 2012
Thanks Given: 0
Thanks Received: 0

Hi,

I am fairly new to C# and I think this question will probably expose that rather quickly! I am building WinForm apps to use along side MultiCharts. I have everything working except that I want to implement a refresh button on my forms. I have 4 classes in my Indicator .cs file, the indicator class and then 3 Forms.

I am unable to call ExecControl.Recalculate() from any of the other classes since it doesn't inherit from IndicatorObject (at least I think thats the reason). I attempted to create a delegate to pass the Recalculate() method however, I always get an error saying that ExecControl is inaccessible from any class other than the indicator class.

Any suggestions on how I can refresh my charts from a WinForm or how i can pass the recalculate method to another class that doesn't inherit from IndicatorObject?

Started this thread

 



Last Updated on June 13, 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