forex forum for traders and developers

I have subscribed to a signal for about a week only, but I would like to change and have this signal applied to another account instead. Can I do that, and how? Pang
How can I detected market was closed in mql5 code funtion? Some one know please tell me. Thanks
Is there a way to remove these free indicators from my purchased list? I no longer use them, and I keep getting update messages on them. Don't want to see them in my "purchased" list neither. Thank you in advance
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
Hello I recently updated the terminal through the live update for MT5. The terminal I initially downloaded from Alpari. I got the message "Terminal64.exe - entry point could not be located in the dynamic link library ole32.dll - message after MT5 live update " I fully uninstalled (deleted...
  Videos on Virtual Hosting Released  (94   1 2 3 4 5 ... 9 10)
Three new videos on Virtual Hosting in MetaTrader 4 and 5 are available on our YouTube channel. Now, you need only six minutes to find out how the service works, what benefits it provides and how you can manage it. Virtual hosting in MetaTrader 4 and 5 will be of help to traders who want to use...
  Ask for help  (9)
I uploaded EA for sale but there was an error warning that test on EURUSD, H1 there are no trading operations test on NZDUSD, H1 there are no trading operations test on GBPUSDcheck, M30 there are no trading operations test on XAUUSDcheck, Daily there are no trading operations How do I fix it
Hi all I have managed to produce a code to draw two horizontal lines on a chart at the highest and lowest candle. This is what I want but only want to check the candles between 10am and 11am. this needs to reset the next day at 9:30. Please could someone help with this. thanks in advance void
Hello all, I'm not a programmer by any means, but I have this simple indicator that I downloaded from this site to draw a line from the daily open. what I would really like to do is to change this to draw the line across to the days end as soon as the first candle prints. rather than the line
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
  Become an Author at!  (169   1 2 3 4 5 ... 16 17)
The new MQL5 Community website at keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
i am studying this code and i am getting this error what could it be
i create Trend line by angle with code ObjectCreate ( 0 , "a" , OBJ_TRENDBYANGLE , 0 , iTime ( _Symbol , PERIOD_H1 , 10 ), iClose ( _Symbol , PERIOD_H1 , 10 ), iTime ( _Symbol , PERIOD_H1 , 15 ), iClose ( _Symbol , PERIOD_H1 , 15 )); ObjectSetInteger ( 0 , "a" , OBJPROP_COLOR , clrBlue );
The MetaTrader 5 platform update will be released on Friday, January 28, 2022. The new version features improved platform usability: smart activation of volumes on charts so that traders do not miss this data when analyzing markets, the ability to quickly place orders from the account history and
i have some trading experience but this forex is making it more difficult than it needs to be i need help going live properly
Hello everybody, Is there any way to measure cancellations and renewals in the order book (market depth)? I say trades cannot be computed, so I want to measure how players are working passive orders, canceling or renewing orders at a certain price level. does anyone have an idea how to do this
I use MetaTrader 4 - (Released July 2005), I use MetaTrader 5 - (Released September 2010), I use both MetaTrader 4 and MetaTrader 5, I do not use both platform but I only use website
  We CAN NOT predict the market !  (33   1 2 3 4)
We cannot predict the direction of the market nor a point of reference for the market. Because basically the market is very dynamic and is determined by humans , not robots. All we can do is only follow the current market trend , and take immediate action when something happens against the direction
is it possible to have EA that places pending or have price levels set at certain points so that if price on chart crosses these set price line it opens orders as follows, buy stop and sell limit when bid prices crosses these set levels and as for sell stop and buy limit open when bid price crosses
Renko Charts and D1 charts for reality checking have proven to me that it can be a reliable trading strategy for multiple days of trading the daily swing in some markets: the SPX500 and USDollar CFDs are my favorites now. Both CFDs trades during all markets and give repeat Renko chart movement...
  Asset filtering  (3)
Hi Everyone, I am developing a multi-currency mean reversion strategy. I currently use instantaneous filtering to get rid of potential trades where there is high market noise, low volatility, lack of clear trend and particularly high relative volume. This has proven to be effective but I'm also
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...
Hello Forum, I will test a VPS rented here and test signals, EAs, indicators etc.. Furthermore, I would also like to test simple manual market executions per market depth in MT5 (generally also without EA). I hope this is also possible via vps or would I have to make adaptations to the charts? ( in
Can anyone please guide my EA is giving me problems with backtesting. <Deleted>
  Most profitable Trading System?  (86   1 2 3 4 5 ... 8 9)
I have searched a long time though various trading systems. But I did not find a system which convinced me. Maybe some experienced traders could say me, what is the most profitable trading system, what system makes really sense. You could differ the systems for longer timeframes and for shorter...
The 5 fundamental truths about trading where developed and put into paper from the author of Trading in the Zone , Mark Douglas. Here I list these truths and explain in own words what they mean for me 1. Anything can happen. The majority of trades even though deep down know that this statement is
Predict Market Direction (Trade after you predict buy or sell market direction using the technical analysis.), React To Market (Trade if price is pushed to one direction as in support resistance or some sort of breakout trading. You never predict market direction but you react only. ), Both stratgy
  VPS server. Questions.  (193   1 2 3 4 5 ... 19 20)
Good time! Questions about VPS server operation 1. How do I stop an EA which is on VPS hosting? Point of the Rules of Usage "IV. Rental of virtual terminal The user may temporarily stop and restart the Virtual Terminal from his client terminal and the lease term is not extended. All terminal
  Brainwashing System / Asctrend System  (248   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
I was using <Deleted> MT4 connection to trade BTC/USD The spread seems to be very narrow, compared to other brokers. How do they do it? It is a scam
Yes, No, Interested, Not anymore
  MT5 real FUTURES broker  (25   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
  Forecast and levels for S&P 500  (471   1 2 3 4 5 ... 47 48)
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...
  Crypto Currencies  (20   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  McDonald's  (16   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...
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
All need a help with converting type to enum in the code below input int InpMagicNumber = 1111; // Magic Number input string InpTradeComment = __FILE__; // Trade Comment input double InpVolume = 0.001; // Volume per order ENUM_POSITION_TYPE CurrentTrade;
  Forecast and levels for Dax Index  (68   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...
Good day sir. Please give an instruvtion on how to put a deposite into ag trading flatform. I have already real account on 10Tradefx.Ltd .but i dont know yet on how to pur a deposite. Where do i start. Thank you so much more power. Brgds Abram espejo
  Forecast and levels for Nikkei  (39   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
  Apple  (43   1 2 3 4 5)
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
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
I want to disable trading for a .ex5 file on a specified condition using EA. Can Someone please help Me in disabling Algo-Trading via Code? Help Will be really really appreciated and By helping me you will help many other peoples too because there is no previous forum of any detail about doing it on
Hi guys, need an advise. I use tickvalue for calculating lot size. Sometimes that piece of code returns zero: tickVal = SymbolInfoDouble ( Symbol() , SYMBOL_TRADE_TICK_VALUE ); tickVal = NormalizeDouble (tickVal, Digits ()); I'm using tickValue to calculate Stopp Loss pips risked: double Pips_Risked
Hallo, I have script for pending order. But i need to add some function on it. - Can anyone help on how to add it as i very new on making something like this. - Pending orders can be determined from a certain price, not just from the current price. And can do Pending order on Buy limit, Sell stop
  Strategy Tester  (14   1 2)
How do I change the Start, Step & Stop default settings in inputs Appreciate your help :)
#include <Trade\Trade.mqh> CTrade m_trade; COrderInfo m_order; CPositionInfo m_position; void OnStart () { m_trade.SetExpertMagicNumber( 1 ); m_trade.Buy( 0.01 , Symbol (), 0 , 0 , 0 , "script" ); } //+------------------------------------------------------------------+ This script places
So I want to build a simple EA that will open several trades based on simple. I'm using 1:100 leverage. OnTick(){ if trade_condition=true Check Money Mgmt; Open a trade Go through all open trades Close if close-condition of the trade is met Modify SL & TP accordingly Q#1: I'm opening trades using
I have Rsi Alert Code i need to when my receive my Alert that time Place a order Each time Help me Anyone I will attach Alert Code #property link "" #property version "1.02" #property strict #property
Hello, I'm copytrading and I'm getting signals on my account which is running on my VPS. The problem is, after a few hours on this server, metatrader always closes with the error message "System to be shutdown, request for close PurpleTrading MT4 "followed by another message "PurpleTrading MT4
Hi guys, I am finishing an EA and I am testing it. So far everything is ok, but there are some situations that I couldn't test and it really worries me. For example: What is the ORDER_STATE of a partially filled order which has the pending part cancelled (IE. By order of 200 AAPL, 100 were executed,...
I am working with the following array of ENUM_TIMEFRAMES elements: ENUM_TIMEFRAMES H1andBelowTFS[ 12 ] = { PERIOD_M1 , PERIOD_M2 , PERIOD_M3 , PERIOD_M4 , PERIOD_M5 , PERIOD_M6 , PERIOD_M10 , PERIOD_M12 , PERIOD_M15 , PERIOD_M20 , PERIOD_M30
Ok, I won't beat around the bush. Got two different sets from the same advisor both working pretty nice so I'm trying to merge them into a unique algorithm. The problem here is that each one work through a different hedging loop which need to be identified by their own MagicNumber, and I guess
  Custom Criteria Coding issues  (34   1 2 3 4)
Will the following code work? double profit_factor = TesterStatistics(STAT_PROFIT_FACTOR); if( STAT_EQUITYDD_PERCENT < 2.5) if(STAT_TRADES > 10) if(STAT_PROFIT_FACTOR == 0.0) { profit_factor = 500; } I'm trying to make it so zero losses that have over a certain number of trades and under a
I noticed something strange thinks When I try to get the value of the Chikouspan 26 bars before. It only works in live mode correct. But not in the backtester . In Backtester i get strange Values. I use this Code for geting the Value : if ( CopyBuffer (Ichimoku_handle_Long, CHIKOUSPAN_LINE , 26
Hi, I am using python to build an expert advisor. Right now I have a function which calculate the quantity by the investment but dosent take into account the leverage so how I calculate the leverage? Here is my function: def qty_buy(symbol, investment, df): try : ## price = float
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Hi. I want to check account used margin so I write this code and use it as an indicator: #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue double Buf_Exposure[]; // Declaring arrays (for indicator buffers)
I think this indicator only draws a line up until bar 2 but I was honestly hoping that it draws up until bar 1, and still be non-repaint. Can this be fixed or is there an alternative similar to this ZigZag-nrp? #property copyright "Copyright 2022, MetaQuotes Software Corp." #property link
I'm trying to write a custom indicator that relies on finding the average value over a past number of bars, but I'm having trouble figuring out how to write the function, although it should be simple, but I don't see an "average" function prebuilt into mql4 and I don't think I would need to save
I have a request for converting an indicator from MT4 to MT5 which I would really appreciate. The problem is this: I started to learn trading and developing my strategy more than a year ago. I manually backtested and forward tested a strategy that includes an indicator called “Cyan 2 High Pass
[Image] How can I do something like that? With CWnd, CPanel? Or there's another way to do it? Before someone clever says that if I don't post any code blablablabla.. I am now asking for code, I am asking for a way to do it: maybe some article, some example or even some functions to look for that
Hi, i want to get the value of the "SimpleMAOnBuffer(rates_total,prev_calculated,0,InpSignalMA,ExtMacdBuffer,ExtSignalBuffer);" but u only get 105577.0 and i want the value from the curve, can someone explain me how ? //+------------------------------------------------------------------+ //|
Hi, I had a indicator that was working that no longer works. I ran on metaeditor to see for errors, and I got the following error. 'Period_W1'-cannot convert enum    [on line 22] Any suggestions on a fix? Anyone?
Hi everybody, I am trying to organize the "Data Window" of Metatrader by adding some descriptions of indicator_separate_window. Please look at the following screenshot: As you can see, for the Market data there is a short description "EURUSD Daily" but for the separation for the indicators is a
I just need a little help to get off the ground. I'm new to MQL5, and I have copied code from here and there. I am missing something in my code. The code compiles, but the indicator line does not show. Thanks. //+------------------------------------------------------------------+ //|
Hi I have this indicator that I want to use. If I'm not mistaken it would display lowest and highest price of certain number of candle. I have a problem with this indicator and cannot use it on my EA. Is there another similar indicator out there that works just like this
Hello, I need someone to convert this indicator to mt5 thnks
  All John Ehlers Indicators...  (958   1 2 3 4 5 ... 95 96)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and
  Oscillators  (34   1 2 3 4)
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
Hi Guys Hope you are well, Im trying to make an indicator that uses histograms, at the moment it checks for a signal and draws a signal of one bar on histogram, how can i make it so its a continues histogram, so if a buy signal shows and the indicator draws a continuas blue histogram/buffer until a
New article Interview with Anton Nel (ATC 2012) is published: Today we talk to Anton Nel (ROMAN5) from South Africa, a professional developer of automated trading systems. Obviously, his Expert Advisor just could not go unnoticed. Breaking into the top ten from the very start of the Championship,...
  Scripts: Pending orders UP  (11   1 2)
Pending orders UP: The scripts places multiple pending orders higher than the current price. Author: Vladimir Karputov
Two pending orders 2 : Two pending orders at the beginning of the day Author: Vladimir Karputov
  Indicators: X2MA  (2)
X2MA: The universal moving average with double smoothing and possibility to select each of this smoothings from the dozen of possible variants. Author: Nikolay Kositsin
Engulfing Pattern Plus One : Engulfing Pattern Plus One Author: Vladimir Karputov
FFC - Forex Factory Calendar: Modified version of FF Calendar Indicator with new features. Author: awran5
The Predictive Moving Average : The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″). Author: Andrei Novichkov
Telegram Mesaj Robotu (Post JSON Metodu) : Robotunuzun oluşturduğu sinyali anlık olarak telegram kanalına iletmeyi sağlayan şablon. Author: Ipek Bilgisayar
Telegram Mesaj Robotu : A template that allows you to instantly transmit the signal generated by your robot to the telegram channel. Author: Ipek Bilgisayar
V Sync Chart Lite: The V Sync Chart Lite indicator is written for demonstration purposes and shows how it is possible to synchronize the object Author: Vladimir Pastushak
New article Automatic construction of support and resistance lines has been published: The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values. Support and...
New article Parallel Particle Swarm Optimization has been published: The article describes a method of fast optimization using the particle swarm algorithm. It also presents the method implementation in MQL, which is ready for use both in single-threaded mode inside an Expert Advisor and in a
MCDx : Some call it as MCDx Smart Money Indicator. It's just modification from RSI indicator. Author: Lee Chee Tat
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.
New article Complex indicators made easy using objects has been published: This article provides a method to create complex indicators while also avoiding the problems that arise when dealing with multiple plots, buffers and/or combining data from multiple sources. The final result of the indicator
  iHigh iClose  (13   1 2)
Dear Friends I was using this codes to get todays high and yesterdays low values in MT4. double ToDayHigh=iHigh(NULL,1440,0); double YesterDayLow=iLow(NULL,1440,1); Whats the code in MQL5 for the same. Thanks Noufel
Strange behavior with ChartTimePriceToXY function. Please check the following code #property copyright "Copyright 2021, PuguForex." #property link "" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 0
Hello everyone, I'm wrinting an EA which has a strategy which open a lot of pending orders. Before sending the command to open, I'm checking if there is enough money. The problem is when some pending orders are triggered there is not enough money, so the strategy tester delete them and close all the
Dear Everybody I want to cancel all of my orders on metatrader at once. and if there is an expertor program that does that at a certain profit the better. Can anybody help me inthis regard. Regards Mehdi
Hello! I'm new to this and I'm testing my Robot inventions to make changes, etc. The problem arises when testing the Robots, is SUPER, but SUPER difficult to test them in an orderly way, since never, but I have never been able to test a robot in the range of dates that I want, always the graph does...
Hello guys, can anyone help me with my code. It works fine while testing in demo but while testing in strategy tester it doesnot meet my entry criteris and open trades after one is closed. please help me
Hello! I have one question … lets say that I set pending order open price at 0.1234… and the price… from 0.1230 jumps to 0.1238… let’s say during High Volatility times like news or rollover or something. At what price will the pending order turn into a market order
  Simple BOOLEAN FUNCTION HELP  (22   1 2 3)
Hi Coders, I am struggling with this simple function.. All I want it to do is look back over the past 10 candles and return true if any of the candles where higher than the upper bollinger error '}' Not all control paths return a value. I just can't see where I am going wrong here. bool
  Time filter  (19   1 2)
Usually time filter is widely used. For those that need Hours time filter here it is: if (((Hour()>=StartHour && Hour()<EndHour && StartHour<EndHour) || (Hour()>=StartHour || Hour()<EndHour && StartHour>EndHour))) EAActivated= true ; else EAActivated= false ; Can somebody share
Hi I'd like to use both heiken ashi candle chart and candlestick chart. In MT4 there if I use the heiken ashi indicator on my chart it will displayed on top of the candlestick chart, the indicator will overlap the candlestick chart. Is there a way to display the heiken ashi chart on different
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
I was once again thinking about the data that I collect from the History Center for my specific platform, and I was wondering if daylight savings times were automatically adjusted. For example, if the data I get is in GMT, does the summer time data stay in BST, or does it change to what it would be
  Half Trend EA  (9)
help me for buy and sell condition based on half trend indicator #define _htCall(_buff,_ind) iCustom ( _Symbol , _Period , "half-trend nrp" ,inpHTPeriod,_buff,_ind) double _htCurr = _htCall( 7 ,inpHtBarTotest); double _htPrev = _htCall( 7 ,inpHtBarTotest+ 1 ); bool _canBuy =
I have been running the EA and did not notice the 4108 error before - but mow the code refuses to close my pending orders and give 4108 - invalid ticket errors. Here is t //Close Pending Orders when no trades open Count = 0 ; if (Sell == 0 ) { for (Count = OrdersTotal ()- 1 ; Count >= 0 ;
Hi all, my objects disappear & after a few seconds or so they reappear again. If you know the problem please help. void OnTick () { int Bottom= iLowest ( Symbol (), 0 , MODE_LOW , 75 , 1 + 40 ); ObjectDelete ( 0 , "Bottom" ); ObjectCreate ( 0 , "Bottom" , OBJ_RECTANGLE , 0 ,Time[ 0