I want to change Strategy Description or Name programmatically, based on parameters, so that ones parameters change next time Forex Tester loads, strategy description would change also.
So far I tried:
procedure InitStrategy; stdcall;
begin
StrategyShortName('ObjectsTest');
RegOption('Currency', ot_Currency, Currency);
StrategyDescription(StrPas(Currency));
end;
but StrategyDescription is blank after this. Is there is the way to do this or dll know nothing about parameters values at the time StrategyDescription and StrategyShortName initiated?
Thanks in advance
Change Strategy Description or Name programmatically based on parameters
-
- Posts: 1
- Joined: Sun Mar 05, 2017 3:13 pm
Who is online
Users browsing this forum: No registered users and 28 guests