Quote:
If the value is less than half the asset price, Zorro assumes that it's a distance, otherwise it's a price.

Is this also valid for TradeStopLimit? If I extend Workshop 4_1.c with a simple TMF

Code:
int ModiStop() {
	
	TradeStopLimit = 150*PIP;
	return 0;
}



short trades are closed the next bar by stop while the stop is not hit or the trade is even in proift:

Code:
[EUR/GBP::S7301] Short 1@0.89352 Risk 8$  at 08:00:00
[174: Wed 13.01.10 09:00] +0 +0 1/0  (0.89346)
[EUR/GBP::S7301] Stop 1@0.89358: -0.10 at 09:00:00
...

[EUR/GBP::S8103] Short 1@0.89203 Risk 9$  at 16:00:00
[182: Wed 13.01.10 17:00] -4 +3 1/2  (0.89214)
[EUR/GBP::S8103] Stop 1@0.88980: +3.02 at 17:00:00
...

[EUR/GBP::S5315] Short 1@0.87310 Risk 8$  at 13:00:00
[554: Thu 04.02.10 14:00] -15 +1 2/13  (0.87304)
[EUR/GBP::S5315] Stop 1@0.87261: +0.66 at 14:00:00



Long trades last longer and seem to behave normal. What have I done wrong? Has the direction to be considered using TradeStopLimit? Thanks, Sphin