PureBytes Links
Trading Reference Links
|
:Input: ArrIncr1(1), ArrIncr2(4);
:
:Array: Price(10000,4);
:
:Price(Barnumber, 1) = Open;
:Price(Barnumber, 2) = Close;
:Price(Barnumber, 3) = High;
:Price(Barnumber, 4) = Low;
:
:If Price(Barnumber, ArrIncr1) > Price(Barnumber, ArrIncr2) then begin...
:
:If Price(Barnumber, ArrIncr1) < Price(Barnumber, ArrIncr1)[1] then begin...
:
:
:Something like that... then you could optimize on ArrIncr1 and ArrIncr2.
:Of course, you could get tricky and reduce your testing time by noting that
:Price(Barnumber, 4) will never be greater than the other array values for a
:given bar, etc. but that's not necessary if you don't mind a little extra
:testing time...
Finally!! A positive contribution from the Omega Man. How does it feel,
Omega Man?
|