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.
Aparent Strategy API Issue
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
Who is online
Users browsing this forum: No registered users and 11 guests