forex forum for traders and developers

Holding loss floating is common. But, how many traders dare to hold profit floating? Do you know the key? This happens due to many traders never backtest their method, so they don't know the probability of their method. As long you know the probability of your method, it will make you consistent to
  Money management  (68   1 2 3 4 5 6 7)
Hi, I hope I'm at the right place for this. I am a bit confused about money management. I am working on a strategy that will hopefully bring me 10 pips on each trade. Right now, I am testing on a demo account. My next step will be testing on a mini account (100$). I don't know what to expect...
  Does anyone know how this happened?  (53   1 2 3 4 5 6)
Hi. I placed a sell limit order in my real account. But position opened at a level that chart didn't reach to it. Is it possible
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
  MT5 Question  (8)
my broker doesn't have a download for MT5. Can I still download it and set it up for use with my broker ? Broker is:   Ally Invest (Formerly MB Trading) Thx
  dual cpu 64 core  (35   1 2 3 4)
Hi, I recently bought a motherboard that manages two 64 core and 128 Trade CPUs each, unfortunately ON mt5 I can only see 50% of the agents, what should I do to be able to use 100% of the resources? the processors are as follows: AMD EPYC 7H12 64-Core Processor 2.60 GHz AMD EPYC 7H12 64-Core
I have two EAs: one for MT4 & one for MT5. I need them both to trade with the same balance /deposit so that growth is unified and not divided. Does anyone know if I can do this? and how? Much appreciated
  metatrader 5  (1)
how do i add united states stocks in metatrader
Hello, I'm having problems with set time in MyFxBook indicator. I wrote this: int OnInit () { //-------------------------------------------------------------------+ int count= 0 ; bool timerset= false ; while (!timerset && count< 5 ) { timerset= EventSetTimer ( 1 );
Hey guys. So I've upgraded a the code of overlaychart to have some buttons and all and it worked well on MT4. So I decided to port it to MT5. Obviously there was some errors due to language and all but I modified everything that had to be adapted to mql4 and it compiled well. No errors. But when I
The MetaTrader 5 platform update will be released on Thursday, August 4, 2022. The update will feature the following changes: Terminal: Added automatic opening of a tutorial during the first connection to a trading account. This will assist beginners in learning trading basics and in exploring
Hi guys anyone who has the codes or any way on how to add or download forex news to your EA or indicator and open the trades based on the impact that specific news has on specific currency pairs that are affect by the news
Hi, I want to increase text label size showing on mt4 chart by this code. Please m Here is the code
  We CAN NOT predict the market !  (37   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
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
HI, I know that true/real HFT with mt4 is impossible due to execution time and how many trades can be placed per ms with mt4. Real STP brokers will have an execution time of 30-100ms where as MM will have execution of 1-10 ms. In order to be truly HFT you would have to have a fix api with a trading
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
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
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
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
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
  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
  Forecast and levels for Dax Index  (69   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...
  Forecast and levels for CAC 40  (25   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...
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;
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
MqlTradeRequest Request; MqlTradeResult Result; MqlTick Tick; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void OnTick () { for
Hello everyone, i have a little problem please I want to copy the difference between the last 2 prices in an array, when I display the array , it does not save each price, it saves only the last price in all array cells. as you can see in the attached image void OnTimer () { MqlRates
I want to combine RVI Signal(1) (PERIOD_CURRENT), CCI(PERIOD CURRENT) and Chaikin(PERIOD_M1) into one value and turn it into an indicator. I have never coded an indicator and I need help. Please point me in the right article to read, or code it and paste it if you feel so kind. :D Timeframe of the
Hi all :) Making my own EA according to the No Nonsense Forex method. One of the points in that method is to use a trailing stop based on the ATR score at the time of making the order. My own code was taking the current ATR value instead (Timeframe daily). Largely because i couldnt find how to
So I have been watching a very interesting video series by Darwinex about improving your EA to reflect backtester results in live charts. It seems that the best method is controlling bar opening prices. You program the EA in a way that it processes only bar open tick so this will reflect on a live
So I have it open accepting JSON messages 24/7 but it seems after being open for a certain period of time (this time it was about 1 week exactly) it just stops accepting new messages until I maximize the command prompt window, then suddenly all the previous messages it should have accepted come
I been sending the following request to close a position but it the print_statement keeps returning NONE. what can i do please. if pos.ticket == ticket: request ={ 'action':mt.TRADE_ACTION_DEAL, 'position':ticket, 'type':0, 'price':tick.ask
  Better NN EA  (112   1 2 3 4 5 ... 11 12)
Hi Better has really good EA and is winning the championship Participants - Automated Trading Championship 2007 Profile Better - Automated Trading Championship 2007 What is NN ? Where are the NN threads in this forum? Can anyone here make this EA El cid
  Better NN EA development  (838   1 2 3 4 5 ... 83 84)
Hello everyone, I will start this thread by first stating that if you are a beginner and have no high level programming experience you are better off reading other threads. I intend this thread to be for the very experienced programmers with some Artificial Intelligence background. I am attaching...
Please yell at me if I posted this in the wrong area. Idk why searching has brought zero results on how to post a question Genetic backtesting my EA using real tick data. If I back test over a year of data I run out of RAM and memory swapping kicks in. This makes backtesting nearly useless. It
hi guys im creating an EA that will place a pending order at a specific time,for example lets say i decide that at 3:30 pm i decide that my EA places a pending buy order,however what tends to happen and is the obstacle right now is that,at 3:30 the EA makes the pending order just as instructed,but
Hi everyone, I'm new around here, and just started using the pre-built Expert Advisors (Generate Templates) in MQL5. I don't know much about C++ or MQL5, so I was looking at a pretty steep learning curve, but decided to start somewhere. However, I noticed that there is support for MetaTrader5 using
If I open and pending order and then modify the price is this modified price reflected in ORDER_PRICE_CURRENT ? Or is this the current market price? Asking to be sure
I'm sending myself alerts on certain new bars, when two of my custom functions return a 1 for example, but it seems there's some slowness or lag causing the custom functions to respond to the previous bars value... I want to send the alert 20 or seconds after the new bar has started. What is the
Hi Everybody, Hope you are doing good, I want to know a best n easy way to convert mql4 to mql5 and vice versa, and should effect its working
Hi, I am a newbie when it comes to programming in mql4. I have taken an existing indicator, "cci-t3-divergence-indicator" and have tried to modify it to print a coloured histogram rather than a line (such as in CCI woodies). The attached mq4 file compiles with no errors, but when I add it to a
  Oscillators  (36   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 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...
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
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
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
[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
The Predictive Moving Average : The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″). Author: Andrei Novichkov
MA on DeMarker Arrow : iDeMarker (DeMarker, DeM) indicator smoothed with iMA (Moving Average, MA). Author: Vladimir Karputov
SSL Channel (TradingView) : Converted SSL Channel by MissTricky from TradingView to MQL4 Author: Lee Chee Tat
Dolly_Graphics_v11-GMTShift: An indicator of support and resistance channels. Author: Nikolay Kositsin
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
Channel N Bars : Channel of 'N' bars at 'Low' and 'High' prices Author: Vladimir Karputov
New article Data Science and Machine Learning — Neural Network (Part 01): Feed Forward Neural Network demystified has been published: Many people love them but a few understand the whole operations behind Neural Networks. In this article I will try to explain everything that goes behind closed doors
New article The Indicators of the Micro, Middle and Main Trends is published: The aim of this article is to investigate the possibilities of trade automation and the analysis, on the basis of some ideas from a book by James Hyerczyk "Pattern, Price & Time: Using Gann Theory in Trading Systems" in...
New article Neural networks made easy (Part 2): Network training and testing has been published: In this second article, we will continue to study neural networks and will consider an example of using our created CNet class in Expert Advisors. We will work with two neural network models, which show
MCDx : Some call it as MCDx Smart Money Indicator. It's just modification from RSI indicator. Author: Lee Chee Tat
LSTM Neural Network: Long Short-Term Memory Neural Network - for time series analysis. Author: Shephard Mukachi 
CCI - double smoothed Wilder's EMA filtered: CCI - double smoothed Wilder's EMA filtered Author: Mladen Rakic
Bollinger bands squeeze: Bollinger bands squeeze Author: Mladen Rakic
New article Application of the Eigen-Coordinates Method to Structural Analysis of Nonextensive Statistical Distributions is published: The major problem of applied statistics is the problem of accepting statistical hypotheses. It was long considered impossible to be solved. The situation has...
New article CatBoost machine learning algorithm from Yandex with no Python or R knowledge required has been published: The article provides the code and the description of the main stages of the machine learning process using a specific example. To obtain the model, you do not need Python or R
I seldom worked with indicators as far as EA is concerned? All I did was manually past indicators on charts when I need them even while working with EA. This can be tasking when back testing the EA being designed. What exactly is iCustom indicators? Are they different from the indicators we manually
When I place my EA , my objects repaint or vanish and sometimes appear again after sometime. What seems to be the problem? void OnTick () { if ( TimeCurrent ()==Time[ 0 ]) { int s = iLowest ( Symbol () , 0 , MODE_LOW , 75 , 1 + 40 ); ObjectDelete ( 0 , "s" ); ObjectCreate ( 0 , "s"
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
Hi everyone I have an indicator that shows different between in real chart and when backtest. This one is from real chart, and this one is from backtest chart, In the setting menu there's a setting used for higher timeframe. My chart is M15 and the indicator using M60. At first, I thought that
Attached is an EA I coded, which does need a Forex account that allows hedging for it to be useful. Putting it online here for others to use is simply to give something back to this forum and as a way to say thank you. It is a "Trade Manager" type EA, not a trading strategy. It works as follows: For...
Hi, I need to get if is candle bear and bull. I found some code but not works. bool bullish = Close[ 1 ] > Open[ 1 ] && Open[ 1 ]; bool bearish = Close[ 1 ] < Open[ 1 ] && Open[ 1 ]; I need to find if candle is white is bearish and if is black is in bullish Check attachment
Hi there, could someone point out what's preventing this simple code to compile? struct ValueStruct { string field1; ValueStruct( string f1) : field1(f1) {}; }; class Complex3ValueStruct { public : ValueStruct mVs; Complex3ValueStruct(ValueStruct& valueStruct) : mVs(valueStruct)
i made this simple panel as below it have one label and two button when i press one of them the other will be hidden but when i click at place of hidden button it still work i don't know why mqh file : #include <Controls\Dialog.mqh> #include <Controls\Button.mqh> #include <Controls\Edit.mqh>
Hi all, so I am new to MQL4 and not really great at programming overall. Anyway, I am trying to learn from a tutorial (this one: ) and there seems to be some stuff there that doesn't work. I
How possible to download a jpg image and for that image to be loaded into a chart? Charts only load PNG and BMP so image then must be converted somehow. Does the newer image library support image conversions?
  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
Is it possible to use mt4 indicator to turn on and off the Autotrading button based on condition
I am developing an EA to take over when signal copying run into trouble. I need to disable the copying to do this but I keep getting error 4060 (Function not confirmed). Below are the lines I used to try it. Any help will be appreciated. long Flag =
Hi I need to get prices between one candle Body and then call if this prices is exist in Moving Average. Moving average not problem to get, but how can I get Price with Body Candles. Prices just like that: 1.22500, 1.22511, 1.22522 and then simple use with moving average if Exists price between
Hello There, OrdersHistoryTotal() always returns zero, even though there are trades on my terminal during back testing with the strategy tester, Are there any limitations of the Strategy Tester that we should know of. I am using the Latest Version of MT4