forex forum for traders and developers

I need your help !! I install MT5 in new PC. Then, I selected EA. In the Input tab. I can not adjust parameter. Look like Input tab still "default parameter" How can I do
Someone has Standard desviation oscillator with a simple MA on just one file? I mean, an indicator that has these 2 indicators on just window on MT5. pLeaseeeeeee
Just paid for the Percentage crosshair indicator but can't login to MQL5 to download. Kept coming up with "incorrect login or password" but they are both correct
  Repainting indicators  (655   1 2 3 4 5 ... 65 66)
There has been a lot of discussion regarding repainting indicators. i thought to be a good idea to gather all the information in a separate thread. here some popular indicators that i know to repaint: Zigzags SilverTrend all Fisher , Solar and what ever they are called BrainTrend indicators: be
I've been using this code for Detecting & Getting price value of a Horizontal Line : for ( int x= 0 ; x< ObjectsTotal ( 0 ,- 1 ,- 1 ); x++) { string objn = ObjectName ( 0 ,x,- 1 ,- 1 ); long Obj_HType; ObjectGetInteger ( 0 ,objn, OBJPROP_TYPE , 0 ,Obj_HType); if (Obj_HType == OBJ_HLINE )
  Forecast and levels for CAD  (151   1 2 3 4 5 ... 15 16)
USD/CAD April-June 2017 Forecast: ranging inside kumo waiting for direction of the strong trend to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1.3598 resistance level located near and above Senkou Span line...
why no one chose me as a developer? is there something wrong with me
I can't apply for freelance jobs, the job application button suddenly disappeared, please someone should help
  How to start with MQL5  (301   1 2 3 4 5 ... 30 31)
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the...
Hello, when I try to add an expert to my mt5 I always get this error: mt5 initialization of expert failed with code 0 (prepare to execution failed) First I thought it was because of my Implementation but this even happens when using a Metaquotes-example. What does this error mean
Hello, I have the following piece of code: struct clickDatapoint { datetime time; int x; int y; CLICK_TYPE click_type; }; datetime minimum(List<clickDatapoint> &data) { datetime res = data.get( 0 ).time; for ( unsigned int i = 1 ; i < ( unsigned int )data.size(); ++i) { if
Hi how i can get refund for signal that i used 1 day and day after the provider remove his equity from the account and not send signal? thanks
Just subscribed to mql5 VPS service to try my EA and getting the above error. the EA working fine on my Metatrader 5 Build 2999 and 2981. 2021.09.25 12:44:00.719 Network '20126293': trading has been enabled - hedging mode 2021.09.25 12:44:00.723 Terminal '20126293': 1 chart, 1 EA, 0 custom
Which platform is best for beginners and newbies to trade during demo or live trading
  step test  (1)
is there a 'step' program in MT4 to test variable outputs
Hey guys i would aappreciate if you help. Can someone tell me why my orders are not expirng? if ((Buy_Sell_Signal()== "Buy" ) && ( OrdersTotal () == 0 )) Ticket = OrderSend ( NULL , ORDER_TYPE_BUY_LIMIT ,Lot_Size,( iBands ( NULL , 0 ,BB_Period,BB_Deviation2,BB_Shift,BB_Applied_Price, 2 , 0 )), 0 , 0
Is there any ea that can close open position when small ema cross below big ema? I been searching but i cannot find. The closest one that i can get is inside this thread . It closes open position when one ma cross another one ma. 
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
Hello, I have a big problem : I'm using the copy trading service. From the trader I selected, many source trades have different lot sizes. Some profit trades use a higher lot sizes so they can compensate other losing trades using a smaller lot sizes. Unfortunately, on my account, all those trades
  Can you say forex is gambling?  (74   1 2 3 4 5 ... 7 8)
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
What is the one and most important rule in FOREX to make one successful
  Zigzag  (91   1 2 3 4 5 ... 9 10)
I have some funny idea. Do you know that many forex teams from many countries tried to develop the zigzag system? Yes, it is the true. But everybody knows that indicator (zigzag) can not be usable for the forex at all. So, What did they develop in this case? Next week we will start to develope our...
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
  Something Interesting to Read  (84   1 2 3 4 5 ... 8 9)
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...
By comparing strategies, scalper, swing trades, martingale or price action, which 1 would you like most
  FX Sniper´s Ergodic CCI Trigger  (147   1 2 3 4 5 ... 14 15)
I´ve modified some indicator to show in the chart window the signals provided by FX_Sniper´s_Ergodic_CCI_Trigger. Up and Down arrows are showed in the candle when the trigger line crosses the ErgodicCCI. Donwload both indicators in the same folder See picture for details. Warning: Signals are still
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...
  The Murrey Math Trading System  (1710   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).
  We use Bitcoin ;)  (488   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
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...
  Trading stocks  (14   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
  Forecast and levels for S&P 500  (468   1 2 3 4 5 ... 46 47)
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...
Hi sorry but I'm really in the beginning ... I can't see the stock market but only currency exchange. Depends on the server where I am connected or wrong? Thank you
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...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
  Forecast and levels for Dax Index  (66   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...
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...
  Trading Ideas  (2)
Crypto Currency. What is the reason for BITCOIN fall? Is it China Beijing on Tuesday ban financial institutions and payment companies to provide cryptocurrency-related transactions? Elon Musk statements about Bitcoin? Or because its a Beast of No nation? To avoid virtual e currency, stop money
  MAMA initial SL  (3)
Hi MT5 comes with an EA named MAMA, this EA has only trailing SL and no initial SL, and if a fixed SL of say 100pips is manually or using another script added, then the EA start changing it even though it's supposed to start trailing once it goes into profit region. How may I change the code to add
  Problem with Expert Code  (15   1 2)
Hi guys, I don't know if I can write in Italian, however I have a problem with the code of one of my experts, can I post it to you and maybe you tell me where did I go wrong that I've been hitting my head for days
I can't see any output messages when they are printed from some tester events. Do I have to do something special to be able to see them? I have MT5 Build 2981 (21 Jun 2021). Thank you so much!! //+------------------------------------------------------------------+ void OnTesterInit () //--> never {
Hello Friend, I am new to mt5 . I am learning mql5 coding. My EA works like this ----------------------------- indicator RSI(14) Buy = RSI  cross 30 from  bottom Sell = RSI cross 70 from top I need help to develop a code 1)  open buy position if there is any buy signal and close if any sell position...
hi....i purchased one Ea im shifting to new broker ,ea writer saying, u have to purchase again, can i install this ea with new broker?, how to to find license keys in it
In MT5, there is a checkbox to select the "Show trade history". It is the last item on the tab "Show" of the properties window of a chart (click F8). I would like to know, how I can (de)select this property by code (in mql5)! - Usually, I would expect to use the functions ChartSetInteger() and
I am trying to import a complete class from a DLL. But I have some errors while compiling. Error 1 - #import was not closed Error 2 - Sum - Member function was no defined. 1 - I compiled the dll using C++ and 64 bits 2 - I put the DLL inside of this Path
I have a problem. I am trying to send a data structure from an MQL5 program to a C ++ program. And I have noticed that the same structure is smaller in MQL5 than in C++. This is the struct: struct MyStruct { int a; double b; }; this is the C++ code: int main() { cout << sizeof (MyStruct)
Hello folks, can someone help with william percent EA for MT5?, one that can execute trades at a defined level of the indicator. Thank you Also if you have or can make that of stochastics, ill highly appreciate that aswell cheers
Hi, I created an indicator calling another internally indicator. They are called using the iCustom function. If I call with the visual mode enabled, the "OnCalculate" function of the outermost indicator is called first. If I call with the visual mode disabled, the order is reversed. To explain
Hi all, does any one know what formula is used in creating the mql5 standard deviation channels object OBJ_STDDEVCHANNEL and how this formula can be coded from first principles in mql5 to derive the channel values. I think this could be a freelance opportunity for some one with this knowledge
I want to store a structure which contains enums in the DB and later retrieve the same. How are enums mapped to and from the built in DB types
Why it is not listed in mql5 ranking list? <...>
I have an idea for a martingale hedging EA, unfortunately I can't code and I don't have any money. For anyone interested- the idea I had was a semi-automated EA that hedges at a price e.g. you enter long at 4500.00 if price returns to that price the ea hedges with a short order, if price crosses
Hi All, I have the option to buy an EA of a signal though the EA is actually quite expensive compared to the signal subscription. Is there any benefit on having an EA over the signal? Is there better execution of trades or any other benefit on results? I dont plan on modifying the EA and I run my
Please help mql5 code for attaching two indicator to one indicator i have opened RSI indicator in mt5 and then i drag maving average indicator on it any one can help the Code of indicator window 1
  Indicators with alerts/signal  (15893   1 2 3 4 5 ... 1589 1590)
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...
Would anyone be able to guide my project in the right direction, I have been trying to create an indicator that plots arrows when conditions have been met, however the indicator seems to be acting up by disappearing the arrows off the chart randomly or definitely if i refresh the chart. Lastly it
Wishing everyone a great weekend. I am working on an EA with OOP and trying to create indicators for the same. My object is to standardize calculations of my indicators (in CLASSes) and prefer to use averaging methods from <MovingAverages.mqh> file. In my attempt: 1) able to create CiVolume.mq5
Hello there, As the title says, I'd like to get the manually entered lot size value in the default trade panel, to use it in an indicator (0.10 here) : Any hints on how to get this value would be appreciated. Cheers
is there anya one can help to add alerts when gap occur in this indicator //+------------------------------------------------------------------+ //| Gaps_cb.mq5 | //| Tapochun | //|
  Zigzag indicators  (642   1 2 3 4 5 ... 64 65)
Different zigzag's indicators please post here.
This is a simple indicator modified from the official RSI. When I load to terminal, I get a warning. “has newer unsupported version, please update your client terminal” My terminal is updated to 5.00 build 3039. I don't know why. you can find the indicator in the attachment. Thank you
Hi all I used to use debug on history data (while setting dates in Options). Today, I saw some malfunctioning of my indicator but it seems "Debugging on history data" doesn't work on toady candles. I tried setting dates between yesterday and tomorrow but debugger when reaches beginning of today
Hi. I want to find Know Sure Thing for MT5. Anyone knows where can I find it? Please
It can be use in any pairs and estimate when to buy and sell. Given where the market is going towards
Using MT5, how can I add MACD to the same window as my Stochastics? Having them both open seperately takes up too much space. Thanks
This indicator is similar to the RSI. The idea is to calculate net_profit / [sum(positive returns) + abs(sum(negative returns))] in a rolling window. But after I changed the code in the main loop, the terminal says: 'for' expressions are not allowed on a global scope //--- the main loop of
Hello, I have a robot system that I'm working on. it works flawlessly. but there is one last step that I want to add. I can trade at the intersection of MAs but I want it to exit the transaction at the next intersection. What code should I add? can anyone help? #include <Trade\Trade.mqh> CTrade
Hi. I have been selling the signal for 3 months. Every 3 months my signals were positive. Why is my signal not public and sales are inactive
RSD_Histogram(Relative Strength Divergence) : Short description. RSD_Histogram uses MACD Formula. but using RSI, 13SMA on RSI, 9 EMA on RSD. it even checks equilibrium in relation to RSD and Histogram and zero line and do alerts of all kinds, next version will include Divergence of Histogram and
New article How to create bots for Telegram in MQL5 has been published: This article contains step-by-step instructions for creating bots for Telegram in MQL5. This information may prove useful for users who wish to synchronize their trading robot with a mobile device. There are samples of bots in...
Shved Supply and Demand: The indicator showing the supply and demand zones. Author: Vasyl Nosal
Shved Supply and Demand - indicator for MetaTrader 5 - Multi Timeframe Version : This is MQL5 version of Shved Supply and Demand indicator written by Shved and upgraded by eevviill7 from this link. Subsequently Mr. Behzad Movaghar added other functionalities to this link. This version of the
New article Payments and payment methods is published: 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
  Experts: Crossing of two iMA  (26   1 2 3)
Crossing of two iMA: Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop. Author: Vladimir Karputov
Trailing stop MT5 : Use protect profit after open position Author: Mr Anucha Maneeyotin
New article MQL5 Programming Basics: Strings is published: The article covers everything you can do with strings in MQL5. It should be of interest primarily to novice MQL5 programmers, while experienced developers will have a good opportunity to summarize and systematize their knowledge. Author:...
Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue): Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out
New article - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
Sample check pending order : Check exists pending order prevent duplicate create pending order Author: Mr Anucha Maneeyotin
Exposure: This script reads all opened position and calculates their exposure for each currency. It's useful if there are many positions. Author: IvanBG
Close All Orders and Positions : This is a simple script that Closes all Orders and Positions available Author: Omega J Msigwa
New article Applying OLAP in trading (part 4): Quantitative and visual analysis of tester reports has been published: The article offers basic tools for the OLAP analysis of tester reports relating to single passes and optimization results. The tool can work with standard format files (tst and opt)
New article Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners is published: The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a developed...
  time stop  (3)
Hey Guys! I need your help. Does anyone have a code for a timestop`? I want my system to close positions at the open of the second new bar since the openeing. Thank you very much
BullishHammer=((Open[i]+Close[i])>(High[i]+Low[i]/3.0)); I am attempting to construct a hammer pattern signal in this case bullish where the body is a third the size of the candle high/low range. Can some one point me to where I am going wrong on this? and also how would I quantify this as the body...
  calculate Lot. Mql4  (18   1 2)
Hello to all professors, with this code I want to come and calculate the whole Lot first (for example, purchase) Then we calculate that if 10% of the imported Lot goes to profit, it will close all the orders. But it has a little problem and it does not do that. #property version "1.00" #property
Hello everyone, I can't collect history data in my pc even though I have the perfect conditions to download it, all I knew that changed was the account size tweak, I changed it to Micro instead from standard lot. And I noticed that it was probably the problem because the History Center's database
I need help to put temporary stop on new order " during " the loop completing close order. Once loop closed all existing orders then new trade can start when possible. Please correct the code given below.. void neworder() { if (looking condition here until " bool closeall() " copmplete the
Hi, I have an indicator on the chart. I want to be able to press a key on the chart, and this will simulate a restart of the indicator like it is drop on the chart for the first time. Meaning: I press a key on the chart (for ex: 'q'). this will call the DeInit function, and then the OnInit, and then
Hi all, I have been struggling in figuring out how to calculate unrealized net/gross profits for my current account. In other trading platforms there is a property of UnrealizedGrossProfit and UnrealizedNetProfit on the Account object itself. If this does not exist, can you do something like loop
I have several watch lists I created in MT4 using the SET option. I wish to display these watch lists all at the same time. How can I do that? I tried opening more Market Watch windows and add a watchlist to each window but that doesn't work at all. I tried adding tabs to the existing Market Watch
Hello everyone, I hope you are doing well this morning. You have helped me a lot before, I really appreciate this community :) So! I have a little problem with my Trailing Stop Loss extern int TraillingStart = 15 ; extern int TraillingStep = 2 ; extern int StopLoss = 100 ; extern int TakeProfit =
Hi, there I try to write a simple EA base on Bollinger band , there the code if (Ask <= ND( iBands ( NULL , 0 ,bbPeriod,BBDeviation, 0 , PRICE_CLOSE ,MODE_LOWER, 0 ))OpenSell(); if (Bid >= ND( iBands ( NULL , 0 ,bbPeriod,BBDeviation, 0 , PRICE_CLOSE ,MODE_UPPER, 0 ))OpenBuy(); Which OpenSell()
Hello! I have a problem with MT4. In market watch tab the prices are all 0, even if the on the charts everything sims normal. Please see picture. Anyone encountered anything like that? Thanks
Hi,   I'm pretty new to MT4 , and using Win 8.1 . It seems that I have problem seeing the symbols in Market Watch and in order window(see added pic) . in Market Watch I can see it only when I select it. In order window I can't even select and place an order. (I guess the problem is related because I...
Hi,I am developing an Expert advisor for Meta trader 4. my code compiles without error or warning in metaeditor, but anyway the run button is disabled son I can't test you know why this could be? thanks for your help
  Terminal window missing  (20   1 2)
I have been running MT4 on my laptop for several months. All of a sudden the terminal window won't appear? i have tried re-booting and several different profiles, no go. Any ideas will be greatly appreciated! Thanks, Steve
  Helweg/Stendahl value charts ...  (377   1 2 3 4 5 ... 37 38)
Helweg / Stendahl value charts (from "Dynamic trading indicators" book) I guess this one was not made for metatrader yet since it was not possible to draw histograms with one end not being zero. With metatrader 5 that is possible, so here it is (it is metatrader 5 version only since some of the