To post a new topic, please log in or register
when I use backtest in mt5 , how to set symbol's spread to others
  Say & Ask anything/everything  (198   1 2 3 4 5 ... 19 20)
If you have any question or you want to say something about anything/everything, then you can ask /say it here. I mean anything and everything - including about moderators :D Mql5.com itself, it's section (English section, Russian section, China section (there is Chinese section for mql4.com) and...
  Become an Author at MQL5.com!  (144   1 2 3 4 5 ... 14 15)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
Anyone ever successfully build/design an expert advisor for the US futures markets (ES/NQ/YM/RTY)? I'm curious, as most of what I'm finding on the market is for the forex market
  Warning!  (14   1 2)
This warning is really annoying, I don't know why the developer team won't fix it. This warning is nonsense when a global variables name is the same as a local variables name in another file. The compiler should generate the warning only when both declarations are in the same file. When we use a
Hi all, I have purchased 2 EAs directly from MQL5.com but stopped trading for awhile. My VPS account has been cancelled and I have installed a new OS on my PC. The seller had decided to stop selling those 2 EAs. I have saved copies of the 2 EAs but they don't work when I attached to a chart. The
Hi, every1 I have some questions about signals, I would like to know if this is a good business What aspect could go wrong? 1. slippage? 2. changing of the market? 3....? what else...? 30 usd monthly worth it? Thanks a lot
is there anybody knows name of this indicator on mt5? I use this indicator on mt4 but can not find it on mt5, it is used to extend the candle bars instead a big candle like this
Hi, I have a question. I have one MT4 installation with 4 subaccounts from the same broker running in that terminal. and I subscribe to one signal from MQL5 for each broker account (4 broker account, 4 MQL5 Signals). That setup is correct? Or Should I install and run one MT4 terminal for each signal...
hi there i have been wondering for a while, and didn't got any luck in answering by myself situation: an EA is running and creates a deal/position power failure relaunch of EA doubt: does the EA automatically recover the deal/position and keeps track of it, or it needs to be inserted somehow in the
Hi Pros, With futures I have extreme spreads at the end of the trading day and at the start of the trading day. Crazy ticks - spreads of 50 points and more. So i have learned that i can manage my EA to work at different times... But how can i secure existing orders (stop los, limit orders) not to
Hello, Could you please add shortcut to deselect all objects on chart in MT5? This could be really helpfull. Best regards, Pawel
hi i have a code tha tell me what is the lowes bar price (x) at pervios 100 bars and tell me what was the rsi value (y) of this bar now, i want to know when the price cross under x if the current rsi is smaller or biger then the preivos rsi (y) the problem that when the price cross under the "x" its
Hey its been almost 4 days , had issues with the developer he didnt code what i wanted and we decided to cancel the job . the job has been cancelled and i have not received my funds yet . when will i get it
Hi Does anyone Know how it is possible to have 2 MT in one system that every one works with different broker
  Forex Correlation Theory  (36   1 2 3 4)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
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...
  Scalping system  (180   1 2 3 4 5 ... 17 18)
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...
Can anyone tell how to trade ? Open Date Close date Symbol Action Lots SL(Pips) TP(Pips) Open Price Close Price Pips Profit (USD) 12.19.2013 08:53 12.19.2013 15:05 XAUUSD Sell 50 93.4 1204.24 1194.9 93.4 46400 12.19.2013 08:53 12.19.2013 15...
  Dual Candle-stick Strategy  (36   1 2 3 4)
Dual Candle-stick Strategy My 4HR Dual Candlestick strategy is based on dual candlestick patterns in which the second candle is completely contained by the high and low of the first candle. Using two indicators for this strategy are Bollinger Band (20,2, close) RSI (14, close, Levels 30,50,70) Long
One strategy I can use is Andrew's fork
  Simple Martingale EA  (12   1 2)
I was wondering if someone could create a very simple EA. its based on a martingale strategy but without opening multiple orders, the EA would work like this: 1- Open Long/Short 2- Set a SL and TP (ex. SL 10 pips - TP 10 pips) 3- If SL is hit another order is open oposite the first order with the...
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
HI,Which strategy is best for BTCUSD?
I've been working sooo very long on trying to creat a successful forex system. I've bought tuns and tuns of systems and have downloaded thousands of indicators. My history is 3 years in the forex trading world and have had some successes and many failures, mostly due to poor money management for the...
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...
Hello everyone, i have one goal and that is to find the best candlestick pattern to trade. But i am not interested in just some random listing of patterns, like: "engulf, morning star, hammer,...", i want FACTS, i want to see serious analysis, do you have it? Can i repeat it? Do you know for some
  KiS  (20   1 2)
Indicator using for the KiS trading strategy. Used mainly for EURUSD M30.
hello, I was wondering if there is a script or a small function i can add to a chart with a EA.., that trades the EA the same way , but trade the signals opposite of that they would have been. where buy signals would become sells...or sells become buys.. but everything else in the EA would function
I've developed a strategy which it's working fine on flat trends such as EURUSD and some periods of other currency pairs , so I would like to adapt it to work multipair
I am trying to find an MT5 order entry tool that has features such as custom order templates, Market/Pending orders, OCO orders, and/or hot keys to speed up order entry. It would also be great if you could choose to enter your SL and Target using ticks instead of price. I have looked at quite a few
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
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...
  Apple  (39   1 2 3 4)
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...
I've searched through the internet, but did not find a documentation or informal data on proper order book (Depth of Market, DOM) structure and content. There are numerous articles about what the order book is in general and many examples of trading by it. But there's no exact information what is...
New article Principles of Exchange Pricing through the Example of Moscow Exchange's Derivatives Market has been published: This article describes the theory of exchange pricing and clearing specifics of Moscow Exchange's Derivatives Market. This is a comprehensive article for beginners who want to...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
A variety of integration gateways to liquidity providers and stock exchanges have recently been developed for MetaTrader 5 trading platform. Using these solutions, brokers now can greatly improve their business and enter new markets. We have decided to summarize the first integration results and...
  Welcome to the new section!  (21   1 2 3)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
hi can i turn mt5 as a binary option platform to close the deal in the active time with API or other method & how? thanks
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...
As far as I know , there are three kind of bar, time, tick and volumn. time bar--prints a bar for every x number of time, such as seconds, minutes,hours and so on. tick bar--prints a bar for every x number of trades,If someone trades 1 contract in a transaction, that counts as one trade. If someone
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  McDonald's  (14   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Forecast and levels for Dax Index  (64   1 2 3 4 5 6 7)
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...
I have seen many topics around this subject, but i am finding it difficult to understand. My trading algorithm sets my stop loss to 1.5 x the ATR of a symbol. My risk is 2% of my Free margin. (Is free margin the best place to take 2% of my balance?) //--- ATR calculations for Stop loss and Take
Hi all,  Is it possible to do this? I'm opening a position with a order like this. 10 lots with stop loss and no take profit. CTrade t_buy;t_buy.OrderOpen(_Symbol, ORDER_TYPE_BUY_LIMIT, 10, 0, p, sl, 0, ORDER_TIME_DAY); Now when the order gets in (creates a position) I want to have 5 partial take...
Hi Folks, It seems like sometimes my EA is taking a little more time to send an order. As I'm trading in a very short of time (Scalping), I'm loosing money sometimes. So I'm trying to figure out if is there any part of my code is wasting time. The part below was extracted form OnTick. Void OnTick
Hi All, I have trawled through many of the previous questions regarding ST issues but so far have been unable to find a solution. So here goes: 1. I can test all indices in June and July except JPN225 which only runs successfully in July for some reason. 2. I have gone to the history centre and I'm
I have managed to code my strategy into an EA. I use the EA more as an indicator with the ChartOpen() function instead of the usual buy and sell orders. My strategy goes well with all symbols and all timeframes and would like someone's help in figuring out what im doing wrong. ENUM_TIMEFRAMES TF[]={
Hello, I wrote an EA and ran it on two different machines (Desktop and Hyper-V). The EA executes the trades with the exact same specifications but delivers different results in terms of profit and loss. What can be the reason for this? The differences are already enormous. See appendix. Thanks for
Hi everyone, sorry for my bad English. I'm new to the world of trading and c++ programming (just started a book to learn). Following the guides I was able to compile a mq5 file which draws a second Renko chart below the main EURUSD. ( Https://www.mql5.com/en/articles/792 ) Thanks to this graph I was
  how to close a position  (19   1 2)
Hello, how to close an opened position? For example, I opened a position in this manner: request.type=ORDER_TYPE_SELL;request.price=SymbolInfoDouble(Symbol(),SYMBOL_BID);   request.symbol=Symbol();request.volume=0.1;request.type_filling=ORDER_FILLING_FOK;request.sl=NormalizeDouble(stop_loss...
How can I integrate an indicator i bought on the market into an EA
In mql5, i made an ea that places multiple pending orders. Now when the stoploss of one of those gets triggered, i want to run a function that gets the input parameters (open price, stoploss and takeprofit) from that trade. I don't know how to start that funktion exactly when a stoploss gets
I have coded a robot but my knowledge of coding is limited so, obviously, I have added the functions I need but I see these are not working right. I am constantly modifying the code LIVE adding /if and /while according to what I am seeing in the market. So, my question is, Is there a preestablished
Hi all, thanks for this space. I'm currently building an EA that increments the operation's volume when the price goes above half of take profit's distance: stop loss is modified accordingly maximum loss admitted. Just to be more clear, here an example of a long position: Price Situation 1,1220
Hi, What are the function I should look for in source code of a EA to disable display of indicators (internal and customised) after a backrest with visual and non-visual mode
I programmed an EA that opens either buy or sell trades depending on the signal from a custom indicator. The custom indicator gives a signal on candle A then the trade is taken on the following candle B. The problem i have is that, the signal is usually not stable, for example if the indicator gives
Hi. My problem is I bought an EA few days ago. I run tests on it, everything was okay it showed the deals then I tried to use it in real time for trading and it doing nothing. Is anyone got any idea what is the problem? I would be so thankful is someone will help me.
if I right click in that spot, where i know the indicator should be, it shows me that it is there....but i can only see colors in the strategy tester, and only after the beginning of the strategy tester(not on previous data) I thought there was some problem with the code, but the indicator is
I've coded Fractal Indicator with a adjustable input variable. It looks working at first glance, but sometimes it doesn't display fractal sign when it should be there. ( Picture attached below) Im new to this language and community. I have no idea what causes this problem. If you teach me what is
  Joseph Trend Index  (10)
Hi everyone. There is a indicator on Advanced Get Software called "Joseph Trend Index" or JTI. Someone use it for identifying the smart money in the market specially in the stock markets. I did search the forum and didnt find it. Does anyone have it for meta trader? If so; please upload it on the...
I'm transfering an indicator from MT5 to MT4. But the OnCalculate is based on data array. Like OnCalculate The function is called in the indicators when the Calculate event occurs for processing price data changes. There are two function types. Only one of them can be used within a single
Hi again, So this is my second indicator. And this indicator is created to be able to follow Jperl's Market Statistics thread on Traders Laboratory. Please read this summary document of that thread first. After reading that document lets discuss how can we use this approach in Forex trading... I am...
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...
======================================================================================== formula this indicator input symbol1 = currency 1 input symbol2 = currency 2 SpX2 = Absolute(Close from currency 1 - Close from currency 2)*100,000 and have zero line now Plot "SpX2" to chart same  macd and RSI...
[Deleted]
  Multi Timeframe Indicators  (12215   1 2 3 4 5 ... 1221 1222)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Hi everybody, I try to develop in MQL5 a function multi iRSI, i wish send in a parameter the TimeFrame for calculate and this return the value. I have this example but i need write a function for each timeframe, it's not practique. How i develop just a function multi time frames? Thanks :) double
//+------------------------------------------------------------------+ //| SimpleMA.mq5 | //| Copyright 2020, Julio Monteiro | //| https://www.mql5.com/en/users/havok2k/seller |
Hi, i have a very simple question but i just can't figure it out. the syntax just doesn't work and i've already tried a lot of cominations. i have two symbols in the market watch, the ws30m and the @YM. so i want to calculate the spread: double Ask = SymbolInfoDouble(_Symbol, SYMBOL_ASK ); // i'm
  Update or delete line  (16   1 2)
Hi I have an indicator that draws a line at candle open of 1h timeframe. Then I switch to 5min timeframe. When 1h candle is closed and price moves, the line that has been drawn previously is not deleted and a new one is drawn (still in 5 min tf). How can I delete it and recreate it? or rather update
Anyone with support and resistance indicator with its inputs parameters and buffers? I will put it in EA and share with
TMA+CG mladen nrp (1) TMA+CG mladen alerts mtf nrp. Hello guys, some help please. Im having trouble receiving POP UP alerts from the above indicators. I have set the appropriate alarms to TRUE but still no success. Other indicators used are sending alerts. Any help would be gladly appreciated. TIA
I have an indicator that I'm using iCustom to feed an EA. I can get the value from Buffer 0, seen below with a value of 1. But when I go back more than 500 bars, even though I see a value of 1 in the date window, the value it returns in iCustom is EMPTY_VALUE. So I thought maybe it was stored in a
Power of NZD with average : Power of NZD indicator shows actual strength of currency NZD calculated of 7 pairs that contain NZD. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR NZD, GBP NZD, AUD NZD, NZD USD, NZD CAD, NZD JPY, NZD CHF. Author: JAN
Stochastic Buy Sell Arrows with Alert: Buy and Sell arrows based on exit from overbought and oversold region in Stochastic Oscillator. Author: Nitin Raj
Support Resistance Trader: Support and Resistance lines are used with the Standard Deviation indicator for generating trade signals. Author: raposter 
Script to close all negative trades first and then followed by positive trades : Usually when we close all trades, it is always from the last trades to the first one. Therefore, there will be positive and negative trades jumble up your closing trades history. Author: Syed Naufal Gaddafi
New article Payments and payment methods 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 Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 is published: In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'....
New article Interview with Andrey Barinov (ATC 2012) is published: It was on Friday of the Championship's first week that the trading robot of Andrey Barinov (Wahoo) occupied the fifth place in TOP-10. Andrey is a newcomer in the Championship but he has already managed to execute more than 100...
Ocean theory - natural market slope : Ocean theory - natural market slope Author: Mladen Rakic
FiboPivotCandleBarMT5: FiboPivotCandleBar MetaTrader 5 is a composite of several forex indicators, Fibonacci,Pivot Point, ZigZag, MACD and Moving Average which are combined in this indicator. Author: Roberto Jacobs
New article MQL5.community - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in MQL5.community and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
Money-Meter: The indicator measures money on a chart. Author: transcendreamer
5Mins Envelopes Scalping : This Expert Advisor based on Envelopes indicator from MT4, my best TimeFrame is 5 Minutes on GBPUSD. Author: coocker71
  Indicators: Harmonic Pattern Finder V3  (66   1 2 3 4 5 6 7)
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
This ia an rainbow MA indicator based on SMA: This indicator uses various SMA to indicate a possible reversal point. Author: dipdeb2017
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
Can someone please see why this code is not Compiling. Am studying an online course, where we're making a simple 2 Deviation BB Strategy (for educational purposes). Thanks in advance. Mike //+------------------------------------------------------------------+ //|
hi guys if i draw by hand a rectangle is possible by script have a coordinate in chart and dimention ?? anyone have some example thankz
Hi I am in the process of learning MQL4 and would like to seek advice on how and where to define the functions properly in my EA as I am struggling to get it to work. Below is the general sequence of events I am trying to code. 1. On every tick, count the number of open buy/sell orders 2. If the
There was no problem with my EA, everything was going well until I discovered these facts. First I assume it's a technical problem with hardware, signal stability or maybe my broker. but some of these conditions I have dig deeper and found that it is in Metatrader 4. Is it really like that? can any
Hello, I'm populating the previous 5 indexes of a custom buffer every 5 minutes via a function which I am calling like so: #property indicator_buffers 12 #property indicator_chart_window double ExtBuffer1[]; int OnInit ( void ) { SetIndexBuffer ( 0 ,ExtBuffer1); } void updateBuffer( double &buf[]
Here is my script code. It does not return the proper values. //+------------------------------------------------------------------+ //| Test 2.mq4 | //| Copyright 2012, MetaQuotes Software Corp. | //|...
My account was emptied by a broker aligned with Intan Technology-live. They manipulated the data to show a drop of 90points in the price of gold which emptied my account. However, the charts don’t reflect this and there is no drop in the gold price at that time. In fact the price of gold has
Hi somebody knows where can I find the ichimoku with displacement settings for mt4? the default version has only 3 inputs it's missing the displacement setting, thanks in advance
Hello and if someone would please help with coding simple yet I believe would be a great scalp counter trade strategy if you can master this. I have been testing this and I believe that I have pretty much mastered it to where I can trade this 100% of the time and be successful at it. I just don't...
  Modify Error 1  (8)
Although this EA works very well, I think there is still room for improvement. For example, there is an error [modify Error 1] which does not interfere with its operation, but which I cannot fix. I did several searches to correct this problem, but unfortunately, I did not find anything precise, for
Hi, I want to apply the logic to an EA with the indicator attached to check for the previous 1,2 o 3 candles and where the maximum was in that candle, top or bottom and what type of candle, providing the maximum an X trigger value. Could I use iCustoms for it? It would work like an OrderFlow
  Coding help  (7816   1 2 3 4 5 ... 781 782)
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 have an EA (Expert Advisor) that does all my strategy, but I would like that whenever he issues an alert, another indicator copies the alert. Because the automated system I use, it only accepts an indicator as a signal and does not accept an EA (Expert Advisor). Does anyone know or have this code
Hi Good people Hope you are doing well I have an issue which hopefully someone could help me. In a computer A I login as an investor in MT4 platform. In computer B an order executed but in computer A where I login as an investor the trade was not show up immediately in the terminal trade tab. There
Attemtping the fastest tick by tick MT4/MT5 backtest possible; what are your recommendations? Thought about building a gaming PC without the graphics card; is this approach OK