Aparent Strategy API Issue

Bug reports and errors in the program
Message
Author
mokkbs
Posts: 1
Joined: Fri Jul 01, 2011 10:22 pm

Aparent Strategy API Issue

#1 Postby mokkbs » Fri Jul 01, 2011 10:24 pm

Hi,

Using 2.7.7

Forex Tester is hanging when I try to extract information from an EMA indicator. Same code works if I switch to SMA:

//
This works:

gmaId = CreateIndicator("USDJPY", TIME_FRAME, "MovingAverage", "25;0;0;Simple (SMA);Close");

.....

double maV = GetIndicatorValue(gmaId, 0, 0);



This does not work:

gmaId = CreateIndicator("USDJPY", TIME_FRAME, "MovingAverage", "25;0;0;Exponential (EMA);Close");

.....

double maV = GetIndicatorValue(gmaId, 0, 0);



The application hangs on the GetIndicatorValue call and the program must exit.

I have checked and the id returned by gmaId looks good.

Please advise, thanks.

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Mon Jul 04, 2011 1:18 pm

Hello, can you please post full code of simple strategy that illustrates this issue?
Check our other product here:
http://www.forexcopier.com


Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 8 guests