Is there someone who can explain me when the Close[] is better than iClose() and why or if they are perfect the same. Thank you
Hi Im working on an ema ribbon indicator, wich would simply change the color of each ema, according to what the user types in as input. For example if the ema period is 5, it would change to dark violet, when its 20, it would change to blue, etc. It would be true to every ema I tried this with
Hi i want create a libray for call button in simple mode like _GiuButton( param...) but i want create a generic _GiuButton , in this mode when i want create buy and sell button i simply do in this mode _GiuButton( param buy ...) _GiuButton( param sell...) , but i have some dubt , i saw this page
Hi, I am working on an indicator which I just had run in the debugger. As this (due to a loop of loops of..) runs tooooo long I killed both the terminal and the editor. Now after some changes I want to start the debugger again but the button to start the debugger is grey and disabled ?? I restarted...
Hey everyone. I've been looking for a simple RSI audible alert for MT4, which would ring when the RSI closes above a certain level and below a certain level. That pretty old thread RSI alert and popup - Forex Trading is asking for the same thing but in the given list I haven't found anything like...
I have an indicator which generates signals based on 03-Moving Averages and certain filter criteria. I want to develop an EA based on this indicator. Any guidance in this context will be appreciated
hi, I'm new to mql, I'm trying to create a dashboard indicator. My problem is what when I enter the indicator into my friends' laptops. Does the indicator hang/crash for a long time
My playsound function has always worked properly and I've been writing code for metatrader since it was released back around 2005, just to clarify that I'm not new at this.. but now my playsound function only outputs a beep sound no matter which wave file I play. I checked the Boolean return code
Hi, I've created an EA which works perfectly in the testing mode. The issue with running in in real mode is because I don't have enough money to trade as the test mode, so I need to use leverage, which my account permits. Is there a way to code the leverage in so that I can execute the trades using
Hello, we work with MT4 and sometimes have over 20 currency pairs in one trading account. Is it possible to get no notification at X% drawback, based on the total trading account? Thanks in advance! -Steven
Hello, Since last week i suddently faced a problem with the MT4 platform. i didn't add anything new and i have no indicators downloaded on MT4. I tried to uninstall and install again, when i do it from my brokers site it crashes all the time but when i install it from the MT site it launches and
hi i want create a library with some function that create a button and other GUI , i have a main program call A and library called B in program A i call with include my libraryB.mqh, inside of them i want create a function called GuciCtrlButton( string SymbolBut, string NameBut , string NameText
Can the individual candle colors be changed or only for the entire chart ? My attempt here: void bullish_engulfing_candle() { for ( int i= 1 ; i<=50 ; i++) { if (Close[i+ 1 ] >= Open[i+ 1 ] && Close[i] < Open[i] && Close[i+ 1 ]-Open[i+ 1 ] < Open[i]-Close[i]) ChartSetInteger (
Hi guys is possible click over screenn in chart ( but also not over candel) and return me open high low close and data time ? anyone have some example script or similar?? thanks
Hello, How would I save the order open price for all open orders and save it into an array which updates every time I add another order? My code is below. double OrderOpenPriceBuyArray[ 10 ]; datetime LastTimeBuy; //LastBuyOrderTime ( int j = 0 ; j < OrdersTotal (); j++) { if ( OrderSelect (j
I have a MetaQuotes Demo account. Every monday my mt4 tells me "invalid account". I already opened two different accounts because of that but every monday the same issue. Does anyone have an idea what the issue could be? Thanks. Ulrich
Hi, I'd like to open a discussion about multiple timeframe so I created this sample code and it suppose to read data from two different timeframes and act depends on the results that given to it but it doesn't work any idea why ? Thank You
I have problem from MQL4 I would like to get the price of the currency pair to directly, but the price to get depends on the currency pair to be introduced. How can I get the direct price? double USDJPY[]; ArraySetAsSeries (USDJPY, false ); int rates_usdjpy = iBars ( "USDJPY" , PERIOD_CURRENT );
Case: mt4 1382 win 10 Problem: mw clock freeze untill i move mouse upon window with mt4 terminal, looks like this case lasts from build 1340. There were propositions to delete terminal.ini file with mt4 client restart. Doesn`t work
Hello, new to MQL4 EA's and new to MT4. Questions: Do MT4 EAs need OnInit() or OnStart()? Do I put indicators inside the EA or reference indicators within the EA? How can I reference indicators within my EA? Scenario: I am trying to have an EA that trades based on the conditions of 2 indicators
For 1 lot in EURUSD a broker is calculating 1 USD profit or loss and another broker is calculating 10 USD on 1 pip (10 points) change. Can i get this difference using tick value
Hello, I have create button by OBJ_BUTTON. I want to prevent user click on button in some case. Is there any way for enable/disable button click on MQL4? Thank in advance
hi friends. I have wrote an expert . when I test it buy order was okay . buy EA set sell order takeprofit with input stoploss instead of input takeprofit and it sets stoploss with input input takeprofit instead of input stoploss !!! what I did wrong
I have multiple MT4 terminals on my PC. When I attempt to download an item from the market, it only goes to the terminal that was last installed. I tried installing products within the terminal itself, but sometimes the products I am looking for do not show up when I do a key word search for them
Hello. I am using the custom indicator CCI in my programming. However, the program does not behave accordingly to the CCI on the chart. I am wondering - anyone know the ENUM_APPLIED_PRICE in the custom indicator CCI ? Regards, Håkon
Hello, I have made my first EA, working with codes in forum but there is one small issue - it is not automatically closing trades and i do not know why. Can someone please explain to me, why it is opening trades correctly, but not ever closing trades? I thought i was using magic number the right
How Can I fix this?? Try couple different way but still have error. Please help. Thanks Error: 'iFractals' - wrong parameters count PEAK BREAK EA.mq4 30 33 'iFractals' - wrong parameters count PEAK BREAK EA.mq4 31 33 'iFractals' - wrong parameters count PEAK BREAK EA.mq4 32 33 'iFractals' - wrong
Sometimes there is a need to reverse the trade that u open. The attached script will close all open orders that already running and will open a new orders with equal lots size. The scrip will close and reverse only the orders that the symbol() is equal to the one that the script is attached to

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.