Expert Advisors and Automated Trading - page 410

Dear community, I have two Questions. 1. Is it possible to sent a mail with variables? 2. If an ea, which trades EURGBP and EURJPY is attached to EURUSD, with EURGBP and EURJPY chartwindows closed, will it still be able to place orders on EURGBP and EURJPY? Thanks in advance and with best...
Hey I was hoping someone would be able to help me out. Im using MT4 on an macbook and I don't have any markets tab in my terminal window. I do have Trade, Exposure, Account History, News, Alerts , Mailbox, Code Base, Experts and Journal. Ive also tried downloading EAs directly from MQL5 but when i...
In freelance section, anyone who bid on the job display their statistics (jobs, arbitration and overdue). Is this done manually or is there a way to show your statistic automatically ?
Hello, i have a custom made EA for my trading style, it is set as when TP of the active trade is hit the ea will stop trading and delete the pending order and show on "Paused" the part responsible for that is quoted below, i want to change it so when TP is hit the EA will re-start itself from the...
[Deleted]
Hi I'm hoping someone might be able to help. I'm using the attached elder impulse indicator and trying to code my EA to check the color of the indicator automatically. Either green, blue or red. Really struggling with it though. I think I need to use something similar to the below, and although it
I found a great scalper online. It's called angrybird ea https://www.mql5.com/en/code/12872 Source code is available there too. The robot works perfectly, however, I would like the robot to follow these 2 rules. Can someone add these code to this EA? Rule #1: When price is above 50 days...
Dear community, If an OnTick occurs while the code in the OnTick section is processed, due to a previous tick, does the program ignore the tick or do the program cancel the processing code? With best regards, Larry
I got maximum or minimum price of selected bars in MQL4. here int highesht_bar=iHighest(_Symbol,PERIOD_CURRENT,MODE_HIGH,15,1); int lowest_bar=iLowest(_Symbol,PERIOD_CURRENT,MODE_LOW,15,1); And for highest or lowest price. high=High[iHighest(_Symbol,PERIOD_CURRENT,MODE_HIGH...
Some times my EA exceed the TP and ignore it until the signal reverse and converted to lose. any one have an idea why it behaves like this on the tester?
Hi, Can anyone tell me why this code doesn't open orders? What is the wrong? // Sell Order if (Close[1]>get_Parabolic(0, 0.02, 0.2, 1)&&iClose(NULL,0,0)<get_Parabolic(0, 0.02, 0.2, 0)) return(2); // Sell // Buy Order if (Close[1]<get_Parabolic(0, 0.02, 0.2, 1)&&iClose(NULL,0...
Hi, How to make my EA set SL to minimal StopLoss ? Some pair require minimum 10 pips for SL/TP, some may more than 10 pips Can anyone please advise Thanks in advance
Hi,    I rented an EA and want to transfer the rent licences from my desktop to my VPS. I logged my account in the MT4 on the VPS but the EA does not show up, so I assume I have to transfer the license.   Is that possible, anyone knows?     RGds 
Hi all, I'm new to coding and MQL5 and this is my first ea. The problem I have is "unexpected token" for my buy conditions. I did a google search and was not able to find any answer, so I was hoping you guys can help me with the issue. Please let me know if I need to send more information....
I spent so much time on the Book I do not think I yet get it. Lets say I want to compare current calculation results with previously taken. I store all results, when new one come in I compare them to the last stored. My attempt to code...
Hi, My market orders are never rejected, why ? A position is everytime opened. (Broker FXPro demo account) MqlTradeRequest req = {0};&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; req.action = TRADE_ACTION_DEAL;req.symbol = _Symbol;req.magic = 1;req.volume = 0.01;req.type = ORDER_TYPE_SELL; // --- Buy is also...
Hi, I'm using several EA's on an account, and would like to be able to export my history from MT4 to CSV, so I can analyze the actual profit per EA. Does anyone have an idea how to do this
Hi all, I am using CTrade class to do a trailling stop. It works perfectly but the problem is that my EA after doesn't open more positions. If i leave my trailing stop, my EA is working without problems but if i put the trailing stop, at the moment that one position is using the trailing, the EA...
Is anyone using python (possibly with native C extensions for performance)?
Hello guys, Im about to hire few traders and give them trading capital. I have EA which closes trades after certain % of loss and then disables whole account. Only problem is, that this is possible only if the EA is running on the traders computer (not working when 2 instances are online, 1 trader,...
Hi, I'm trying to find if there are 3 consecutive up or down bars with the below EA the problem is that it stops counting after first bar is complete ( check it on M1) I will be glad if someone could help me here. //-------------------------------------------------------------------- bool New_Bar=
Hello every one, :) Usually we used to code: double trade_point; if (Digits == 3 || Digits == 5) trade_point = Point * 10; But what if we have another chances such as the gold or silver or..... The gold as u know is not 3 and not 5 digits So, what is the replacement of the...
I am trying to make robot with two ZigZag indicators simultaneously. Is it somehow possible to change the color of one ZigZag indicator just for better look in tester
I want to replace my trailing stop to Virtual as I am about to change to a broker with 50 point stop level, However I completely have no idea where to start, Can someone enlighten me a little bit. //for starters I would start by writing what i know for (int i=0; i<OrdersTotal();...
Hi. I am doing a multi-currency, multi-timeframe EA. I have the problem that the EA is sending just a few signals because it doesn´t load the historical data for every pair and timeframe. I can´t have a open window for every pair in every timeframe so I have no idea about how to solve it. If someone...
Hello Guys, I'm trying to create a scanner which should met 2 criteria (i) Last price should be HIGH or LOW of lat 10 bars (ii) Breakout should occur only by 3 continuous up or down bars I've written following code for it (see below) Now problem is that ideally it should work on every bar but...
Hi, I use a c++ dll into my mql5 EA and i have a big problem, i just can't send orders from my extern dll algorythm. If i write this : onTimer(){  while(true)  {  }} the onTick() is never trigger, because there is only one thread allocate for the EA... and it's a big problem. 1st question, do you...
  CopyTicks help  (6)
This code gives error: Ticks could not be loaded. GetLastError()=4014 I don't know why. input int ticks=10; // the number of requested ticks //+------------------------------------------------------------------+//| Expert initialization function...
  Help needed  (2)
I think this is weird, I got this error when doing test. I have no idea where's the problem, the only clue I have is stop level. Testing on 4 digit data. I got error 130 when i used stop loss less than 10 pips, tried 6,7,8,9 all have error 130. EURUSD,H1: Buy BreakEven OrderModify Error...
[Deleted]
  Coding question  (6)
Can someone help me with a code that closes all orders when orders hit certain % of DD thanks
Hello everybody! I'm a new user of this forum and I'm trying to learn MQL4 to build a my own EA, but now I have a little problem with my code. The MT4 doesn't read this part : " int H = OrdersTotal(); //CORREZIONE BUY if (H>0) { OrderSelect(H-1,SELECT_BY_POS); if(OrderType()==0...