Edit: These dicussions really belong in the Dev thread, didn't intend to release this here since I just hit reply.
It appears that we need to do MarketInfo(Symbol(),MODE_STOPLEVEL)*Point
... line 700 and 701
Code:
NewSLTrade3B=OrderOpenPrice()+NormalizeDouble(((
OrderTakeProfit() -OrderOpenPrice())/2),Digits)- MarketInfo(Symbol(), MODE_STOPLEVEL);
Changes to:
Code:
NewSLTrade3B=OrderOpenPrice()+NormalizeDouble(((
OrderTakeProfit() -OrderOpenPrice())/2),Digits)- MarketInfo(Symbol(), MODE_STOPLEVEL)*Point;
Same change on 715
That is completely my fault. The documentation listed "MODE_STOPLEVEL 14 Stop level in points." but I didn't correct for it :/ That is what weekly builds are for I suppose. Mode 1 may be stable. I'm thinking about releasing 5.6.08 with mode 1 by default, listing the build as "stable" and making Mode 2 and mode 3 labeled "unstable - testing". Might be too complicated, but mode 1 has always appeared stable aside from weird broker issues.
I'm tempted to release a "logging" version as well for testers. It shouldn't be used on a daily basis, but logging would help a lot. I did create nearly 100G of logs on a single backtest (with optimization) but by default logging would be off.
So we have 3 choices...
1) make the two line change and release 5.6.8 as is.
2) Finish the extra logging and release 5.6.8 with logging off by default
3) Change the default mode to Mode 1 (which isn't as powerful but very functional) and release 5.6.8 as stable mode 1 only.
The typical user won't change the mode unless they read the documentation. Maybe when Mode 3 is stable we would mark it by default?
Feedback please...
