Error is:
[Error] StrategyInterfaceUnit.pas(1513): Default value required for 'ObjType'
In this code:
Code: Select all
{-----Delete all objects-----------------------------------------------------}
procedure ObjectsDeleteAll(window: integer = 0; ObjType: TObjectType);
begin
if assigned(IntrfProcsRec.ObjectsDeleteAll) then
IntrfProcsRec.ObjectsDeleteAll(window, integer(ObjType));
end;
I'm not attempting to use this or any other object related functions in my strategy.
For now I've changed it to...
Code: Select all
procedure ObjectsDeleteAll(window: integer = 0; ObjType: TObjectType = obj_AnyObject);
...just so it will compile, but not sure if this is correct.
Steve