Hi,

I'm developing a system which it builds an string( asset) and after compare this string with all assets from AssetList. It's easy. I do it with a loop

while (compare=loop(assets))
found(compare)


The problem is when I found the asset --> Select the asset , Set by
example:

asset("EUR/USD")
TakeProfit=15*PIP
StopLoss=30*PIP
EnterLong()

but I look that is not correct SL and TP, when the trade is opened ok but it closes with TP and SL different that I set.

I'm tested Zorro and MT4. When the trade is open in MT4 is 45 PIP of stop loss and trades are closed with takeprofit +-9

Why the reason ??


Thanks in advance.