ImXotep,
1. yes, 'HighestArray', but this here is a faster running code:
|
Quote: |
 |
|
|
inputs:
PriceArray[MaxSize](NumericArrayRef),
Array_Size (NumericSimple);
vars:
ii(0), HH(-999999);
if MinList(MaxSize, Array_Size) > 1 and Array_Size <= MaxSize then begin
HH = -999999;
for ii = 1 to Array_Size begin
if PriceArray[ii] > HH then
HH = PriceArray[ii];
end;
end;
HighestArrayFC = HH; |
|
|
|
|
2. that should be so, but with TS you never know what happens until you've tested it
3.
|
Quote: |
 |
|
|
inputs: PriceArray[MaxSize](NumericArrayRef);
vars: ii(0);
for ii = 0 to MaxSize begin
PriceArray[ii] = 0;
end;
ArrayNullSet = 0; |
|
|
|
|
-swisstrader