Forum

ea on marketplace different sl on demo and live

I will not mention the name of the product i bought because I hope the author will fix this issue as the product works great in demo. I hope to have the issue fixed and working great in real account soon. However, the issue is that in demo the ea has a small sl of 5 points, but when added to live

[Position Doesn't Exit]

I have issue where I am getting the error [Position Doesn't Exist] Below is my function that closes trades. Note: I am using this ea to close trades on many symbols. I have not added check for Symbols, because I want the ea to manage all trades; that were opened by other eas and on other charts

Profiler results different. nothing changed.

Is this normal? I have 2 images showing results from profiler. I pressed the history button inside the IDE/metaeditor. mt5 version 4410. but same thing occured in 4380. all settings same, nothing changed in the code. I just pressed the button. 2nd. 12 hours later, no computer sleeping between. mt5

Memory exception

message in Jounal (2 lines with same message, 1 below the 2nd) "2024.06.05 05:45:36.854 MemoryException 7471104 bytes not available, 0 heapmin result" Several Trade messages within half hour after that went without a hitch and other trades opened and closed since that event, so mt5 seems to have

Resource or Include

to import an indicator into my ea should I make it a resource? or would the effort to change my indicator into an include file, be worth it? NOTE: i will be using the ea on several symbols + charts. NOTE II: working on a mt5 ea

First attempt at creating a service. says removed. but has the play icon.

gidday. This is my first attempt at creating a service. The plan was to make this into an ea that would close all trades when other eas changed a globalvariable. But I had been reading up on services, so I thought i'd have a crack at doing a service; altho I am unsure if a service or an ea is better

how to use ChartRedraw()

How do I use ChartRedraw()? I have my comment/OSD function like so... and eqplus iStartLots and Spread is in ea inputs. void osd2() { Comment ( "\n Profit Target = $" + DoubleToString (eqplus, 2 )+ ", Minimal Profit per Trade = " +

in journal: pages of Chart: Saved.

What is this? I updated mt5 to 4162 by downloading setup file from broker and since then, I have had these going into journal at start of every candle; multiplied by the number of charts i have open

Invalid Volume

double lot = NormalizeDouble ( fmax ( 0.01 , 0.5 *iStartLots), 2 ); trade.PositionClosePartial(tk,lot,iSlippage); Error in Journal... 2024.01.30 00:36:36.832 Trades '24046': failed market sell 0.07 GBPJPY, close #6130450 buy 0.06 GBPJPY 188.082 [Invalid volume] "iStartLots" is 0.13 as input double

update 4153. live chart candles gone!.

my candles have gone after doing the update to get 4153. I have no trades open. How do i fix this