ForexTester2 : TIndexBuffer not define in C++ API

How to create strategies and indicators
Message
Author
Guonzo
Posts: 1
Joined: Sun Jun 12, 2011 3:41 pm

ForexTester2 : TIndexBuffer not define in C++ API

#1 Postby Guonzo » Sun Jun 12, 2011 3:56 pm

Hi,

I'm new in ForexTester programming. I try to compile strategy examples in C++ (Visual Studio 2010) but I have an error. In fact the type TIndexBuffer is not define.

I had created the following typedef :

Code: Select all

typedef unsigned int*     TIndexBuffer;


but is it OK ? Anybody to help me ?

Thanks, Guonzo.

[EDIT]
Ok, it's a class and it was defined in IndicatorInterfaceUnit.h
So in Strategu template you must include "IndicatorInterfaceUnit.h" too.

P.S. Sorry for my bad english, but I'am stranger and my english is very poor...

Return to “FT API”

Who is online

Users browsing this forum: No registered users and 26 guests