Expert Advisors and Automated Trading - page 325

How I can insure my expert not read the historical data I mean when I traded on past time ex in 2008 on real account we get same result account on real account and back test same .      
Hi guys, first just wanted to thank everyone who makes an effort to read my concern. Here goes: 1. I created an Custom Indicator. Working Fine. (Checked) 2. Created an EA from my EA template. Used donchian channel method as error checked for basic function i.e. trading/SL/trailing/etc. No custom...
I am new to MT5 and would like to make an EA through MQL5 wizard. I want to add a custom indicator into the EA using the wizard, but not sure if i can add on in it. The indicator is called linear regression, people call it center of gravity.
Hi all, I have about 10 years of 1M data in an HST file. I was thinking maybe when I run a backtest with an EA on the 1H timeframe, it would auto convert. Unfortunately it did not.  Is there a script that will convert my 1M historical data in to 1H? How would I go about doing that? Thanks!
Hi experts, I just have learned mql5 and don't understand something. plz, see following code and their result. I wonder when I cut IF out, the result will change? What indicates to time? v thid OnTick () { MqlTick last_tick; //--- if ( SymbolInfoTick ( Symbol (),last_tick)) { Print
Hi, I get this error in strategy tester with timeframe M1: 2019.03.30 10:15:45.118    Core 2    pass 1 on AUDCHF tested with error "history processing error (314 AUDCHF)" (0:09:13.516) Anyone found a solution to this?
I have no ideia what is wrong with the code. Someone could help me? <Decompiled Code Removed>
Hello everybody, I've tested the EA there :  #include<Trade\Trade.mqh> CTrade trade; double PreviousAsk = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits); double PreviousBid = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_BID),_Digits); int m = 0; int n = 1; int e = 0; int i = 1; int...
Hello, I have one ea which place buy and sell at a time. //-----------------------Buy and sell codes-----------------// buy=OrderSend(Symbol(),OP_BUY,lots,NormalizeDouble(Ask,Digits),30,0,0,"Learning",MagicNumber,0,clrBlue);   sell=OrderSend(Symbol(),OP_SELL,lots,NormalizeDouble(Bid,Digits),30,0,0...
Hello everyone :)  All I want to do is giving value to "x". ( x is a variable) Then, when value of x is changed in OnTick function. That new value(given in Ontick) should remain untill its changed in Ontick again.  double x= 10void OnTick(){x= High[1]} That "10" value should called once at the start...
Hello, Does it exist an EA that opens orders buy stop and sell stop and close partial size orders according to the price movement? Thank you.
Hi I'm new to Forex and I heard about automatic trading . I would like to know how to trade automatically on metatrader 4 with fbs. the steps to follow. thank you
Hi all, I have an EA that is checking an indicator every tick to see if an arrow appears. Should an arrow appear it will do something. I am finding that the EA is locking up my system with the amount of RAM and CPU  its using for the task. so clearly my approach is wrong or i am asking too much....
Dear members, I will like to ask for advise on how to reduce the CPU processing power with MT4? I am using several EA for trading a few currency pairs. It seems that the CPU can fluctuate from 10% to 100%. The MT4 is residing on the VPS host and my RAM is 1.3GB and CPU is 2.2GHz. Thanks in advance....
Hey, I want to Round the number of an Array of my indicator. I need to Round the numbers to the number of digits of the currency, for example the EURUSD in my broker has 5 digits, while USDJPY have 3 digits. I cannot do it this way. And I want to change Round the numbers as soon as they are created
If so - how are you guys auto-trading TradingView alerts in MT4/MT5 ? 
Hi, is it possible to re-implement iADX() using iCustom() or any other option to have ENUM_APPLIED_PRICE on its call (as it was on MQL4)? MQL4: double  iADX(    string       symbol,        // symbol    int          timeframe,     // timeframe    int          period,        // averaging period...
see picture and  i wirte code : if(Ask!=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY) && (Ask-(GridStep*Point)>=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY) &&   Ask+(GridStep*Point)<=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY)))   int buy4=OrderSend(Symbol(),OP_BUY,MinLots,Ask,0,0,0...
Hello everyone! I know how to say " If RSI > x  , then do this" But, how to say     "If  RSI > x when candle is closed then do this" ( I mean the last candle )  Thanks for your help. Have a good day :)
I am searching for a Best Forex Expert Advisor And Profitable FX Trading Robot in mql5 codeBase page .. Help me find out a best profitable robot for a small account .. . Waiting for your kind information 
Hello sirs. I have a question. If I use FANN Neural Network can I apply the input for high prices ? And shall I get the high values in csv and only after train the network on that dates? Thank you
Hye there. I apologize if this has been asked before. I am a beginner in creating EA and would appreciate it if someone can point it out to any youtube channel or websites that teach me how to write a script in meta editor for free. I would like to create an ea with 3 indicators in indicator chart,...
  HedgeEA  (652   1 2 3 4 5 ... 65 66)
Some time ago, on Elite section cturner and me begin the development of an Hedge EA that allow to hedge two currencys taking profit from the swing and from the swap. I think that for now there are too many people busy with the championship so, I 've decided to bring the EA to the public zone so...
Somebody can advise me for a series of tutorials about how to start with using wizard of metatrader 5?  Something for real dummies, for start, something easy, for modify and understand how it works? For develop own indicators and trading system (start to do it....) Probably this question is already...
I check the box next to the input variable i wanted to change, then set it to a different value. But when i click 'Start' in Strategy Tester it resets. What am i doing wrong? How do i simply change one value in 'Inputs'? Using MetaTrader 5.
Hi everyone, this is my first thread. I have an idea of Closing all Open Orders when my Account Equity reach (>=) the Target Balance.  For example: My Initial Balance = 1000 My target balance is 105% of initial balance So when the first order opened and my balance at 1050 (1000*1.05) or bigger... ->...
Hi I need to draw a equidistant  channel on the chart I needed a way of working, not a code For example - Find approximate direction - rotat Axles - Divide the field into two parts - Find the highest peak in each field - ..... etc Gratefully
Hi, everyone, I am developing expert advisor. But there is an "invalid volume" problem in my coding. Below is the method I learn and think at mql5 articles. //+------------------------------------------------------------------+//| Check the correctness of the order...
Hello, I just published an EA in MQl5, everything looks fine, as it was appearing in the market but without the DEMO button. Someone has an Idea why is this happening? I verified with other EAs and yes I can see the DEMO A few weeks ago it also happened I thought it has to pass some moderator test...
#property copyright "Copyright 2019, MetaQuotes Software Corp."#property link      "https://www.mql5.com"#property version   "1.00"#property strict#property indicator_chart_windowstring INDI_NAME="MPSCN-";input int TimerInterval=60; //Update interval (secs)input int FontSize=10;  //Font Sizeinput...