CreateIndicator always returns zero in C++

How to create strategies and indicators
Message
Author
Trader Bob
Posts: 3
Joined: Mon Sep 10, 2012 9:23 am
Location: Melbourne

CreateIndicator always returns zero in C++

#1 Postby Trader Bob » Mon Sep 10, 2012 9:33 am

this is in my Reset Strategy slowstoch=CreateIndicator(Symbol(),5,"Stochastic","30;10;10;High/Low");
printing it always gives me 0 value

what am i doing wrong?

Trader Bob
Posts: 3
Joined: Mon Sep 10, 2012 9:23 am
Location: Melbourne

#2 Postby Trader Bob » Mon Sep 10, 2012 9:46 am

though it seems to work now with "AUDUSD" instead of Symbol()

not sure why

also it is returning funny values from the GetIndicatorValue function that don't match the indicator values on the indicator I have in the info panel on the left

any thoughts


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 5 guests