To post a new topic, please log in or register
Hi, Got error message: Virtual Hosting: 6063273 imported DLL "wininet.dll" not allowed on the hosting server. Any go around available? thnx, L.
double MathematicalAchievement = 90 ; double ScoreOfChinese = 80 ; void OnStart()  {    if(MathematicalAchievement> 90 && ScoreOfChinese> 90)     {       Print(“VeryGood”);      }   } double MathematicalAchievement = 90 ; double ScoreOfChinese = 80 ; void OnStart()  {...
I have been registered as a seller last 2 years, but last 2 days it looks like i can not use Freelance service. I can proceed deposits/withdrawals, open new signal, add product to market, send messages etc, not obvious ban reason. I have access to Freelance session, but "Open new Job" and "Take...
Hi Which broker runs BwinGMFCF-Live? or how to know? since one of the signals runs on it. Thanks
  Traders Joking  (11601   1 2 3 4 5 ... 1160 1161)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
Hi there guys, does anyone know of an indicator that plots the bid ask line only til the current bar being plotted?
Hello Service desk team, Please solve my concern. Current I cannot open my account in MQL5 webterminal but I can open in MetaEditor4. Thank you, Machaya
Hi everyone, I'm trying to download the Moving Averages crossover indicator and when I click 'download' the link it takes me to doesn't work for me, I think this is because I'm using MT4 on a Mac with Wine. The only custom indicators I have so far, I have downloaded as .ex4 files and manually put...
Hi, Just downloaded tick data using MT5 (Ctrl U) on a few pairs. The tick data only contains date, time, bid and ask values. No data for last price and volume. Can someone please enlighten me why last price is not given? Thanks.
When I click --> https://www.mql5.com/en/users/sukumarsikdar/partner I get a response --> No affiliation links generated. What is the correct way to use that partner link and become an authorized partner?  Thank you.
Trying to count the number of times that the Ask price goes above the High of the day.  Only seem to get zero, with the following code.  Can someone tell me what I'm doing wrong or missing?  Seems like this should be pretty simple.  Perhaps code is only being seen as a true or false condition....
Hi How can the auto renewal functionbe cancelled so that at the end of the subscription, the renewal does not happen, for both a Signal and a VPS? i.e. will the unsubscribe cancel it now instead of waiting till the end? Thanks
Hello everyone, is there any script that can inform us in the middle of the screen the value of profit or loss like this image in Ninja Trader that works in MT4? Waiting for answers s
  Flexible Time Charts for MT4  (84   1 2 3 4 5 ... 8 9)
This gives you 96 time frames including tick. You can chart on the bid, the ask or both and there are a host of other options. Since someone threatened to make something similar to this and sell it as a commercial product. Here is a free one that I made. You must have stderror.mqh, WinUser32.mqh...
Please explain how do I subscribe some one signal direct from MQL5.com while his signal is not available in showcase of MT4 Regards
  The Murrey Math Trading System  (1707   1 2 3 4 5 ... 170 171)
Description of trading system (zip'ed html file) and some indicators (with the description inside the code - use MetaEditor to read).
  Expert  (37   1 2 3 4)
What features should be a good expert ?
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
Hey guys! I wrote a small EA sending alerts to the terminal ,however, whenever the condition is met, it sends an alert every second.. Would you please help me have only one alert when the condition is met? Thanks a lot, the code is below! Martin #property copyright "Copyright 2019,...
  Signal Systems  (369   1 2 3 4 5 ... 36 37)
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
  Mr.Nims, Renko Ashi Scalping System.  (3540   1 2 3 4 5 ... 353 354)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
  Something Interesting to Read  (58   1 2 3 4 5 6)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
Hi is there signals that is suitable for US market? No martingale  no hedging and low leverage, 1:50
When our account details are with one signal provider and the balance and leverage are the same! how is it possible? The signal transmitter trades 3 lots But it trades in my account of 0.05 lots How to make the transaction equal? Please help me
  News Straddle EA  (2)
HELLO ! I need a straddle EA  or pending order EA for forex.
  55bc  (178   1 2 3 4 5 ... 17 18)
*sorry for the long post i wasnt sure as to post this method or not as it is not 100% mechanical,which is what the majority of people(or should i say people new to forex and scouring the forums) are looking for these days or even worse some sort of bot to do it for them. as i say not 100% mechanical...
HI,Which strategy is best for BTCUSD?
Hello I signed up with a signal provider and I allwoed 95 percent of my balance, but when the signal provider opens a trade with three lottes my MetaTrader opens just one lots. My order is as follows: I want to open a trade with the same lot as the signal provider. I want to open a...
  MONEY MAKING manual trading system  (521   1 2 3 4 5 ... 52 53)
Dear All, As this is my first post on this forum you may think that i am a newbie which i am for sure in comparing with some forex gurus like Igorad, but after spending couple of years in losing money, researching, losing money, researching and finally earning money i don't feel like one . I...
Dear all, I am trying to backtest some strategies on mainly CFD's (NASDAQ, S&P500, CAC, EUROSTOXX, AEX) and XAUUSD. The history is however very short when I backtest smaller TF's. I updated and downloaded the history for all the products already obviously but when I put TF to 15 mins, it won't...
Hello. I try to use the Strategy Tester to test my EA, buit get the message "no more than 1000 symbols can be selected" each time. I guess it's because my EA tries to trade more than  1000 stocks and the MT5 limits the max number of symbols that can be selected.  I tried to unselect the symbols in...
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
The international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
Hey everyone, I`ve been trying to create a Custom Symbol that updates with the market. I tried using the Synthetic instrument formula but I get an "Unkown Parser Error" because the instrument starts with #. Does anyone know a way to circumvent this?
  Forecast and levels for S&P 500  (460   1 2 3 4 5 ... 45 46)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
Hello, Where can I find an example of EA to trade stocks or ETFs? An EA based on a moving average would be fine. Thanks in advance, Pierre
Just curious about anyone trading preferences, I mean what do you prefer to trade Forex, Stocks, Futures? Is well known that Forex is the greatest market hands down, but unfortunately it doesn't offer certain analysis tools such as true volume, the book or TRIN, TICK, VIX tools which can be very...
  Apple  (29   1 2 3)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is...
  Forecast and levels for Dax Index  (56   1 2 3 4 5 6)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
bahman3195
  Bitcoin forecast  (6)
Now and while bitcoin has extra ordinary movement who can suggest a reasonable strategy to forecast its next movement? it will break its current top or will it will be resistance in future?
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
  Forecast and levels for Nikkei  (33   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
  Dax future real-time data  (18   1 2)
Hi, anyone knows how to buy Dax future real-time data ? Thanks!!! 
Chicago Mercantile Exchange offers Currency Futures options and the historical data is available. Is there any backtesting tool for Currency Futures Options? I am looking at plotting the implied volatility of a constant delta options . For example the 30 day 25 delta for EurUsd futures contract...
Hello, I've been building EA's for some time now and it seems (to me) like I've finally made it. However, Im kind of affraid of running my bot on live account. Many tests were proffitable, dropdowns are small and tick history is 98% quality [report attached (unfortunately not in English but should...
HI When I transfer EA MQL5 to vps in a journal he writes it to me "initializing of 'My expert" failed with code 1", "Expert "My Expert" removed"What I do wrong, on my computer EA worked fine. Mathi
Please, how I can check if market is open or closed in MT5, I cant find answer. something similar to MT4 - MarketInfo(Symbol(),MODE_TRADEALLOWED) this command doesn't exist in MT5 anymore. Thank you
Hi, is there any idea how to check an account is under investor mode / trader mode using a function in MQL4? I have used IsTradeAllowed but it is actually used to check AutoTrading button. Thanks.
Basically, I want my EA to manage open trades with OrderModify().  My EA is programmed to take trades when 2 Moving Averages are crossing. Every time the 2 Moving Averages cross, it opens 2 trades. Trade 1: Take Profit = 1.0 * ATR Stop Loss = 1.5 * ATR Trade 2: No Take Profit Stop Loss = 1.5 * ATR...
please help me with an ea of this indicator to automatically open orders on blue arrow/red arrow order should close automatically on next blue/red arrow at the same time open a new order.. Thanks the indicator is the white zigzag line on this picture below.....
if EA does not deviation setting, is it set in MT5 option setting?
I got a little confused on this indicator I can't get the right values And the expert does not emit any signal I asked the programmers for guidance on this Thanks everyone//+------------------------------------------------------------------+extern int       MaPeriod         = 20;           // Hama...
Hello all,  I have a very simple code that uses exponential moving averages at 2 lengths.  When the shorter length crosses above the other then a long position is taken.  Sometimes it works.  That is ,when there is an obvious crossing I can see on the chart a long position is taken but at other...
Hi all, first post and am happy to join the conversation. I am having difficulty with a simple bot I am creating (not for live trading, just practice coding). The premise of the bot is simple: - It checks if the 2nd and 3rd last candles are either both bullish or both bearish - It checks if the last...
Hi, i am beginner with mql5 i have this function in MQL4  double get_Lot_from_last_ord(string SYM, int MAGIC){   double LastLot=0;   for(int i=OrdersHistoryTotal()-1; i>=0; i--)   {      if(OrderSelect(i, SELECT_BY_POS, MODE_HISTORY))         if(OrderSymbol()==SYM && OrderMagicNumber()==MAGIC)...
I place my orders with OrderSend function and I use the MqlTradeRequest to fill the order and my (type_filling) is equal to 2. when I run the test is buys and sells normally and it is shown in Operations and History tab in Strategy Tester Visualization but they are not shown in Trade tab. So if...
  Requests & Ideas (MQL5 only!)  (492   1 2 3 4 5 ... 49 50)
Terms and Conditions: You describe (you provide) the idea, I place an open MQL5 code in this branch, I place this code in a CodeBase. &nbsp, I specify the author of the idea and the author of a MQL5 code in a code, The coding services are provided "as is" and you use them at your own risk. List of...
Hi, I created a EA using Expert Advisor (generate), when i use backtest everything works fine, tp and sl works perfectly, but when i use the EA in the real market everything stops working. The EA opens a position and adds tp and sl but before the trade ends it starts another one but this time it...
double p2p;  //+------------------------------------------------------------------+//| Expert initialization function                                   |//+------------------------------------------------------------------+int OnInit()  {//--- if(Digits==3 || Digits==5) p2p=10;else p2p=1;...
Hi, I am having a few unexpected issues assigning previous values on a buffer. I get the array out of range error. I am sharing the code : for(int i=1;i<Bars(Symbol(),PERIOD_M1)-1;i++)        {        for(int k=ArraySize(info)-2;k>=0;k--)         {        // Print("1 ",info[k].symb," 2 ",info[k]...
Hello, I am trying to export just the today's date from every stock from my watch list (around 250 assets) using the following code (based on https://www.mql5.com/pt/code/1252). void OnStart(){        uint start = GetTickCount();//--- Get symbols from list        string strSymbols =...
  Daily Vertical Lines in MT5  (11   1 2)
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
datetime openTodayTime=iTime(Symbol(),PERIOD_D1,0); datetime openYesterdayTime=iTime(Symbol(),PERIOD_D1,1); int openTodayBar=iBarShift(Symbol(),PERIOD_M15,openTodayTime);int openYesterdayBar=iBarShift(Symbol(),PERIOD_M15,openYesterdayTime);Print("openTodayBar="...
I have been trying to purchase a technical indicator using a debit card from Mastercard. Each time I entered the Card number the box is highlighted in red and when I click on Place Order it does not process. What could be the Problem? Is it that Mastercard is not accepted for payments on this site?...
  Currency Strength Formula  (11   1 2)
Hello Guys I need help in creating the Currency strength formula that works on comparing the correlation of 8 major pairs that looks like below 50 is neutral, below 40 is weak currency, above 60 is strong currency Anyone can help on giving the formula on how to calculate those? thanks
  Dynamic zone indicators ...  (1584   1 2 3 4 5 ... 158 159)
It seems that David Stendahl can not help him self Where his name appears "attached" to some indicator or TA way, it sure is worth trying it out and studying it. The basis for these were originally published in the Stocks & Commodities July 1996 issue (attached the original article here). Do not be...
Hi, I got a csv file with a list of data: Datetime, and values. These are the values of an indicator at certain moments, calculated in excel/mathlab. How can I import these data to appear on my screen (either oin the main window or separate one) ? Thnx in advance for you help ! Twoci
  Indicators with alerts/signal  (15814   1 2 3 4 5 ... 1581 1582)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
  Renko  (5)
Hello I'm getting confused as how to apply renko to MT4 - I've read quite a lot, but it's not getting through my stupid head :-) Can anyone help please? Is there just an indicator I can drop onto the chart? Thanks so much.
  Overlaying indicators  (68   1 2 3 4 5 6 7)
Is it possible to overlay a BB onto the CCI indicator without special/unique coding? My coding skills are rudimentary at best. I thought perhaps it would just drag and drop, but that did not seem to work.
Hi, I need help in coding an indicator to show the interest rate chart of 2 different countries eg. Euro interest rate and US interest rate the indicator shall retrieve the date and interest rate from a CSV file. anyone able to help me with this? Thank you very much in advance.
  RSI indicator  (1426   1 2 3 4 5 ... 142 143)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": OverviewThe Relative Strength Index ("RSI") is a...
Dear MQL community for now just sorry for my question. Maybe for you it sounds silly, but there is no other professional which I could ask. My issue: I try to download a Oscillator from one of your developer: <link removed> And also I try to buy another products on the MQL-Market. But when I press...
Hi guys, i am using a struct to save DoM data into a file(TXT), but it has a problem, it is for passing a struct object , not a link or a reference. I tried doing that but didnt work. I am sending the code if someone can help.    Datefile file;   file.symb=_Symbol;   file.ask_volume=Ask;   file...
RSI Candles: Improved version inspired by RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968 Author: Soewono Effendi 
  Experts: RoNz Auto SL-TS-TP v.2  (197   1 2 3 4 5 ... 19 20)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
Wedge pattern: "Wedge pattern" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with Wedge pattern strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Average (Breakeven) Price Indicator: This indicator draws a horizontal line at the Average/Breakeven Price for multiple positions. Author: Agostinho Jorge Oliveira
Manual Hedging: Manual Hedging EA is an advanced hedging system.to trade manualy, each time you press the "Start" button, a sequence of trades begins ,When the market goes against you by certain number of pips, you open an opposite trade by a trade with slightly bigger lot size. Author: Aharon...
New article MQL5.community Payment System is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient...
New article Neural Networks: From Theory to Practice is published: Nowadays, every trader must have heard of neural networks and knows how cool it is to use them. The majority believes that those who can deal with neural networks are some kind of superhuman. In this article, I will try to explain...
New article MQL5 Cookbook: Getting properties of an open hedge position has been published: MetaTrader 5 is a multi-asset platform. Moreover, it supports different position management systems. Such opportunities provide significantly expanded options for the implementation and formalization of...
New article Developing a cross-platform grider EA (part III): Correction-based grid with martingale has been published: In this article, we will make an attempt to develop the best possible grid-based EA. As usual, this will be a cross-platform EA capable of working both with...
New article 100 best optimization passes (part 1). Developing optimization analyzer has been published: The article dwells on the development of an application for selecting the best optimization passes using several possible options. The application is able to sort out the optimization results by a...
Reversing Grid on Limit orders: Grid system with limit orders. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951 Author: Andrey Barinov
Forex market session indicator: This indicator shows the session of the four major forex markets:Sydeny,Tokyo,London and New York. It is helpful for day trader. Author: OldZ
New article Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies is published: This article is intended for novice/beginner users who want to approach some kind of customization with functionality and without writing an EA from scratch. In MetaTrader 5 we have a...
Support Resistance Trader: Support and Resistance lines are used with the Standard Deviation indicator for generating trade signals. Author: raposter 
RSI divergence candles: RSI divergence candles Author: Mladen Rakic 
  Traders joking, the beginning  (7589   1 2 3 4 5 ... 758 759)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
I've racked my brain around this language. Nothing makes sense to me. All I want is to get in and out of trades based on a couple of indies. ANY help would be appreciated. //+------------------------------------------------------------------+//|...
  How to make MT4 auto refresh  (52   1 2 3 4 5 6)
do u have indicator for MT4 auto refresh please i need it like crazy...
  New MT4 build 1184 error  (12   1 2)
There is a new MT 4 build that is forced upon us (/skipupdate does not work - as usual) Once when you allow it - whatever you compile, it will not work any more. Take a test - use something that works, rename the source and compile it. The old (not compiled with new metaeditor) will work, the new...
hi to everyone, i have a problem with my mt4 , after i add indicator or EA with ex4 to my mt4 folders i cant see them in indicator list and i just can see it in expert list and when i klick on it ,says that is not an expert so uyou cant run it. even in meta editor i just  see mq4 files and none of...
  BTC/USD  (2)
Hey everyone my name is Freja. I am into cryptos and the evolution all finances. I am interested in using MQL4 with BTC/USD. I just downloaded and have been searching for guides but all guide i find in search are for MQL5 i think? Can anyone help me find a guide, i'll keep looking in the meantime.
Hello everyone. I have an Expert Advisor I want to backtest on metatrader4. Unfortunately I have come to what I consider a real big issue. I noticed that when I test some trades starting soon before their moment, I have some profit results, but when the same situation  occurs when I'm in the middle...
Hi,  After I added the code below to my EA, my program just hanged without an error message. Can someone explain what is wrong with it? void OnTick()  {........... some code   while(OrdersTotal()==1)     {      if(BlueCurrent>RedCurrant)        {         ExitSellOrder();...
  floating spread  (5)
how they calculate the floating spread each tick ? for each broker is there any math equations to achieve that ? if you test too many robots on strategy tester absolutely you notice the big difference between real market environments and your tester's !!! the main difference is due to floating...
  Coding help  (7774   1 2 3 4 5 ... 777 778)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx
I would like to draw automatically on 30 MIN chart two lines (support and resistance) indicated by the last 300 bars. From the last 300 bars indicator should find two MAXIMUM BARS (ONLY 2 HIGHEST BARS AMONG THE LAST 300 BARS) and draw the RED LINE and from the other hand the same indicator should...
I want to add url request in MT4, But as I try and feed and click , mql5.com comes back and my request is not added. what to do for that?
Im wondering if its possible to set a delay timer between trades? I'm working on automating a strategy, but there are some times when conditions are met that trades will open and close faster then you can blink. I'm wondering if we can say "For the next 10 bars, do not open any new trades", or...
  General  (2)
(ADX is greater than its 10 SMA), How can I write this in mql4 language?
Hello, I am currently working on scripting an EA. I came to the point, where I need to know, what exactly the indicator buffer stands for. Here is an example: double  iMA(    string       symbol,           // symbol    int          timeframe,        // timeframe    int          ma_period...