forex forum for traders and developers

  OnChartEvent Mouse Move  (17   1 2)
I wonder why the following code does not make any print, i did think the Mouse Move Event is clear thing, but looks like dont work? void OnChartEvent ( const int id, // Event identifier const long & lparam, // Event parameter of long type const double &
hi How can i get all symbols and check a functionon all of symbols continuously? like a expert but i want to run on all symbols. for example i want to check all symbols RSI value and return symbols that have rsi=30 and run continuously, not run for one time like script. please help me. thanks you
  Forecast and levels for NZD  (193   1 2 3 4 5 ... 19 20)
NZD/USD April-June 2017 Forecast: ranging within Ichimoku cloud for direction  W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 38.2% Fibo level at 0.7163 located in the beginning of the bullish trend to be resumed, and, 0...
  Press review  (7051   1 2 3 4 5 ... 705 706)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
  Cannot open file  (46   1 2 3 4 5)
Hi, Since 2 days I have been unable to update my experts, each time I compile a new version, it runs fine on my local terminal, and when I synchronize with the VPS, it says it's ok but it's not. I have this message each time (whatever I'm using the Experts root or any subfolfer). 2021.07.27
Hello, is it possible to make a backtest with Renko charts where the prices of the Renko chart and the normal chart match
----- will CopyTime() do this? Looks like it also requires data loaded in the indicator. ----- so I'm looking for the equivalent of this but for a specific bar and return a date instead of a bar number. SeriesInfoInteger ( _Symbol , _Period , SERIES_FIRSTDATE ,first_bar) // or iBarShift ( _Symbol
How can I make a signal for an EA instead of the entire account? Doesn't make any sense for the whole account to be used for a certain EA
We have updated the Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Is MT5 server down since Sunday evening? I can't load any currency pairs in the strategy tester
General rules, enforced by moderators : Rules Please be polite when communicating on this website. Refrain from statements that may offend or insult other users, Negative discussions of any banking, brokerage and other financial institutions are not allowed, Any discussions about personal relations
I just would like to ask is it possible to move integrated VPS from MT5 account to MT4 account. I have moved integrated VPS between MT5 acounts number of times previously I without very problems. But I face such problems moving this to MT4. Perhaps I do something wrong or it's impossible
Dear Technical team, I started renting VPS from MQL5 two days ago and paid the monthly subscription, it started working fine on the same day and yesterday, but today it seems not connecting at all. Please see the attached file, yesterday was saying connected and today asking for subscription again
Credit/debit cards Wire transfer Paypal Skrill WebMoney Netteler Bitcoin (and other cryptocurrencies) Perfect Money Check Other (Please specify in comments.)
  Where are you from ?  (58   1 2 3 4 5 6)
I found this very nice topic , so I thought this would be a good idea to know a little more background of the participants in our forum, do not hesitate to let you know. Welcome traders of all countries
  Can you say forex is gambling?  (95   1 2 3 4 5 ... 9 10)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
  Vsa learning club  (65   1 2 3 4 5 6 7)
This thread is devoted to the begining phases of learning volume spread analysis...Here where going to try to cover all of the basic steps of learning the vsa approach to trading...The very first step is to read "Master the Markets" by Tom Williams..This will lay the foundation for this methodology....
Hi Please tell me your opinion on this subject. how to martingale strategy calculator for keep stable. cutloss% tp% ??? Thanks
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, If I change a Server will any trades open, close? If my platform is restarted for what ever reason, all my trades, which there are several, will close and likely at a lost. If there is doubt I will wait until the EA has closed everything and then change. Thanks and regards
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...
  Something Interesting to Read  (92   1 2 3 4 5 ... 9 10)
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 My bot is taking trade everytime once condition meet. I want my bot to take only 1 trade untill TP or stopless hit Can anyone guide
  Brainwashing System / Asctrend System  (247   1 2 3 4 5 ... 24 25)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First
Under construction - Stay tuned ! MT5 platform. Famous traders / Interviews. Indicators. Not yet Classified. Trading and The Laws of Abundance - Video about trading psychology How to Control Your Emotions When Trading. Part 1 How to Control Your Emotions When Trading. Part 2 What the forex...
Fractal Wave is by far the most conformative and practical theory in the technical analysis. However, it is also most underestimated theory too. In my opinion, ironically, this important theory is less popular. Hence, I decided to bring some educational materials here in the direction of making the
There are two paths to make money in Forex trading. Path Number 1/- You can catch your own fish in Forex Trading! Learn Forex trading. Now, this takes a lot of time, money and effort to fully understand and learn a profitable trading system or Price pattern. This is a short cut to hunt for dollars...
  Bitcoin miner  (1606   1 2 3 4 5 ... 160 161)
Hi! Let's say I bought MINING RIGS 500 NVIDIA - ROI EXPERT RIGS (500MH/S) and started receiving Bitcoins. The following questions arise: 1. How many bitcoins I will receive per day? 2. How do I cash them out
  Trade Assistant  (43   1 2 3 4 5)
Here is a new indicator I threw together this weekend. This is the beginning, I'm going to add more indicators to this one as I go along. Basically, this indicator gives buy and sell signals on multiple timeframes based upon stochastics and RSI. I was going to wait until I posted this one but even...
A good strategy should answer 5 questions: 1. Does our entry occurs in decent volume zone ? 2. Is there enough space for Candlestick to grow? (Avoiding OverBought and OverSold Zones). 3. Are we Aligned with trend? 4. Can we evaluate easily with naked eyes? 5. Is there low Risk Involves.? And Here's
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Yes, No, Interested, Not anymore
Hi, How can I get de expiration date from a Future Index, like the Description window (attached image)? I tried use the code below, however dind't work. datetime m_Expiration = (datetime) SymbolInfoInteger (_Symbol, SYMBOL_EXPIRATION_TIME); the date returned is D'1970.01.01 00:00:00'
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 CAC 40  (24   1 2 3)
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...
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 fastest economic calendar.  (66   1 2 3 4 5 6 7)
Hi all, can you tell me the fastest economic calendar where news are published online (forecast, current events)
Happy New Year. So as not to have to open a theme every month, I made one for the year at once. Just under 5,000, but it looks like 5,000 is coming
  Market closed  (111   1 2 3 4 5 ... 11 12)
You guys are the developers! When are you going to synchronise the terminal time with the Exchange time? 2017.01 . 13 10 : 00 : 03.969 Trades 'xxxxx': buy limit 2.00 ED- 6.17 at 1.0642 2017.01 . 13 10 : 00 : 03.969 Trades 'xxxxx': sell limit 1.00 ED- 6.17 at 1.0813 2017.01 . 13 10 : 00 : 03.975
Good afternoon! Question to those who trade with the MT5 robot. What is the order execution time? What is the ping in the terminal
At the 19th of October Ak Investment,one of Turkey's largest brokers, officially launched the MetaTrader 4 platform for Forex and CFD trading. The companynow offers its traders access to the rich functionality of thepopular platform — everything traders need from trading and analytical functions, to...
i wanted to ask this to the website admin but there's no way to contact them other than the chat bot. does anybody know if as a signal provider i can sell stock signals or is it only for forex
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
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...
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
Hellow, I hope somebody can help me :) I am storing a counter value in a variable. Each tick the value gets checked. For each time the value of the variable changes I want to perform a function. For example : variable = 0 variable changes to 1 > call to perform the function (one time) variable
Hi Everyone, ive been running a few different optimisations, and have noticed no matter what settings or pairs i am on, im getting capped at 10497 every time, has anyone had this before and anyone know how it can be resolved
In my EA I need to know how much money will I spend if I buy 1lot of current symbol. -- Pawel
Hello, I'm having issue with my time filter izit doesn't take trade on all instances evene if my setup show up within the specified time range on strategy tester while testing but if I increase the time session it might now pick up the trade
Hey all, I have written the following code to check if there is an open order with a matching symbol and magic number within my multi-symbol EA, but it does not prevent multiple orders from opening. The OpenTradeOrderTicket is a global array that is meant to store a 1 or 0 depending on whether there
Hi guys! I have developed an EA, with HFT strategy type, and the signals are working well, tested in scripts and single run, but when I am trying to do optimization, the results are coming as 0 trades in forex symbols and index symbols are working well . Does anyone have any idea? PS: I'm
hellow, Probably this is a newbie question but here we go. I regardless the discussion whether this is a good idea or not, what I want to do is the following as below : Instead of a stoploss, once my long or short order is triggered I want to set a sellstop (in case the long order is triggered) or a
Hello, I would like to understand how the TP works... If I open a request to open a trade like this: request = { "action" : mt5. TRADE_ACTION_DEAL , "symbol" : "GOLDmicro" , "volume" : 0.1 , "type" : mt5. ORDER_TYPE_BUY , "price" : mt5.symbol_info_tick(
Update NOTE: this thread I have SOLVED out by using a for..loop and if..loop to filter out NON Zero Values and got the Index of Bar(s) with price data. Need guidance how I can use Structured Array for index and price data, and create a new thread for it. Dear Members I have a double SwingHigh[] with
Hello everyone, I want to link a trial account to my trial account on the MT5 platform, but I am not getting any response from the platform. It does not give an error, but it does not connect. My English is not good. I couldn't search the forum. I am sad. please someone help
I am trying to backtest an expert advisor and limit the number of pending orders to 1. However, when I place an order using the CTrade class, OrdersTotal() is still returning 0. I found this forum post but to no avail. Here's the function I'm running and the output: void Buy() { double sl = iOpen
I am trying to follow the code this person is providing in his example (Code pasted below) #include<Trade\Trade.mqh> Ctrade trade;input int SmallMovingAverage=20;input int BigMovingAverage=50; void OnTick() { // Calculate Ask price double
Hello, I am stuck right now on my script. I can open an order (see first picture attached) but i can not define a Take profit. I tried with a number (like 2000 for exemple), I tried with a variable etc. Everytime my order is opened but the TP is 0.0 So, I tried to open my trade and to modify the TP
Let's say I have 50$ to spend on single position. It is 1/100 of my account - this is my strategy (EA). How can I calculate size of position in lots based on FIAT? I'd like to use the same EA for different markets - I don't want to hardcode position size
When tested to be traded why? Compiled Many times Changed the location return Comment out traded method Delete .mq5 file The result does not change //+------------------------------------------------------------------+ //| FXModel_exp.mq5 | //|
  Please Help!  (25   1 2 3)
The following indicator appears to have a bug. When switching to a higher time frame than the Daily, the indicator gives a series of Error messages informing the user that the "Chart period is greater than 1 day." Can someone fix this
I found this indicator on github. It loads in terminal just fine. When called via EA it fails. Alert: Error 0 while getting handle on Price_Density I replicated the error by using a test EA. Any help would be much appreciated. This is sample code of EA getting handle in OnInit, that generates an
  Divergence Indicators  (323   1 2 3 4 5 ... 32 33)
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
  Parabolic SAR indicator  (287   1 2 3 4 5 ... 28 29)
I am continuing posting information about indicators. So, we have information about Stochastic indicator We have the thread about Momentum indicator Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
Hello all. I would like a simple text note that I can put on a chart and decide where on the chart it will be and stay there (like upper center). I have such indicator for MT4, but no way I can find anything for MT5. All search results keep taking me back to how to code it, and I don't know how to
Hi community, I am fairly new to MT5 and started trading in MT5 since about a month back. I had two trades open on Silver Today and for some reason the value dropped for a second and all my funds were wiped out! Looking at Silver on other platform the value did not drop like it shows in MT5, it
I'm looking for versions of on chart MACD for MT5. Kindly post if you have any. Or post links to where I may find some. Most appreciated
  &quot;3d&quot; indicator.  (16   1 2)
I found this indicator, and i think it has a really nice potential. I think there could be an expert programmed on the basis of this indicator. The simplest is to do the expert that would do the following: Long position opens at the close of the bar during which the cross has taken place . Or on...
Hi all, I'm trying to copy only 2 years of history to my indicator buffer (I want to conduct some study on the 2 years of history of values) My problem is that when I run below code and check size of copied array it returns over 100'000 of 1 hour bars which is probably almost entire available
  Or function  (3)
please advise where I am making a mistake int OnInit () { //--- indicator buffers mapping string Pair = "EURUSD" || "GBPUSD" ; if ( Symbol ()!=Pair) { Alert ( "Wrong Pair. Please use EURUSD, GBPUSD Only" ); return ( INIT_FAILED ); } //---
  Multi-indics indicator  (468   1 2 3 4 5 ... 46 47)
Hi there, I come to present an indicator to you which I created and who could be useful to some people here. If you are interested, I would be happy to share it. You can see it attached below. Let me know what you think about it and i will be back with the code and instructions. For the moment, the...
Hello everyone, Do someone have the code for Daily and Weekly pivot point please? Thank you a lot
  Moving Average  (1544   1 2 3 4 5 ... 154 155)
Post all MA indicators here
Am coding a polynomial regression dashboard when price breaks the upper or lower channel line. Am using the i-Regr-2.0.mq5 indicator published here The indicator has 2 buffers for the upper channel line and lower line as below; SetIndexBuffer ( 0 ,hBuffer
I'm Looking for this color fill ma for MT5. Does anyone have it? Or one that is similar? Thanks.
  Indicators: Indicator Arrows  (13   1 2)
Indicator Arrows: The indicator draws up/down buffer arrows if conditions on one or two of the following indicators are met: Moving Average;MACD;Moving Average of Oscillator (OsMA);Stochastic Oscillator;Relative Strength Index (RSI);Commodity Channel Index (CCI);Relative Vigor Index...
AutoRisk : Shows your position size through a comment from any symbol chart based on a risk percent on daily ATR, you can use either balance or equity. Author: David Diez
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
Constant Range Channel : A simple indicator plotting a channel with a constant range Author: Fernando Carreiro
How to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. : Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs Author: Kailash Bai Mina
Rectangle in interval : In a given time interval, a rectangle is constructed. Author: Vladimir Karputov
  Indicators: MA_BBands_YXF  (48   1 2 3 4 5)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
Channel N Bars : Channel of 'N' bars at 'Low' and 'High' prices Author: Vladimir Karputov
New article Learn how to design a trading system by OBV has been published: This is a new article to continue our series for beginners about how to design a trading system based on some of the popular indicators. We will learn a new indicator that is On Balance Volume (OBV), and we will learn how we
Cumulative candle subwindow : Cumulative candle, taking into account High and Low Author: Vladimir Karputov
New article Introduction to the Empirical Mode Decomposition Method is published: This article serves to familiarize the reader with the empirical mode decomposition (EMD) method. It is the fundamental part of the Hilbert–Huang transform and is intended for analyzing data from nonstationary and...
DeMarker gaining position volume 2 : Version 2: extended functionality (added a few extra options) Author: Vladimir Karputov
New article How to create Requirements Specification for ordering a trading robot has been published: Are you trading using your own strategy? If your system rules can be formally described as software algorithms, it is better to entrust trading to an automated Expert Advisor. A robot does not need...
Kalman Filter modified : a bit more EA frliendly version Author: padbravo
Price_Channel: It's a well-known indicator that shows maximal and minimal prices (and average values) of the last n bars. Author: Александр
Is there anyone one can help me with those Codes? It's using Fibo retracement tools and SMA. 1. This codes are not working in Tester 2.I want to hide the SMA from chart. 3.The Fibo is counting some previous candles to draw Fibo Levels but I want to drow it from Previous day high and Low that's all
Hi, I had in mind to create a partition only and exclusively to use linux, I wanted to know from your experience if anyone uses it to program in mql4 and has had some kind of problem. For example, I use the MT4 in a portable version and download the historical data from dukascopy (like many of you I
I want to add this custom indicator in my mql4 EA. But I can not call it in my Ea . Some error are shown like as parameter error, unexpected token error,,etc
After I created custom order script and assigning custom hotkeys, I'm having issues with the hotkeys saving. When I exit MT4 and reopen it the hotkeys are not assigned to the scripts anymore. any suggestions
Simple MQL4 Code obfuscation technique Please read about obfuscation first here: Now I'm going to give an idea of some MQL4 Code obfuscation technique.. There was some time ago a site which was selling MQL4 obfuscator. It had...
Hi all, I have the following function where tries to calculate the time between the last closed trade and the current time. if the time difference is <> that a certain number of bars it gives a different result. that being said, during the backtest at some point the bar calculation begins to fail
In this thread I want to begin to help those who really want to understand and learn programming in the new MQL4 and want to easily switch to MQL5 - the languages are very similar. This blog will be a good place to discuss tasks, algorithms of their solution and any other questions concerning MT
Hello MQL5 Community, I'd appreciate it if you could help me with the following errors in my code. The first is at the beginning of my "int OnInit()" code, and the second is at the end: "return(point);" I had previously made some minor changes to the code in order to resolve other errors. I'm having
i noticed if the number of open charts are more than 5 this message window pop ups ... is there a way to avoid it
  Download history in MQL4 EA  (50   1 2 3 4 5)
I need 15M 1H 4H 1D 1W  for all 28 pairs for 30 periods back in my EA. I have used a very good tool in MQL5 published  here but is there a way of doing this in MQl4?
Hello developers. When I create a panel in MT4 using "CAppDialog" and when I save a template while the dialog box is active and then I load the same template in a new chart the dialog box becomes double and not working the way it should work. Please help me fix this problem
Hi I wrote this code. User input SL and TP and Volume.. The program with rand() function give us odd / even. For example: if return Even ,open buy position....and if return Odd : open sell position. After the price hit the TP/SL then open another position . (According to : odd/even) I have a
  Usefull links/threads/tools  (54   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
Hi there, I'm new to MT4 and having problem with TP. As you can see from the attached file, the TP of my short position has been hit many times and it didn't close the position. Later on, the price went back up and hit my SL and closed the position. So SL worked but not TP. Can anyone explain it to
Hi, i wanted to confirm all my reversal patterns for small bar. Also has anyone come up with a algo to tune oscillators like stochastic to bottoms on a trend, i've looked around but haven't found anything. // AN INSIDE BAR if ((High[ 2 ]-Low[ 2 ])/point >= 70 && Low[ 1 ] > Low[ 2 ] &&