5 Point Stop but different USD results?

I don´t understand that. Please help. I have a fixed stop loss and profit target with 5 points:

ApplyStop(stopTypeLoss, stopModePoint, 5, 1);
ApplyStop(stopTypeProfit, stopModePoint, 5, 1);

SetOption("InitialEquity", 1000000);
SetOption("FuturesMode", True);
RoundLotSize = 1;
PointValue = 10;
TickSize = 0.01;

Futures Mode is enabled because this is a future symbol.

According to the performance report I am getting stopped out at a 5 point stop loss. That is what i expected also. But what I don´t understand is why is the dolloar value always different?
Screenshot is in the attach.

@Ironman - again, you are not following forum rules!

See how-to-use-this-site.


See Backtesting systems for futures contracts.

Because your equity is growing and therefore you are buying more contracts ?

Just a wild guess....

1 Like

@Henri is right. You are buying more and more contracts. If instead of screenshot you posted a trade list as TEXT, we could see #shares/#contracts column, but screenshot does not show all columns.
Anyway if you look at Position Value column you will see that your position is opened larger and larger (i.e. so obviously you are buying more contracts)

RoundLotSize is rounding, not setting position size.

To buy just one contract you should use

SetPositionSize( 1, spsShares );

Thank you very much guys it works now.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.