Forum

Trailing stop loss modifying positions on another symbols when expert is attached to multiple charts.

void Trail() { Print ( "Trail() called for symbol: " , _Symbol ); // Log the function call and current chart symbol int totalPositions = PositionsTotal (); for ( int i = 0 ; i < totalPositions; i++) { ulong ticket = PositionGetTicket (i); if ( PositionSelectByTicket

VPS not working properly. Taking trades on remigration only.

Hello Guys! I would appreciate if anyone has some insights here. My problem is that, I'm running my expert advisors in mt5's VPS, and sometimes the EA doesn't take trades that it should, however when I re migrate the the EA takes a late trade under the setup that It should have taken. What I'm

Iteration problems.

Excuse me experienced traders I have a real easy question that would mean a lot to me if answered. Im trying to make my EA wait for an X amount of canddles above or below a moving average (but not in the middle) to trade a signal. Currently I have a problem in the loop iteration when I'm trying to

Looking for a MENTOR

I'm a hard working individual looking for a mentor. I've read many books and learn all the coding I could by myself. I'm trying to create a winning EA. I'm writing this message with little hope of help but I would very much like somebody to mentor me and he will get an access to all the programs I

Expert Advisor doesn't trade in backtesting.

I have downloaded several EAs from different people and not even a single one has gotten to open any trades. I don't know what is happening nor I'm liking it. It's honestly been horrible I've tried everything I can think off! When I compile the EAs I only get ordersend function warnings. Not a