I did see the signals tab on my MT4 terminal and investigated - found many interesting signals! I tried to subscribe but without success. Then I looked for a signal provider that is the same as my broker " TradeFort" - again no success! (I am able to subscribe but no trades are copied as the
Using MetaEditor v 5.00 build 934 and MetaTrader 4.00 build 670 produces the following: double d1=20/1200*600;double d2=600*20/1200;Print("d1=",d1," d2=",d2); // d1=0.0 d2=10.0
how can I calculate a 20 day price channel in mt4? I need it for my calculations, how can I find the current value of the upper line of a price channel for a given bar? I couldnt find any built in functions in mt4. Do you know any?
what is the nearest channel to keltner channels which is built in into mt4 platform? Donchian channel ? are there any keltner channels built into this mt4
[Deleted]
Does anyone know how to set an alarm informing me that there was a big fluctuation on the market
(8)
Does anyone know how to set an alarm in Metatrader 4 informing me that there was a big fluctuation on the market?
Hello guys. I am writing from Argentina I hope you will understand my bad English. My question is : It is possible select a chart automatically? This is my case: I have an "alert line" that make a noise when the price touches it. But usually I use this alert line not only in a single chart but...
Hello Is there a way to label an indicator line (ex. a Moving Average) in the same way that graphical objects placed on a chart can be labelled? What I want to do is detect if an object/indicator with a specific label exists on the chart and read its value programmatically. I can already do this...
[Deleted]
Hello guys! Need some help! When using script Profit = OrderProfit() + OrderCommission(); Comment(Profit); sometimes getting values like 2.100000000000001 or 2.599999999999999 instead of 2.1 and 2.6. Basically I'm expecting to get max only 2 decimal places after point. Even if I...
Hi everybody, I intend to buy the new SURFACE PRO 3 which runs on WINDOWS 8.1 Pro. Does anyone know or has any experience with MT4 with it ? Thanks for your comments. Sam
When I load my EA to practice account the journal has this line item 2014.08.25 17:26:01.212 Code Base: failed parse codes I can not figure out what this means. Please advise Thanks
Hi, I'm new. I'm looking for someone to code me a robot that will open trades and close trades based on Heikin Ashi Smooth colour changes on renko charts. I'm a university student so I won't have much time to monitor trades. The idea for the robot is basically when heiking ashi candle turns white...
I have structures that I need a single instance of. Naturally, it's highly discouraged to create several objects in different classes of these structures. So I came to the conclusion that, in this case, the most reasonable option would be to use the singleton pattern. Right? Here's an example of a
MT sometimes show the chart incompletely, for example as below charts, both are XAUUSD chart for the same time, period: 1h; the left chart is from MT, and the right chart from other place. just as you see, the right chart have 4 more bars than the left chart, and in the fact, the left chart lack
Hi there i just wanted to experiment with my "MACD-expert" a bit. Thats my whole source code: double MacdCurrent, MacdPrevious, SignalCurrent;double SignalPrevious, MaCurrent, MaPrevious; int init(){}int start(){Print("Account balance = ",AccountBalance());Print("Account balance = "...
hello everyone, Is everyone ready for the important news, which are comming out today? I'm looking forward to a very volatile market. But now to my question: I'm working on an Expert advisor and everythink is going well except from one thing. I have here my two functions BUY() and SELL(), with the...
Dear MQL community, I have a little problem to solve with MQL, and hopefully someone can provide the good answer, and maybe it helps others because I really can't find a reason and a solution. So I have developed an expert, and after doing some unit testing the second step has been to test over past...
[Deleted]
Hello, if i have 2 order open with idfferent Lotsize, how can i calculate at which price the both orders have zero win loose? I have here a exampel. Order one Sell open at 1.35000 and Order two Buy open at 1.3520 The first Order have 0.1 lot and the second Order have 0.25 Lot. The second order is...
[Deleted]
Was trying to bring the value of ZigzagBuffer in my EA by writing the value to a file, in the indicator and then reading it from the file, into my EA. Was able to write to file, but when trying to read, I get error code 5004. Below is the code I used. //...
I need to have EMA for my calculations in mql4, but the mt4 only has MA=moving average and not the exponential moving average!!! I need to be able to calculate the EMA for any given bar in the current chart in mql4 language. Does anyone know of any solution? ( need to calculate based on closed...
The idea of applying the apparatus of random flow theory to describe various processes occurring in nature appeared long ago. The most fundamental work in this field may be considered the work by Bolshakov I.A. Statistical Problems of Signal Flow Extraction from Noise. -M: Soviet Radio, 1969. Bottom
Hey there, I only have scripts which change all timeframes or templates but I need the symbol to be changed. It is pretty annoying to change the symbol of the charts manually when using six timeframes.
ive recently made an EA based on the stochastic indicator and need some assistance to make the EA better. I am a complete dum dum when it comes to coding so I made the EA using an online EA builder. I now need to madify the EA so that it will only place one trade on each upward and downward cycle of...
Tengo el siguiente inconveniente y me gustaría si me pudiera ayudar alguien. Descargue la plataforma Meta Trader 4, tanto en mi ordenador, como en mi portátil y lo que pasa es que los perfiles que creo en mi ordenador no se reflejan en mi portátil. Quisiera saber si hay alguna forma de copiar mis...
Hi all, i am playing dumping info to a csv file and i am wondering several things: //--- dumping file handlerint handle_file=FileOpen("values.csv",FILE_WRITE|FILE_CSV,","); int init(){ // Writing file headers if(handle_file>0) { FileWrite(handle_file,...
[Deleted]
Can anyone tell / show me how to import the value of a buffer into an EA which is normally 0.0, becomes a certain value throughout the code, then returns to 0.0. I've been using iCustom to bring the value of each buffer into my EA, but only get either 0.0 or empty value ( 2147483647.00000 ) The...
[Deleted]
Hi, I'm a newbie in programming MQL4, I'm just trying to create an indicator-oscillator to draw the % difference between moving average and price. Could someone give me the code for that: SMA = Simple moving average Indicator= (SMA / Close)*100 My time frame will be 1w, 1d, 4h or 1h for 89 or
[Deleted]
When I compile an old indicator in build +600, Some errors are returned: 'Close' - constant variable cannot be passed as reference fractal_dimension.mq4 160 52 'Open' - constant variable cannot be passed as reference fractal_dimension.mq4 161 52 'High' - constant variable cannot...
Hi all, i've created an indicator with three buffers to manage color changing, but i've a problem about refresh of the last candle (candle in realtime)...don't work correctly in that candle (it's not enough a "Windowredraw" instruction). Thanks for suggest.
Hi, I was playing around with Chart Operations because I want create a script which applies a certain template to all open charts... I use this script below as a first test to get info from all open charts but the ChartSymbol() and ChartPeriod() functions only work for the current chart. if I use...
Hello, I am pretty new to mql4 programming. I've made some simple EA, and while testing it (with strategy tester), some positions are opened above the current price, and some stop losses are triggered even that price never reached into that zone. Here are some pictures: Picture 1: Buy position...

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.