Something like that :
Code: Select all
inputs:
MaxRisk$(10);
// code starts here :
if MaxRisk$ < 10 then MaxRisk$ = 10;
etc ... etc ...
// end of code
Yann
Code: Select all
inputs:
MaxRisk$(10);
// code starts here :
if MaxRisk$ < 10 then MaxRisk$ = 10;
etc ... etc ...
// end of code
Code: Select all
inputs:
MaxRisk$(10);
Variable: WorkMaxRisk(0);
// code starts here :
If CurrentBar = 1 then
begin
WorkMaxRisk = MaxRisk$;
{Note that MaxRisk$ is no longer referenced}
if WorkMaxRisk < 10 then WorkMaxRisk = 10;
end;
etc ... etc ...
// end of code