To post a new topic, please log in or register
Question is above, This is my Plan: 1 : ->Signal 2 : opening a Position (remembering its SL Level) 3 : setting an opposite pending order with x2 the initial lot size and 10 pips TP and finally setting SL Below/Above your initial trade SL + 5 pips 4 : if your initial trade hit the TP (or...
Hi everybody, I am new at MQL4 coding. I have searched on the forum but I didn't find any answer or explanation. I am trying to write an EA to open an order when specific conditions are met: double RSI1 = iRSI(NULL, PERIOD_H1, 21, PRICE_CLOSE, 0);double RSI2 = iRSI(NULL, PERIOD_H1, 21, PRICE_CLOSE,...
Hi Everyone... If you were to buy an MT4 signal from a seller in MQL5, What would you be looking for?      Maximum Profit,      Reliability,      Profitable Within a month,      Intraday,      For under 50 USD,      Having Reviews,      Leverage 1:100,      Using rebots Thank you
Hi, normally, someone can get a handle of an (built-in-) indicator and add this indicator to chart via ChartIndicatorAdd(): int _handle = iMA(_Symbol, _Period, 20, 0, MODE_EMA, PRICE_CLOSE);ChartIndicatorAdd(CHART_ID, SUB_WIN, _handle); Can this be done with my own indicator (not built-in)? An...
Goodnight friend, please Where can I get in touch? with Service Desk? I'm not receiving support for refund of product. https://www.mql5.com/en/contact The seller is not offering support or repair of the code. Thanks hugs .................................................. ..........
I have been using MetaTester 5 for two months and made some money (workstation with 40 agents). However since last Friday, I do not receive any new work to do. My initial guess was it had something to do with my profile (rating 173). But then I looked at the MQL5 statistics (https://cloud.mql5...
Çok başarılı gösterge.find dipleri ve kum tepeleri. bu göstergenin metatrader'a dönüştürülmesi 5   // @ versiyonu = 2 Çalışma ('Leledc Exhaustion Bar', bindirme = doğru) maj_qual = girişi (6), maj_len = girişi (30), min_qual = girişi (5), min_len = girişi (5) maj = giriş (doğru, başlık = "Büyük...
Hello, What is the best currency pair to trade grid?
When I try to upload an oroginal photography made with samsung s9 for the identity card, when submiting the files, it says that these are invalid files. Any idea? Im sure that the file accomplish all the requirements in the form for seller registration
Hi, I have the file function as in coding section, it will work when the following is not inserted. The following code is inserted to only write once every hour. Kindly help why it doesnt work when code to write once every hour is inserted ? Also I would like to ask is it a must to use...
For EA, when i should use property strict and when i should not use it? PS: What is recommended by a programmer?
  Python with mql  (5)
How do I integrate Python with mql
Hello, I've created an EA for an indicator in the marketplace. Since the indicator needs to be loaded manually onto the strategy tester chart sub window in order to work, it won't trade if it is run alone in the tester. The validation check returns the error that no trades were made. In order to try...
Hello world! I have my MQL-Developer Collegue here on Freelance. We want to sell (Market) the same product we developed together. Is it forbidden or? Thank you!
How do you read this word :  " GUI " ? /ˌdʒiːjuː'aɪ/   or   goo---ee
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
  Scalping system  (161   1 2 3 4 5 ... 16 17)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
Hello to everybody, I try to run this chunk of code double price = 0;double sl, tp;price = SymbolInfoDouble(Symbol(),SYMBOL_ASK)+offs*point;sl    = price-stopLoss*point;tp    = price+takeProfit*point;if (m_trade.BuyStop(0.01,m_symbol.Name(),price,sl,tp,ORDER_TIME_GTC,TimeCurrent()+86400)) {...
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
A lot of traders announce that they are able to make $1000 a day. Although I mostly greet them with disbelief, I have decided to raise the issue here to see whether anyone is REALLY making that much per day or its fake? I am waiting your good replies.
hello,  ive been testing this EA to see if its the one for me but I keep getting gob smacked, the results differentiate every time I test it  ive tested it on two brokers with the exact same spreads, different results  ive tested it on the same broker but on two different accounts that has the same...
I was looking for but I didn't find it, so I am turning to you. Expert: When I enter the deal manually. Processes open positions sets TP and SL. After SL is in positive numbers. Shifts SL to positive numbers. Does anyone have it? Thank you
I plan on copying trades from MQL from a trader, however want to connect 3 accounts to the same trader. Do i have pay individually 3 times separately with 1 MQL account? is that possible? Or i will have to create 3 separately MQL accounts and make the payments from each MQL account separately? 
This system is based on Metatrader charting. The tools needed are the following: 1. 15min EURJPY chart 2. Heiken Ashi 3. SMI [STOCHASTIC MOMENTUM INDEX by William Blau] First indicator window (Settings: 14,10,14,5) (Levels:+40,-40,0 4. Stochastic Oscillator [This one in the second indicator window]...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
Hi All, I hope this has not be answered somewhere before, but I can't seem to find the answer. I have written an indicator that sums all of the positions in a particular instrument, and works out the cumulative target value, and risk in terms of the deposit currency (ZAR in this case). I am using...
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
Hi guys, I need some help with his code. EA opens 2 pending order at a specific time. If one of it is triggered the other one closes.    if(Hour()==StartHour)//MinPipLimit*MyPoint) //v3.0      {       ticket=MarketOrderSend(Symbol(),OP_BUYSTOP,Lots,ND(Ask+(MinPipLimit*MyPoint))...
Hello to everybody, I have a little problem, because of my little knowledge of MQL5 language... Once I open an order, using OrderOpen() of Ctrade class, now I want to know to check its status at every tick; i.e. I want to know if it is still opened or instead closed because of TakeProfit or StopLoss...
  Volatility Expansion system!  (159   1 2 3 4 5 ... 15 16)
There are so many systems out here based on indicators and it takes so much time to go through all of them to see which one deserves merit,I simply did not feel like adding one more. However most are indicator based and lagging indicators make it difficult to really simplify trading decisions and...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
  MT5 real FUTURES broker  (24   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
  Forecast and levels for Dax Index  (51   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...
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
I have been searching for this Index, MSCI Taiwan Index or TWIXUSD, can't find any on MT4 or MT5, anyone know of any brokers that provide them? tks
  Forecast and levels for S&P 500  (459   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...
There is an opinion that from time to time some great capital, who knows SL in small enterprises, is playing against the market to defeat them and their machines. On mql5.com, I read that in the last days there was a loss of 4 to 5 million baks in the group of salesmen. This is a huge loss of...
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...
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...
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
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...
When using MT4 Strategy Tester for CFD strategies, I noticed that the historical data for CFDs went back to only 2015, whereas FX historical data went back to 1980. I tried to download more data from History Centre, but I got the notification 'No new data for this pair' Is MT4s CFD historical data...
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...
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...
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... ->...
I'm doing some testing with Metatrader 5 and trading view. The results, on Metatrader the same system make about double the trades.For what I understand when we perform a backtest on MT5, we download the data from Metaquotes, and of course is not the data of our broker, but for example EURUSD data...
Hi All, I've been using these forums for a while but not posted before.  I've been digging around but can't seem to find a full resolution to my query so here goes.  I see this as more of a logic problem and not specific code so haven't included any coding. I have an EA that runs on MT4 and runs...
#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...
Please some one can share how to calculate currency strength for particular pair, percentage wise in mql..? Or just the mathematics calculation ....?  
Hi,  I would like to know how many terminals can be setup on a VPS offered by MQL5 or others? Is there any limitations on number of charts and terminals?
I have a new VPS with about 20 EA's on it. I am at IC Markets. I loaded the EA's first and then bought the VPS service on MT4 platform. Does anyone know what I did wrong and how I can fix this? Thank you for your help. :)
Currently I have 6 EA doing my trades in future indices. Can I create a signal for each EA ? And the other end follow each signal or all together ?
Good morning all, I am new to coding just started last month taking my first course. I cant seem to find any topics on it, How does one go about coding a renko based strategy, for example if the last bar was green, buy. vise versa . Any insight would be much appreciated! thanks!
  Requests & Ideas (MQL5 only!)  (450   1 2 3 4 5 ... 44 45)
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...
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.
Hello there.. I'm new in MQL5. I'm planning to migrate my MQL4 file to MQL5. I wanna create objects that exactly point to price and time like DASH SYMBOL in MQL4 that are not supported in MQL5 anymore. I just found 2arrows that do that things in MQL5: OBJ_ARROW_LEFT_PRICE, OBJ_ARROW_RIGHT_PRICE I...
Hi, Im currently trying to create an EA which i have 70% done. This EA will use a Markets day trading hours  (for example, the ftse day trading hours) only with the entry points being the High/low of this period and opening of this market being below/above the high/low from the previous days range...
Hello everyone, I find this indicator intriguing and with great potential. The only thing that's missing is an explanation for the settings. What do the parameters mean: "leftbars", "rightbars"? What do the numbers above the signals mean? How does the indicator show the trend, not just the points?...
I'm pretty new to mql5 and are trying to create an indicator, what i want is simple, but i seem to be missing something from it. I want to compare the close price of the 2 bars by the minute, if it is more than a certain value, it adds 1 to a indicator (Array?) So Say Bar A-1 closes at 1.555 Bar A...
i had coded an indicator that works fine but it want not work on a affline chart like renko or range chart i dont know why and what is the solution ?
  Zigzag indicators  (624   1 2 3 4 5 ... 62 63)
Different zigzag's indicators please post here.
All Arrow Buy/Sell with Alert, but only arrow without oscilator etc. ?! Pure chart with alert arrows, points ;). Stoch comeback cross arrow with alert ? RSI comeback cross arrow with alert ? CCI comeback cross arrow with alert ? ASI comeback cross arrow with alert ? Williams comeback cross arrow...
Nonrepaint RSI indicator that will assess and display trade recommendations.Alert will sound when trend changes to up down or sideways.Do not have to worry about this one repainting.
Hello. I´m making my first indicator for MT4, how can I tell the indicator to signal me only if the close of previous candle close was xx pips or closer to xx MA? I would love it to be universal so it would work for both gold and mayors. Thanks a lot
I need an indicator of MACD alert when crossover specific value (+ and - values). may anybody help . Thanks
Hey guys, can someone please help me alter the code for the ATR indicator? I simply just want to get a notification alert (mt4 or email) for then periodA ATR > periodB ATR Any help is appreciated, thanks!
  Moving Average  (1519   1 2 3 4 5 ... 151 152)
Post all MA indicators here.
  Laguerre indicator  (151   1 2 3 4 5 ... 15 16)
Laguerre indicator: According to Ehlers description.
Hello everybodies, A new version about my chart clock As always transpareny and move it with a simple mouse click . better synch with the Pc timer and automatic synch with it  check the code if you want to change any parts of that clock Hope that will give you a nice help in your trading :) If you...
Hello Can anyone signpost me to a non-repaint MA Cross indicator? I've looked at so many but still struggling to find the perfect one: have been right through the Market also. Thanks so much!
  Read only input  (1)
In previous version I used input const string something="/---Next Values are for simulation--"; to display a readonly string in the input grid. This approach does not work anymore in the current version. How can  set a readonly sentence or input? Thanks
All Market Symbols and Data extraction script: Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted. Author: mgaforex
Multi Forex Scanner: Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria. Author: Carlos Oliveira
DayPivotPoint: Indicator DayPivotPoint System with Signal and Alert for MetaTrader 4 Author: Roberto Jacobs
New article Applying Monte Carlo method in reinforcement learning has been published: In the article, we will apply Reinforcement learning to develop self-learning Expert Advisors. In the previous article, we considered the Random Decision Forest algorithm and wrote a simple self-learning EA based...
New article Trade Operations in MQL5 - It's Easy is published: Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development can also be...
Linear Weighted Moving Average: Linear Weighted Moving Average Author: Mladen Rakic
ZigZag separate: ZigZag separate is a MetaTrader 5 version of one indicator that was floating around the net as a wonder indicator for MetaTrader 4. Author: Mladen Rakic
New article Automatic Selection of Promising Signals has been published: The article is devoted to the analysis of trading signals for the MetaTrader 5 platform, which enable the automated execution of trading operations on subscribers' accounts. Also, in this article we consider the development of...
New article Mini Market Emulator or Manual Strategy Tester has been published: Mini Market Emulator is an indicator designed for partial emulation of work in the terminal. Presumably, it can be used to test "manual" strategies of market analysis and trading. Here are the main actions that can be...
Trend Line: "Trend Line" EA draws Gann Fan on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Exponential moving average: Exponential moving average Author: Mladen Rakic
  Experts: TryME  (12   1 2)
TryME: try me... Author: Antonis Michos
Easy Canvas (iCanvas): The library and iCanvas class simplify writing programs using Canvas. Author: Nikolai Semko
Simple moving average: Simple moving average Author: Mladen Rakic
  Experts: Sophia1_1  (22   1 2 3)
Sophia1_1: My first trading System using simple pattern. Author: Giulio Bucci
For the purpose of reducing the exposure to slippage, is there any difference between using regular stop losses embedded in open orders or using OrderClose() function at the relevant price level? Which method would you advise? Thanks.
Is it? Anyone tried both and care to tell me is the Linux hassle worth it for stability or anything else?
Hello forum! I was wondering if anyone knows a way to share account growth information with investors without showing trades, balance, etc. Basically a way to only show the growth percentage of an account to a third party. Thanks in advance for your input!
Hi i'd like to limit the use of an indicator so it cannot be used in EAs but i'm not sure if it is possible thanks for help Jeff
Hello everyone! I have developed an indicator to draw RSI sensitivity (for the sake experiment). What I want it to draw, is two lines which gives RSI sensitivity each for a bearish and bullish candle. But it draws nothing. Can anyone help me to find where I took the wrong turn? The code is attached....
Or knows how to fix this error? I can’t commit any code since yesterday.
  iClose returning wrong value  (26   1 2 3)
Hi! I'm having a very strange problem when trying to access the close price of the candle in another timeframe. Sometimes the value comes right, but sometimes it comes wrong. Any idea what might be happening? Code: input ENUM_TIMEFRAMES     UseTimeFrame  = PERIOD_D1;Print(iClose(Symbol()...
  Error # 130  (2)
In this function, I'm getting error # 130 at the "else" section (underlined) of the OrderModify(). What is wrong here? Thanks a lot. int targetRaw = 40;double target = NormalizeDouble((double)targetRaw / 10000.0, 5);void Sell_Order(double price, double stopLoss, double takeProfit)  {   double...
OrderTakeProfit() does not show the actual take profit price if you modify the take profit value of the order, it shows the original value (it was 0 in my case) present there before modifying. Is this a normal behaviour or known bug?
i tried to test my ea by the strategy tester , but it open only sell order. what 's wrong? //+------------------------------------------------------------------+//| 200SMA_CCI25.mq4 |//| Copyright 2015, MetaQuotes Software...
Hi everybody, It's the first time I'm posting here, so: apologies if I don't respect some forum rule which I still don't know. I have a question about "off quotes" error. In one of my MetaTrader4 account (broker: CMC) - which is a "Market" execution type broker, I had, some time ago, an off quotes...
  Traders joking, the beginning  (7439   1 2 3 4 5 ... 743 744)
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...
  Coding help  (7769   1 2 3 4 5 ... 776 777)
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
when I load the history, MT4 skips the months from November 2018 to today as you can see in the picture, I tried several times always deleting the previous data, but MT4 do not load the months from November onwards ..
I'm trying to write a custom indicator usually i press F5 and it compiles and I see the changes immediately on the live chart except for any changes in init() I'm using arrows which are sized in init() like so int init() int size = 4; SetIndexBuffer(2, signalUP); SetIndexStyle(2,DRAW_ARROW...