Hi Afsal,
Thanks for your response and the update. I have tested 11.61 and still can't get the risk setting right
Testing is based on a 10k account and single entry trades (Stop orders) so no martingale or more than 1 trade per signal.
From image 1 you will see I have 0 under fixed and 0 for equity % for lot calc. so using total account at the time of each trade.
With 100 in Equity % to risk per trade it only opens 0.08 lot which is far too low.
I have a fixed SL (36 pips) and fixed TP (64 pips) in settings
So for a trade of 0.08 for 36pips SL is about 290$ risk which is then 3% of equity and not 100% like I enter in settings. Please, what am I doing wrong?
(attached is the test setfile)
Also:
If I change the 100 to 124 in Equity % risk it opens then 0.10
If I change the 100 to 125 in Equity % risk it tries to open now 44.22 lot which gives an error in the log file, not enough capital.
If not stop orders and I change to market orders, then it seems to calculate the lot size correctly.
Lastly, when at stop order type setting, another error I have is trades get placed but UI does not modify the order with the sl and tp I have in the settings. For market and limit orders it places sl tp.
Example: Gold, sl is 360 and tp 640, in expert log it says, SYMBOL_TRADE_STOPS_LEVEL=10: StopLoss and TakeProfit must no be nearer than 10 points from closing price.
But my SL and TP is far more than the 10 points and yet the EA when it opens a trade does not add / modify the order with the SL TP I have in the settings.