Hello
I am trying to access AO indicator in my strategy
I am using following code for it:
======== to create AO indicator:
ind_AO := CreateIndicator(Currency, TimeFrame, 'AO', '5;34; Simple (SMA);(High+Low)/2');
======== to get values
AO_1 := GetIndicatorValue (ind_AO, 1, 3);
AO_2 := GetIndicatorValue (ind_AO, 1, 4);
but I receive illegal values in FXtester (pls see the picture)
what am I doing wrong?
thanks
AO access problem
-
- Posts: 5
- Joined: Wed Nov 10, 2010 12:09 pm
AO access problem
- Attachments
-
- error.PNG (2.14 KiB) Viewed 18422 times
Who is online
Users browsing this forum: No registered users and 45 guests