Expert Advisors and Automated Trading - page 244

Hello I have the attached indicator which sends alerts in case the candle closed above/below a certain price. As a first step, i would like to create an EA that opens a position based on that alert. What i want to achieve is to make the EA that finds the high and low during the Asian session and
  Magic Number  (2)
Hi, I use an EA with Magic Number stand alone, so I can use the same magic number for all the instruments. I know if I put an order manually its Magic is 0, but can I use 0 in EA ? So if I openn manually, the EA can manage also my order? Thk
Hi traders, I'm looking for EA that closes a open trade when the market breaks a price (added manually) based on h4 candles, do you know something like that? thank you very much
  Normalize Price?  (6)
Hey guys, can someone explain me the idea behind this code? double NormalizePrice(double p){ double ts=SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); return(MathRound(p/ts)*ts);} Can it not be simply replaced with this? NormalizeDouble(value, Digits()) Help very much appreciated
  iFractals MQL5  (6)
god i hate MQL5 everything is complicated compare to MQL4 anyway guys i tried the sample of ifractals here is the code double fractal_up[],fractal_down[]; //--- for collecting fractal data handle_fractal = iFractals(_Symbol, PERIOD_CURRENT); ArraySetAsSeries (fractal_up, true); ArraySetAsSeries
Hi everyone, how can I properly check if the following code returns correct price value ObjectGetDouble ( ChartID (), "Line" , OBJPROP_PRICE , 0 ); other than checking if it is bigger 0? Thanks
Hii am working to build my expert and want to Hide input tab window from users , while all variable parameter are active in hidden ? thank you
It gives me this error when I try to do a backtest on IcMarkets BuyPositionOpen(): Incorrect data for a trade request structure! BuyPositionOpen(): OrderCheck(): Specified type of order execution for the balance is not supported
My coding is using IsNewBar function as below; After compiling, there is an error message that 'IsNewBar' - function must have a body What should I modify for my coding?? input double Lotsize=1.0; input int Slippage=10; input int Stoploss=30; input int Takeprofit=30; input int MAPeriod=20; input int
Hi All, Having a funny one with a super simple EA and I'm not sure exactly what the matter is. In principle I simply want to execute a buy trade when the current market price (Going by the Bid) is greater than previous day's high, and also the other way - selling when lower than previous low
Hi guys, writing an EA that accesses signals from indicators comes with the task to fill their parameters when creating their handles. Because I am not integrating all of these indicators in an EA - I have to re-define all parameters of these indicator in the EA. A brief example to outline what I
void Long() { if(MathAbs(MaxLossPerOrder) > 0) { for(L_Count = OrdersTotal(); L_Count >= 0; L_Count--) { RefreshRates(); OrderSelect(L_Count, SELECT_BY_POS, MODE_TRADES); if(OrderSymbol() == Symbol()) { if(OrderType() == OP_BUY && OrderMagicNumber() == LongMagicNumber && OrderProfit() <=
Good morning I started studying MQL about a month ago and I have had a problem in which I have tried to solve in many ways and not succeed. The problem itself would be to make the arrows plotted on the chart (with the market open) track the candles when these are in the opposite direction (image
I want to get price of last order to calculate something, how to get that price of last order (ticket)
Hello everybody i was creat EA and try for run in all pair in MT4 but EA only show text (Drawdown ) calculate in 10 chart and no more. anyone explain to me and how to fix for all pair ? CALCUL button blue is working , red is stop . when (Total playing now ) is counting so (drawdown ) calculate
I want some suggestions from developers.I can make EA profitable by Grid systems but I not get profit conditions in indicator EA.What concepts need to build profitable EA by these **** indicators.Do you have some references links. Thanks
Hi... Mt4 to Mt5 conversion... where the integers are variable counts such as, if(varA/(VarA+VarB) >.95) {VarC=-5;}     ( integer/(integer+integer) )  Or (int)Mathround (integer/(integer+integer))       always gives zero in Mt5, How do i get the double solution?      
How to Code OrderDeletion on Specific Pair!! PLEASE HELP!! I am trying to code a break out EA that uses a BuyStop and a SellStop 1pip away from price. The problem is once one of the orders gets triggered I would like the other order to DELETE. This is what I have so far: //Close All Other
Dear brogrammers, For my optimization I would like to use .%.input as a set maximum drawdown input. So not with the custom criteria but with my regular optimization input settings. Anyone can help me out? Thanks in advance <3
Hi, i'm a developper who work on an mac. Previously i used to develop on a window VPS, but i sucks. So i've decided to give a try on MT5 on a mac. Everything fine, except a little detail. Strategy tester simply not working. When i hit start nothing happen. In the journal, i can see that there is a
Hello coders, I am using since at least one year a simply EA : it is based on Parabolic Sar , so I can follow easily graphically if there are conditions to enter. It's since the 10th of February that my EA is not placing orders. (it has always worked fine til now) But I am going crazy because I see
  Hma Ea  (165   1 2 3 4 5 ... 16 17)
Hi, I've developed simple EA for HullMA's lovers. Also I've optimized this EA for period 2006.01.01 - 2007.01.01 (MQ Server). Kind regards, Igor ----------------- Edited by Newdigital. - HMA_v2 indicator is here. - HMA_Expert_v1 EA: post #1 of this thread. - HMAExpert_v1.1 together with...
Habe einen MT5 VPS sowie ein automatisiertes Handelssignal abonniert. Die Orders werden aber nur ausgeführt, wenn ich den MT5 Desktop offen habe. Hierarchie ist: Konten darunter mein Broker darunter das Konto beim Broker darunter dann auf gleicher Hierarchie das abonnierte Signal und der VPS MQL5
I have a situation where I open a chart and 1 minute Bars for APPL are shown back to August 2019 ~6 months plus of data. Great!! Strategy Tester (ST), only find around 700 bars of 1 Minute time frame? Not Great! The data is obviously available on the brokers server but not being downloaded or made
Hi All, Please advice me about this. I subscribed to a signal provider also paid for it. But the subscribed signal is not displayed in my BitRixTech Live. Please advice how can I get signals from my subscription
Hello friends,I am with the follow problem running EA on All Tick mode. When I run it for 1 year backtest, its lates about 1 minute, however running the same for 2 years back test it lates about 10 minutes.... Besides that, the time to start a 2 years back test lates a lot to start. Some examples
Hello, Thanks in advance for even taking a look. Super Trend Hull by Mladen EA by VR---BUCH(barabashkakvn's edition).mq5 Copyrighted to Voldemar227. I have been trying to do this with my limited trading and coding knowledge. Buy when the super trend hull indicator is limegreen and sell when
I need someone to edit my expert adviser, I will happily pay and we can set up an actual job on here but before I deposit funds that I can't recover I'd like to communicate with the person who will help me one on one. I am not a coder, I only have a strategy. The basic entry trigger for my strategy
  ORDER SEND  (3)
Good evening, I am learning MQL4 and testing an EA. I have a problem: some orders come in at a price actually never reached! Is it a programming error? Is it a DEMO ACCOUNT problem? There is some screen-shot
Hello all, For some unknown reason, the signal tab in mt4 is not displayed correctly anymore nor working on Linux Ubuntu with wine. But it used to, around 2 weeks ago. Attached are 3 screenshots showing 3 tabs : 2 tabs are working fine (market and articles) and the "signal" one doesn't. We can see