I am looking to see if there is a way to add current indicator values of a trade the moment it opens to a trade function so that later once the trade closes I can write all associated data for a trade to file easily from the order functions. I have looked into storing things in the OrderComment
Hi everyone, Here’s the question: I get buffers from example indicator multiple buffers like iEnvelopes correctly through numbering in CopyBuffer handle1 = iEnvelopes ( NULL , 0 , period, 0 , method, price, deviation); CopyBuffer (handle1, buffer= 0 , 0 , 3 , arrayUpper)> 0 ) CopyBuffer (handle1
Hi Guys, So yesterday I wrote a simple script with buy and sell orders. It worked as it was designed. Today when I wanted to run it again it throwed me some errors. The error is the 138 error, but some things that I also noticed was: # Can only open sell order and not buy # Can not close any order #
Hello All, I am trying to use ALGLIB and have managed to simplify a code from TestInterfaces.mqh into the following script given below. In this case the function is: f(x0,x1)=100*(x0+3)^4 + (x1-3)^4 How can I pass parameters to a function given by?: f(x0,x1)=A*(x0+B)^D + (x1-C)^E The documentation
About 1 month I can't withdraw and the support is not responding. I got this text at withdraw section: Withdrawal unavailable: We need to perform additional verification of your account. This is a standard procedure meant to ensure the security of all MQL5.community members. Currently, no action is
If a developer does not finish a project and has not explained why he is overdue, can i cancel my agreement with him and go straight back and seek other developers. If that is the case then what are the steps to do that
Hi, I am starting with MetaTrader 5 to do some trades. I got concerned today - my second day testing the platform. The app has been running for the better part of the day. Suddenly, the mouse got super sluggish only when moving over the MT5 app. ALT+TAB to another app would make it move normally. I
I LOVE MT5 but can't believe Metaquotes can't add a little dropdown box in the corner to select your UTC offset and have the date and time formatted according to your local time... I don't care much for broker or server time and have seen and read all sort of reasons why this capability doesn't
Hello I bought licenses in the market and it doesn't work, after upgrade how do I fix this? Ioan
Hello. I have some issue. I can't login to MQL5 community on MT5. (WIN10) this logs  2019.08.21 23:49:49.576 MQL5.community authorization failed 2019.08.21 23:49:51.806 MQL5 Market failed to get list of user products (www.mql5.com:443 send failed [401:...
Hi, When I try load my EA with Profiler it closes the MT5 as you can see on video, maybe some bug
I have a question, can I make the crosshair as my default pointer instead of the arrow. I really have no need for the arrow, and was wondering if it can be done? Thx.
MQL5.community: authorization failed  (98   1 2 3 4 5 ... 9 10)
MQL5.community: authorization failed I can't install EA on my MT4 and already send ticket to service desk but no one answer me. How to fix it ? Thank you
Hello, If I subscribe to a Signal, and it open a position, can I manually close it (partially or totaly) ? Thanks in advance for replies !
Hello Everyone! It's my first topic on the forums, i hope i post in the right section (if not, could you please kindly move it to the correct one?). I have been using metatrader 5 (both desktop and mobile) for quite some time now and I can honestly say, that the PC application is perfect for my
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...
I am an experienced programmer, but new to MQL, I am trying save some private data in comment of position to track later. As it's undocumented clearly in dcoument, I googled and did a lot tests, finally get the conclusion disappointly: 1. The comment is filled when creating order, and can NOT be
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...
One strategy I can use is Andrew's fork
Brainwashing System / Asctrend System  (242   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...
Hi given that this forum is called trading systems, I would like to ask you for help on how I look for my profitable trading system that I can later automate So far I only know about the "Observation" look and see what pattern is repeated and then do "backtesting" but beyond that or some other
Mr.Nims, Renko Ashi Scalping System.  (3546   1 2 3 4 5 ... 354 355)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
Forex Correlation Theory  (36   1 2 3 4)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
PriceChannel Parabolic system  (295   1 2 3 4 5 ... 29 30)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
Raw Ideas  (1146   1 2 3 4 5 ... 114 115)
Very simple trading system of two indicators with alert (see download area). I tried to trade manually using this system but seems it is difficult. Necessary to add some filter and program EA. So, this system is for discussion and future possible improvement.
The Only Pivot  (2694   1 2 3 4 5 ... 269 270)
Shinigami ask me to put my latest indicators and templates.. so if you are new for reading this thread, please use this indy and template because this is what i use now after download this zip file, just go to page number....... (i forgot, sorry ) the rule is using h1 1. if 2 SMMA WEIGHTED CLOSE...
Systematic Trading is the selection and execution of trades based on a predetermined set of rules generally drawn from a body of work known as technical analysis. In futures markets, such analysis utilizes a data base that includes market price, volume and open interest information. In the case of
Hello, I test Experts who come from the Market ... some work well on MetaTrader Demo Account. and have good result. when you test them on the other accounts it returns error messages. is there an explanation? can we trust
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...
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
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
hi im looking for AstraZ# whichich broker has it
Forecast and levels for S&P 500  (467   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...
I just created a demo account with INGOT Brokerage on MT5. The demo provides a single leverage option of 1:100. I deposited $10,000 and decided to use most of my margin which I assumed to be$1,000,000 based on the broker leverage. At the time, the stock was trading at $2030 (10 shares/lot) so I So I've been using MT5 for the past couple of weeks. I opened a several demo accounts with a local brokerage and I was testing various positions. One of the demo accounts I setup just to test stock splits so I bought some TSLA at$2201. Yesterday the split went through and I woke up to find my
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...
Forecast and levels for Nikkei  (35   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...
Forecast and levels for CAC 40  (21   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...
Hello, Where can I find an example of EA to trade stocks or ETFs? An EA based on a moving average would be fine. Thanks in advance, Pierre
Apple  (40   1 2 3 4)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
So i have tried to buy few 3x etfs but all the time it shows only position closing is allowed
I've searched through the internet, but did not find a documentation or informal data on proper order book (Depth of Market, DOM) structure and content. There are numerous articles about what the order book is in general and many examples of trading by it. But there's no exact information what is...
I am trying to find an MT5 order entry tool that has features such as custom order templates, Market/Pending orders, OCO orders, and/or hot keys to speed up order entry. It would also be great if you could choose to enter your SL and Target using ticks instead of price. I have looked at quite a few
Hello there! I'm trying to get ticks for some calc with CopyTicksRange function in EA (please,see code below). It works fine in real account, give the proper results. But when backtesting, it doesn't work. I'm currently working in Brazilian market with asset WING19. As I could understand so far, the...
Hi, I'm facing a strange issue here. I have an Expert Advisor, "Main EA", which loads a custom indicator , "MW MSSS Rev Hammer.ex5" with iCustom. The whole code is stable for weeks and for weeks I have been doing backtestings without changing the indicator's source file, only the Main EA and even so
Hi ladies and gentlemen! Faced the problem of different results at optimisation with identic MT5 terminals/accounts. All the adjustments of the robot are identic, accounts are different but also identic - pamm.ecn.mt5. The results are different. Does anybody have any idea what may be the matter
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?
Hi All, I'm working on an EA that takes the previous day low. To figure out this specific part of the EA I've made a testing EA to identify what specifically happens with this feature. Here is the code I have used: void OnTick () { double prevDayLow = iLow ( _Symbol , PERIOD_D1 , 1 ); Print (
i have a take profit of " 150 " points but , I'd like to partially close a position if it get 50 points profits then modify the remaining position with a take profit ( 100 points) , here's my code the problem is that the position closes fully at 50 points , i understand why but can't figure out how
Hi there MetaTrader developers, I really understand how difficult would be porting the whole MT terminal into a Linux-compatible design. However, on the other hand, I think that it is long past the time of a Linux MetaTester agent. So, can you please consider a Linux version for MetaTester? Thanks,...
Hi, I'm uploading an EA into the marketplace, and the backtest shows me: Not enough money. The default start lot of the EA is 0,01 lots (no marti), when I look into the backtest journal I see, that the EA is being tested with 0,2 lots. Why, can someone explain
I get this error when trying to compile my EA file: 'vsl' - undeclared identifier 'vtp' - undeclared identifier It's for this part: { if (USE VIRTUAL STOPS) { sl = vsl; tp = vtp; } What do I need to do to make it work? Anyone?
hello, folks my mt5 script is very simple, it read csv like this : void OnStart() {//--- string dt ; int file_20 = FileOpen("104782531.csv", FILE_READ|FILE_CSV,';'); if (file_20!=-1) Print("Error is",GetLastError()); Print(StringToInteger(FileReadString(file_20))); FileClose(file_20);
Calling positionClose from the CTrade class doesn't trigger the onTradeTransaction event. Is there a different way I should close a position
Greetings to all, I had a developer build an EA in MT4 and MT5 versions, but he was unable to complete the MT5 version. The problem occurs when starting the strategy test, after a few exchanges it begins to jump, it crashes until the entire PC system is down The developer claims that everything is
We have setup the whizard expert advisor EA. How to connect our live account
Hello. May you assist me with this Expert Advisor i am coding. I don't have programming background but i am still learning. 1. i would like to modify my TakeProfit and StopLoss. i have put a Take profit of 150 before, now i modified it to 500 but still shows 150 once it opens a trade I am suspecting
I believe this is more a comment than an issue. .\MQL5\Include\Trade\Trade.mqh line 601, function PositionClosePartial() when calling it, the function does not keep the current position comment. I just added the line below before the return: m_request.comment= PositionGetString ( POSITION_COMMENT );
Hi! I'm trying to create a visual indicator (MT5) but I'm having difficulties (I only know the basics). I tried to modify a code available on the site, but without success (https://www.mql5.com/en/code/1349). What I would like is: Candle Green: Close is higher than the previous high: (C2 > H3) or
Pivot indicators  (753   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here. - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is...
Hi there, My name is Revazi, I am trying to made MultiTimeframe indicator based on Custom indicator called Traditional MACD from MQL5 Market(https://www.mql5.com/en/market/product/2593). I am using this indicators main line and as soon as line crosses above 0 level I want to make blue
T3  (678   1 2 3 4 5 ... 67 68)
Some T3 indicators.
Execution of this line of code is freezing the thread for exactly 50 seconds. if ( CalendarValueHistory (mqlcalendar_value, iTime ( "EURUSD" , PERIOD_D1 ,1),iTime("EURUSD",PERIOD_D1,0), NULL , NULL )) Thereafter, the program continues without error but also without returning calendar values. I have
Indicators with alerts/signal  (15864   1 2 3 4 5 ... 1586 1587)
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...
excel rtd  (2)
I want to export tick data from a certain chart and have installed a sample excel rtd file from another broker. Someone said, that the broker is not important for the functionality of the rtd file. Unfortunately I get data that looks like this. Can anybody tell me, what i do wrong? Windows10
Hello, in Metatrader 5 when you choose a Moving Average with the exponential method there is no parameter for the \alpha coefficient that is in the definition formula. So what is his value and how can we change it...? Thx
hey guys,good day to you all I have a few scripts from tradingview that i like, i want to see if it can be edited and tweaked into an ea is that possible? does anyone do freelance work on etf stocks?like combining unique indicators to make a special algo script for signals
The feature of MT5 of 'Show real time history of deals on chart' is a great idea, however, it can cause a lot of screen clutter especially when trading on short timeframes eg 5min, then changing the time period to say daily to look at daily levels, trendlines etc. Is there some easy way to enable...
Tick Indicator and EAs  (243   1 2 3 4 5 ... 24 25)
hi, a cool indicator Tick_on_Chart i all TimeFrames :cool: only Live Tick !!!
EMA with alert?  (40   1 2 3 4)
Does anyone know of an indicator that alerts when price is within a specified range of 34 EMA? I have searched but can only find cross alerts.
Can't seem to find an example anywhere. For example, I'd like to have the RSI indicator with a moving average on top of it. Any oscillator is fine, once I have an example I can adapt it to my own needs. Thanks
On Balance Volume The on-balance volume indicator (OBV) is one of the most well-known momentum indicators and was developed in 1963 by Joseph E. Granville whose new book ‘HOW TO READ THE STOCK MARKET’ outlines his entire OBV theor The OBV stresses the importance of volume and its relationship to the...
hi. when I use icustom indicator in my EA , in Visually backtest, add a new indicator window in each cycle or each tick. what should I do? for example when I use iRSI(Symbol(),Period(),14) in back test, just draw one indicator RSI and every thing is OK . but when i change it to
ECN Trade Companion : On all MT4 market execution accounts (ECN, ECN Zero and Pro), preset stoploss/takeprofit price levels are not permitted. If a client wishes to specify stoploss/takeprofit values for an order, the client must modify the existing position after the order is opened. This EA helps
Color Smoothed Momentum: More smoothed Momentum with colored indication of the current trend. In this indicator Momentum values are smoothed using the JMA smoothing algorithm for signals filtration and display of a trend. As a result, it is now possible to indicate a trend using the indicator...
Fraktrak xonax: A trading system based on breaking through iFractals Author: Vladimir Karputov
Experts: FlySystemEA  (14   1 2)
FlySystemEA: This Expert Advisor is a pure scalping system. The expert place and manage pending orders. Runs perfectly on pairs with tight spread and low commission broker (commission plus spread equal or less than 1.0 pip). Choose a broker with zero stop level and fast execution to use...
Experts: Grid assistant  (24   1 2 3)
Grid assistant: The Expert Advisor is designed for placing managing grids. Author: Vladimir Khlystov
The Power of Envelopes : The power of Evelopes with trailing stop. Author: Jorge Eliezer Gaitan
Close-All: A script to close all market positions and/or pending orders. Author: amrali
Pro Traders see RISK as Percentage MT4 : Most traders keep losing money because they focus on money rather than planning their trades based on Percentage risk. Author: fxweirdos weirdos
New article MetaTrader 5 on Mac OS is published: Apple products have become very popular. MetaQuotes Software Corp. attentively follows the progress of the IT industry and has already released the special mobile applications for iOS-based devices - MetaTrader 4 for iPhone and MetaTrader 5 for...
Jurik Volty: About Jurik smoothing there is one part that is less known: Jurik smoothing is adaptive indicator. It is using something that is sometimes refereed to Jurik Volty (a sort of market volatility) for that adapting. This is the indicator that is calculating and showing periods of...
Indicators: Harmonic Pattern Finder V3  (67   1 2 3 4 5 6 7)
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
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...
Indicators: ZigZag Signal  (26   1 2 3)
ZigZag Signal: Indicator ZigZag System with Signal and AlertAdded Alert and modify by Roberto Jacobs 3rjfx @ 2018/12/29 Author: Roberto Jacobs
5 MINUTES SCALPER: 5 MINUTES SCALPER EA works best on 5 minute time frame EUR/USD . Author: Aharon Tzadik
Who can help me convert old version Indicator to new MQL4 version(build 600) Thanks //+------------------------------------------------------------------+ //| Nina_StepMA_1.mq4 | //+------------------------------------------------------------------+ #property
zero divide  (9)
hello, i got an issue with backtesting my ea... when i go to my mq4 file and check that line, i turn out to this..: double BasketTP( string type, string s) { double PriceSum= 0 ; double LotSum= 0 ; for ( int i= 0 ; i< OrdersTotal (); i++) { if ( OrderSelect (i, SELECT_BY_POS
Hello everyone~ I want to use MT4 to call the DLL developed by C# But i have a problem I organize my development process below Hope everyone can help me solve this problem 1. I am using Visual Studio 2017 (My windows operating system is Windows 7 64-bit) I create a new project, the project type is
MetaTrader 4 MultiTerminal, as a new component of the MetaTrader 4 Online Trading Platform, is intended for simultaneous management of multiple accounts. MetaTrader 4 MultiTerminalwill be helpful for those managing investors' accounts and for traders that usemultiple accounts simultaneously....
Hi I am trying to allow my EA to have the ability to trade on either Monday, Midweek (tu,we,th) or Friday. Or possibly a combination I created 3 boolean values with midweek set as true as a default:- extern bool Mon = false ; extern bool Midweek = true ; extern bool
Hi all My EA should open one trade if the ADX crosses a level from below. Most time it works fine but sometimes it opens multible Trades. All at the same time in same symbol. I think the problem occours in this part of code. This part should just watch if the adx crossed the adx_low_level from below
void CloseBal() { if (AccountEquity()<=MinEquity && AccountEquity()>= AccountBalance()+ Maxprofit ) { for ( int i= 0 ; i< OrdersTotal (); i++) { The maximum profit seem doesn't work
hi, i'm having a problem with my ea. the point of the strategy is that when the ema of 9, the ema of 8 and the ema of 13 periods cross the sma of 20 there will be an operation (only one at a time) but when compiling it does not give me errors but in strategy tester does not open operations does
Hi, I have created an indicator with displays and buttons that change variables, but now I want to create an edit button on the chart. I have managed to get the button on the chart, but I can't seem to figure out how to get the entry (number) to transfer to my variable. //=====================Input
I'm trying to run a function written in C# on MT4 by means of a dll. The dll compiles correctly, however when I try to run it on MT4 i get an unresolved import call cannot find Add in TestMe.dll Am following a guide on this link https://www.mql5.com/en/articles/249, the dll am using I downloaded it...
Hi I need an indicator with 3 Exponential Moving Average like "learnforexlive-3sma" ,thus I need to change an indicator "learnforexlive-3sma" that in this indicator I have to change MA method to Exponential and Apply to to Typical Price Can anyone help me ? Thanks. Files
Recently coded an EA and I thought itd be good to begin my forward testing phase, but for some reason it wont work !!!! It'll work in backtest, but when dragged onto a livechart in a demo account it wont open any orders. Any insight to this ??? Im sure its something simple, is there supposed to be a
Hey guys, Nice to meet you all. I'm new to the forum I want to create an Expert Advisor (Hedging EA) for the conditions below: 1. For Buy Order - 0.01 lot - SL = 0, TP = 30 pips If the price goes down to 30 pips below the open price of the Buy Order, it will: --> Sell immediately: - 0.03 lot - SL =
Hello everyone! Im trying to build a Dashboard that will alert me when price comes to a Supply/Demand zone.... I want to build the Dashboard with 2 indicators. The problem i have is, i dont know how i should pass the certain variables from the indicators to the Dashboard EA.... The "Peak HiLo
Ideally, I would like to end up with an array like [(O,H,L,C) 0 , (O,H,L,C) 1 , (O,H,L,C) 2 ... (O,H,L,C)n] where every tuple represents a candle and n=periods, n defined by me