Hi,
I have implemented custom indicator "MyIndicator" and installed in forextester and I can add it and see on my screen. I have strategy implemented to make orders automatically, which works as well, but when I try to load my custom indicator in my strategy code, nothing happens, after loading the strategy I don't see the indicator loaded and painted.
I'm using the regular C++ function CreateIndicator(Currency, Timeframe, "MyIndicator", "param1;param2;param3") to load the indicator in the code.
Can someone someone confirm if I can use my custom indicator and load it from strategy code.
Thanks.
How to use custom indicator in the strategy
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: How to use custom indicator in the strategy
nn2014 wrote:Hi,
I have implemented custom indicator "MyIndicator" and installed in forextester and I can add it and see on my screen. I have strategy implemented to make orders automatically, which works as well, but when I try to load my custom indicator in my strategy code, nothing happens, after loading the strategy I don't see the indicator loaded and painted.
I'm using the regular C++ function CreateIndicator(Currency, Timeframe, "MyIndicator", "param1;param2;param3") to load the indicator in the code.
Can someone someone confirm if I can use my custom indicator and load it from strategy code.
Thanks.
Yes, you can. There is no difference between standard and custom indicators in ForexTester. They are all in *.dll files. If you can not load your indicator from strategy, then there is probably a mistake in parameters list or in indicator's name. Check the journal, there could be some info about errors.
Hasta la vista
Mike
Mike
-
- Posts: 5
- Joined: Mon May 09, 2016 11:42 pm
Re: How to use custom indicator in the strategy
I was searching for the same question and I found it here.
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 32 guests