**black (2/11/2013)**

Ok, here it is, attached, BuySell130211.acts.

I have tested it in the Tester,

**but NOT DEMO OR LIVE.****If you run it Live, watch it to make sure that it doesn't open multitudes of Trades,** but it shouldn't.

In Demo mode, it only produces results in the log. You must do your calculations manually, including figuring in the spread. The spread must be calculated for every Lot.

In Demo, calculate all the profits and losses based on the rate of the last Trade placed in the opposite direction.

For example, if the trades are like this:

Buy Rate: 1.5000

Buy Rate: 1.5050

Buy Rate: 1.5100

Sell Rate: 1.5050

then you would calculate:

Sell Rate: 1.5050 minus Buy Rate: 1.5000 = 0.0050 minus the spread

Sell Rate: 1.5050 minus Buy Rate: 1.5050= 0.0000 minus the spread

Sell Rate: 1.5050 minus Buy Rate: 1.5100= -0.0050 minus the spread

for a profit/loss of 0.0000, minus the spread. The Limit was placed at 50, obviously.

Testing in the Tester will produce extremely inaccurate results. The closer your time period interval is to the Tick, the more accurate will be the results. For example, Testing the Minute will be far more accurate than the 1-Hour. But the Minute tests will take much longer and will involve downloading much more data from your broker.

You are welcome to adapt it any way you like. Please let us know if you find bugs, or if you have better logic that can make it produce better results. Thanks.

In tests good

Strategy needs to develop