Hello Tomasz

I would be nowhere without the simplicity - yet unparalleled power of AFL. 

However, over time, refinement of "checks and balances" deployed for a (real 
money) automated trendline trading system had grown quite complex. Long story 
short - in order to improve entegrity of the system I went from "procedural" to 
"real oo" (abstraction using classses, inheritance etc.), by moving some 
functionability into plugin (thus using C++ to provide the OO aspects). 

For the TWS link, I'm quite happy with IB Controller, and in particular the 
"window" into what goes on between AmiBroker and TWS - but I'm unhappy with my 
(own) interface to IB Controller (from plugin through AFL and feedback to 
plugin again - since plugin has a static part keeping track of real trades - 
that have dynamic exit points - so they need to be "managed" throughout the 
trade). 

So if you can give me some hints on how to interface with IB Controller (a COM 
object - right?) so that methods and attributes are exposed in C++ plugin (I'm 
using visual studio 2008), I would be very grateful indeed!

Regards

Jens




--- In [email protected], Tomasz Janeczko <gro...@...> wrote:
>
> Hello,
> 
> First and foremost: why would you like to do that ?? (it is possible, 
> but why make things harder when you can do this
> from AFL?)
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
> On 2010-04-09 19:03, tiedemj wrote:
> > Tx, but nothing in TWSAPI forum about how to call IB Broker interface 
> > directly from a C++ Amibroker plugin. Also, not possible to call user 
> > defined functions (in afl) from C++ Amibroker plugin using 
> > gSite.CallFunction() - so I'm stuck...
> >
> > Anybody?
> >
> > Best regards
> > Jens Tiedemann
> >
> > --- In [email protected], "reefbreak_sd"<reefbreak_sd@>  wrote:
> >    
> >> There is a Yahoo! discussion group TWSAPI that talks about the IB TWS 
> >> interface.
> >>
> >>
> >>
> >> --- In [email protected], "tiedemj"<home@>  wrote:
> >>      
> >>>
> >>> bump - anybody?
> >>>
> >>> I've seen this question asked before - but can't find any answers. Can 
> >>> somebody just give a hint (if the explanation is not trivial...)
> >>>
> >>> best regards
> >>>
> >>> Jens Tiedemann
> >>> --- In [email protected], "tiedemj"<home@>  wrote:
> >>>        
> >>>> Assume it's possible to call IB Controller directly from an AmiBroker 
> >>>> c++ plugin. Can anybody show how to do it in native c++?
> >>>>
> >>>> Best regards
> >>>>
> >>>>          
> >>>        
> >>      
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>


Reply via email to