Dear Forum, I'm attempting to utilize linear regression in order to trade. Specifically, I want to be able to use offsets with linear regression, in order to predict with the probability model. I'm trying to calculate the Linear Regression with the Least Squares Method. MT4 does not have a linear
Hi, I have different indicators that run on different MT5 instances with different _Symbols. These indicators provide printouts. Is there a way to output these printouts in ONE file shared by all MT5's? Do I have to regulate the access to the file myself, e.g. via FileOpen () and Sleep () until the
Hi Guys, perhaps someone can shed some light on this. On the MT5 Pc platform, I have dragged and dropped an Ichimoku indicator to a Stochastic indicator (all values are zero - it is used only to show levels). Anyone perhaps know how I can either save this indicator as-is, or generate the code for
Hi, My indicator shows 'Alerts', and wihthin that a/the target price,how can i use it for making my expert advisor? It can't be done by simple use extern int dUseAlert or dUseTargetprice, so what's the trick in here? Should i use 'bool', or maybe some command in the indicator itself, buffer or
Hi Guys , Does anybody know what's wrong with this code ? //+------------------------------------------------------------------+ //| Chart_Candles.mq5 | //| Copyright 2020, MetaQuotes Software Corp. | //|
I have a bar number that points to some specific time in history bar_number I'm running the chart in H1. Could you help me understand why: close[bar_number] returns a correct value, iClose (_Symbol, PERIOD_H1, bar_number) - returns always 0.0. The error is 4401. Do you see why, since it's the same
Hey all. Sorry if i dont get this across correctly. im new and am trying to help my developer. i have a strategy that relies on the ADX from tradingview... but trying to use the default ADX on mt4 is messing it up. its totally different. how do i get the same adx on mt4 as i have on tradingview
[Deleted]
Hi All, For everyone who like to use candlestick analysis for their trading, this little indicator show itself to be very handy little tool in your indicator collection. It automatically scans the charts, no matter on which timeframe you put it on and it will show you exactly where there are
Hi, while developing a non banal custom indicator I met a strange behaviour which I cannot grasp fully. The indicator is intended not to be calculated for the open bar. In other words, it is supposed to calculate position J only when position J+1 appears (= bar J completed) Below you can find the
//+------------------------------------------------------------------+ //| ATR Percentage S/L-T/P .mq4 //| | //| |
Hi guys, as written in the object, I am looking for an easy and working example to do that. E.g., if I am in H1, how can I load 15M bars in a so easy way? Any help is welcome
I don't know if this is the correct place to ask...but anyway is there any FREE indicators that draw vertical line when MACD and Stochastic moving in synced. Like example below If there is none existence how much cost to code this one
I am struggling to generate a switch using booleans. Essentially if(UPTREND) { Up=true Down=false } if(DOWNTREND) { Down=true Up=false } So when market UPTRENDED based on criteria Up=true Down=false This would only change when DOWNTREND criteria were met and so on. Currently i seem to be only able
Greetings all, I would like MT5 to send a notification to the mobile version on my phone whenever the RSI of for example SP500 reaches 20.00, how would I be going about it? I am completely clueless in coding can anyone please advice me on this matter please? Thank you, Justin
Hi, I'm not a programmer and I need someone who can help me .. I have a code that helps me extend the rectangles in the graph but when extending it only remains until the current time, try another way and extend it but the date of the rectangle is very far and When zooming in on the graph, the
Is there a way to read the order size from the market order window? Here's an image: I want to figure out the currently entered Lot Size parameter (encircled in blue) for the next market order programmatically , so i can develop an indicator which displays risk and reward levels accordingly :)
Hello everybody, I am new at mql5 and have a question for a good library to recognize candlestick pattern. I have found this library but they use a indicator for the calculation and I want to do it without any indicator. https://www.mql5.com/en/code/291 Thanks for your help
[Deleted]
I have encountered some strange behavior with initiating an indicator. Setting the PLOT_EMPTY_VALUE to 0 does not seem to work properly, with values other than 0 appearing in the data window. I have made the following indicator to test different empty value setting ways: #property description "not...
Hi all, What are some of the best entry indicators , in your opinion, that are out there and why? All information will be much appreciated
Hi all! I´ve been struggling to find out why my custom indicator is plotting "no sense" lines, even before any calculation. To eliminate any problem on my locig, I created a new Indicator using the MQL5 Template, and set it up with no logic at all, just assigning a value to the buffer on rates_total
Hello everyone, I'm looking for the indicator called "Hidden Market Peak" and "Colorful Fan", for Metatrader 4, as shown in the attached image . Someone knows? I used google and several other tools available, but I can't find it. Thank you for your time
Hi Guys , I'm having a problem with CopyBuffer(). As soon as I change the input parameter indicator buffer from 0 to 1 no data is shown on the chart. Does anybody know what's going on ? The reference guide is not helpful at all. Thank you very much indeed. int OnInit () { //--- indicator buffers
//+------------------------------------------------------------------+ //| TEST11.mq5 | #property version "1.00" #property indicator_chart_window input bool doit = false ; //+------------------------------------------------------------------+
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
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
Hi Guys, My Friend And I Coded This Indicator Last Week, By Default, The Signals Are Indicated By Arrows. I Plan To Issue An Alert At The Same Time As The Arrows Drawn. But I Don't Know What To Put In That " If ", To Issue An Alert In The Right Time. I Show You The " If " Section Like This: Line 209
Hi everyone. A while ago, I've downloaded and start trading with this indicator: https://www.mql5.com/pt/code/20852 It was coded by Patrick Muniz, based on a trading system of a brazilian trader called André Machado. The indicator just paints the candles based on the position of a moving average
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
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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.