Forum

Incorrect Margin Per Lot

I have a script that prints the margin per lot: double marginPerLot = MarketInfo(symbol, MODE_MARGINREQUIRED); On GER40, it gives me 629.75€. When I open one lot, the actual margin used is 943.40€. Has anyone encountered this issue? And is there a workaround to get the correct value

Integrating an image in an EA

Hi, I came across an EA that I was testing. It had a graphical object to represent buy & sell conditions, as attached. https://imgur.com/ScU2DGj I don't have the images on my hard drive, so does the EA get them from a URL using something like WebRequest? Which I would find strange because in my