# One System From The Book

Just wanted to bring one of the systems that I developed for the book to everybody’s attention. This is a simple system that puts on two contracts and peels one off after a certain profit and then lets the other one ride. Its a mini-Russell system. Full code is disclosed in the book – source code can be imported into other applications.  The object of this code is to demonstrate multiple contracts and money management techniques.  Remember –

# This Code Uses A Loop To Calculate Buy/Sell Levels Based on Current Position

```if currentshares = LTT then begin
buy("B-20A.5") LTT shares next bar highest(h,20)[BB] + (0.5*N) or higher;
buy("B-20A 1") LTT shares next bar highest(h,20)[BB] + (1.0*N) or higher;
buy("B-20A1.5") LTT shares next bar highest(h,20)[BB]+ (1.5*N) or higher;
end;
if currentshares = LTT * 2 then begin
buy("B-20B 1") LTT shares next bar highest(h,20)[BB] + (1.0*N) or higher;
buy("B-20B1.5") LTT shares next bar highest(h,20)[BB] + (1.5*N) or higher;
end;
if currentshares = LTT * 3 then
buy("B-20C1.5") LTT shares next bar highest(h,20)[BB] + (1.5*N) or higher;
end;```

Just do this:

```for iCnt = 0 to 3
begin