Expert Advisors and Automated Trading - page 187

To post a new topic, please log in or register
Hello I have the MQL4 file of a custom indicator which gives buy and sell signals the indicator was made in 2013 so i want to turn it into EA can someone guide me to a tutorial video or show me the steps please? thanks in advance...
I have one subscription running on my MT4. Tried to add one more but failed. Is it possible to have more than one subscription on an account?
greetings everyone, im looking to craft and test my first EA, unfortunately i only have 1 year of c++ training from highschool and that was 15 years ago. ive sucessfully managed to code a few strategies with thinkscript on TOS but the interface is much more simple...now im moving to mt4 this...
  ea fractal?? (9)
how to make ea based on fractal ???
Hello, I am developing an EA and I downloaded the couple's history of currencies that it will operate. The problem is we do not know what the time zone of these charts because I am basing myself in them, but in the brokerage zone may be different and then I would have to change the parameters.
  vps? (2)
i need help to make sure how my account and ea working well after  i migrate to vps ..because i turned off my computer for whole night then in the morning i open my computer i start mt4 once started i notice the face of ea on the right upper corner SAD..and i notice also new order opened like it was...
Hi all, is there an EA able to automatically add stoploss and takeprofit specific fixed values to any manually opened position in real time? Thanks a lot.
Hi, I have an EA running on MT4 on a windows 8.1 interface. When a buy/sell position is opened, the alter box pops up on my mt4 screen, BUT it does not make any sound. Id like it to make a sound so that I know when if/when one has been started more easily. Any advice would be...
Hi, I'm looking for a script to reverse the signals emitted by the expert advisor, if the signal emitted expert Buy, the script open a sell operation and initial stop loss take profit and become the take profit is origian stop loss.Is it possible? thank you
  Choose a VPS (8)
I need a VPS for one instance of Metatrader and perhaps one instance of Tradestation from time to time. I'm trying to save costs while I am still in testing mode.  We are not profitable yet.  What should I use?
In order to check the last order Type if LONG or CHORT For Example : Long if Last Closed is Short int LastOrderType(){ for(int i=OrdersTotal()-1;i>=0;i--) { bool select=OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderSymbol()==Symbol()&&OrderMagicNumber()==MagicNumber)  {...
Hi there ! Can someone please help here. I am trying to add an indicator with no sucess. void CreateChartInSubwindow(int window_number, // subwindow number int macd_type, // macd_type int x_distance,...
Hi Guys, Currently when my EA autotrades it says "autotrade #12122331 sell 1.00 at 1.5402". How can I change/append info to this? I want to add my own deal number so I can match the logs to the trade. My EA trades using an extension of the signal class so I don't directly call CTrade.Buy/Sell....
I know it sounds strange that I have these problems. First when I download the demo, "Manual Trader", it wipes out half of my indicators from my chart, and then when I click the "Buy" button, nothing happens. There must be some magic way of buying things?
I am testing an MQL5 custom indicator on historical data using Strategy Tester. See below: int OnCalculate (const int rates_total, // size of input time series const int prev_calculated, // bars handled in previous call const datetime& time[], // Time...
Hi, I'am a beginner in programming ea's. I start with strategy which open few pending order but after while are too much not actually pendings orders. For now I using a scripts like : --------------------- for(int i=OrdersTotal()-1; i>=0; i--)   { if(OrderSelect(i,SELECT_BY_POS...
i have to make an EA which use buy stop limit and sell stop limit automatically with stop loss and take profit and calendar it  
hi i have a indicator how to call my indicator function in to my EA? Thank you. 
Hi guys i've subscribed the virtual hosting services, i've syncronized my EA and then i shut down my PC. the next day no trades have been placed, is it normal? my pc has to continue to stay turned on and metatrader should always run on my pc to let the ea work? many thanks
Hi I am giving the ea code below double macd[2];&nbsp;&nbsp; double signal[2]; int i;&nbsp;&nbsp; for(i=0;i<2;i++)&nbsp;&nbsp;{ macd[i]= iMACD(Symbol(), 0, FAST_EMA_PERIOD, SLOW_EMA_PERIOD, MACD_SIGNAL_PERIOD, PRICE_CLOSE, MODE_MAIN, i+1); signal[i]= iMACD(Symbol(), 0,...
[Deleted]
Hello, I want somebody to compile my EA, it was performing well until the latest update by MT4 which has reendered it useless. Just need to eliminate TimeGMT function as I see in the Errors tab. Can anyone do the job?
I want to calculate the contract amount regarding the actual balance of the depot. Can anyone describe how I can read the balance ? thanks in advance
Hi, For some reason my stop loss gets triggered early. In the following example I have a stop loss @1.11460 but the candle that causes the stop to be triggered only reaches a high of 1.11435.
[Deleted]
I want to find the EA or the Script that will be my name "REVO" that serves as an already open position justifies wrong on real transactions, e.g: when we open Buy position and turns the market falls then the Buy will change name to Sell and sign [-] is missing. So instead ... If...
Hello, I have a Bollinger Bands indicator on the chart. Also I have its handle. Then I would like to get the number of candles before it starts to be plotted? Please, check the image below: I want to get the number of candles betwen the two yellow dots, I mean: 39. I would like a clean and...
Could any of you recomend a EA with this functions? I d not need fancy stuff like % of profit or time closing, just a fast EA that works with only a "click"... Thanks in advance!!
I got into trouble when I will upload product version in the market for publishing EA. I upload the file ex4 EA as usual but the moderator asked to include indicators in the resources of the main indicator. By attaching captions below : I am confused, Why not upload files indicators also then...
Hello, now i can get the last/newest position info buy this code PositionSelect(_Symbol) ;ulong position_ID=PositionGetInteger(POSITION_IDENTIFIER);long create_time_msc=PositionGetInteger(POSITION_TIME_MSC);long update_time_sec=PositionGetInteger(POSITION_TIME_UPDATE);long...
Hello, I would like to know if MT5 do a time change when political administrations do it, and in that case which is the moment when MT5 do such times changes? As all we know, countries change the time to take advantage of the summer light, see link below: https://en.wikipedia...