MQL4 and MetaTrader 4 - page 3

Hello I can check if the mouse wheel is moved when the cursor is in my interface area, but I didn't find a way to get the wheel moving direction. Sorry I'm not sure if what I said was clear in English or not. I mean I want to know if the user spins the wheel upside or downside. Both of them gives
I’m getting the message; LiveUpdate: old version, try to download new one In the past when I relaunch the mt4 terminal it automatically updates itself and restarts with the new version but now it is stuck on “old version” with no connection Should I wait for a fix or continue installing a new
Hello, The last weeks I have been struggling to get my strategy tester to run simulations in the way I want it to happen. Basically, I want to test an EA from the TFs M30 up to H4 but when strategy tester is loading the data it only takes the M1 and sometimes the M5 to do the simulations. Did anyone
Hi guys, i want convert some pine Script indicator code to MQL4 but im beginner in MQL pls help me that is some code i want use it in MQL but i dont know how ... ` float p= 0 float q= 0 float m= 0 T=close-open L=high-low k=math.abs(T)/(L) atr=ta.atr( 50 )
Hi coders, I'm learning coding now. Pertaining to this post that quoted by "nicholish en" : https://www.mql5.com/en/forum/305424#comment_10829666 for ( int i= 0 ; i<symbols.Total(); i++) Print (symbols[i]); From my understanding, the "symbols" is a buffer to store all the open trades symbols. Let's
[Deleted]
  Chart Axis Fonts  (21   1 2 3)
Hi, How can the x & y axis font sizes be changed? The default font size is too small. The other charting programs I use have options to easliy change them, but I can't find anything in the help section that addresses this. Thanks for your help, Geoff
Hi, I tried to get the BUY and SELL's Lowest Net Profit or Loss (LLNPL) for each symbol in my EA, but I cannot get the correct answers ... My codes are as follows :- string arTrSym[ 8 ]={ "AUDCAD" , "AUDCHF" , "AUDJPY" , "AUDNZD" , "AUDUSD" , "CADCHF" , "CADJPY" , "CHFJPY" }; double bLLNPL[]
Good day, All. When optimizing an EA I’m getting are out-of-array errors, erroneous results far out of line of what they should be, and terminals crashing altogether. When I run a backtest for any of the passes that are a result of these optimizations, the EA provides what I would assume to be
It has been a week now since I Cannot login to MT4 mql5 community. But if I login to www.mql5.com website, there's no problem here are my screenshots
to all mql4 masters i need help to modify this currency meter so it can draw a dot based on the level setting in this indicator, this indicator slope is repaint, but here i just try to get the histories of the price based on highest or lowest price of the candle when it reach the target level of the
//+------------------------------------------------------------------+ //| | //| Comprehensive MT4 Bot Code | //| |
Hello I have been trying to fix this issue by trying different platforms of MetraTrader 4 from differnet brokers and none of them worked. When I go to C:/ProgramFiles and there are all files templates,pairs etc, but there's not any folder with Indicators . I have searched by MT4 on Open Data Folder
  Traders joking, the beginning  (7312   1 2 3 4 5 ... 731 732)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hello everyone. Is there any solution to know if a ticket is already closed without having to iterate all open positions
hello i have a indicator that does display the current risk with some math, it technically works just fine however after some time (mosly when i close positions) it just stops updating, and i have to reload it via template or change the symbol to make it work again, is there somethings i can do to
Which will be more effective, reliable and faster? Code 1 : void CloseOpenAndPendingTrades( int trade_close_magic) { for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--) { OrderSelect (pos_0, SELECT_BY_POS, MODE_TRADES); if (OrderSymbol() != Symbol () ||
Hi guys like a title exist a free indicator for show me How much leverage am I exposed to? immagine i open a trade and i want know every time I open a trade and they increase I want to know how much the leverage is now i use by hend this calculate The exposure leverage calculation can be performed
Please double USDCADOPEN = iOpen ( "USDCAD" , PERIOD_D1 , 0 ); double USDCHFOPEN = iOpen ( "USDCHF" , PERIOD_D1 , 0 ); double USDJPYOPEN = iOpen ( "USDJPY" , PERIOD_D1 , 0 ); double AUDUSDOPEN = iOpen ( "AUDUSD" , PERIOD_D1 , 0 ); double EURUSDOPEN = iOpen ( "EURUSD" , PERIOD_D1 , 0 );
Below are step by step instructions, of how to subscribe to a MΤ4 signal: 1. Register a MQL5 account: https://www.mql5.com/en/auth_register 2. Open your MT4 platform and go to Menu >> Tools >> Optios and click on the Community tab. There you put your Login and Password of your MQL5 account
I haven't used MQL4 for a while , when i just get to use custom indicator when trying to get the method CopyBuffer , It doesnot exist among the built in functions, I guess my memory is not bad , It was there !! Is there the other way to get MLQ4 indicator buffer values
Hello, OrderDelete(OrderTicket(), clrViolet) , I am using this code, it should create an arrow mark object on chart with Violet but it not creating. Full code : void CloseOpenAndPendingTrades( int trade_close_magic) { for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--) {
  Usefull links/threads/tools  (57   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
  MT4 Push Notifications  (12   1 2)
Hi guys, I have been reading around but unfortunately I can't find any solution to my issue, so I would like to ask you for help. I'm currently using MetaTrader 4 Build 1090 under a Demo Account and for some reason I can't seem to get my custom indicator to send me Push Messages to my Xperia XZ. I...
Hi Guys, sorry to bother you with so "simple" question, but I can't find [for good time already] any way to move one [or more] indicator windows, up or down below main chart window without closing it and re-opening in desire order. By closing one indicator window and re-opening it I have to...
Please how to display the price that fibo has ? //--- установим количество уровней ObjectSetInteger (chart_ID,name, OBJPROP_LEVELS ,levels); //--- установим свойства уровней в цикле for ( int i= 0 ;i<levels;i++) { //--- значение уровня ObjectSetDouble (chart_ID,name
hi i want to change red color of high to low line in Fibo tool to none-color in mql4 script. how can do it ? thank you
//--- * short trade if (trade_ok==true) { if ( ( Ask- SMA_10day < buffer* Point *K ) && ( price_above==true)) { ticket1=- 1 ; ticket2=- 1 ; while (MarketInfo( Symbol (),MODE_ASK)-MarketInfo( Symbol (),MODE_BID)< 4 * Point *K) // spread < 4 { Alert (MarketInfo(
Good morning, I find it absolutely absurd that if I don't log into my vps for a while I can find myself with mt4 BLOCKED because it doesn't update. Incredible, that is, do I have to risk my experts not closing my operations just for an update? Are we joking? but who is the genius who decided that
  MT4 download  (17   1 2)
I want an MT4 download link, I do not want to use MT5... Most people want MT4 so why push users towards MT5? Why should I go through a broker? Stop annoying a lot of people and provide an option!!!
Does MT4 has a function can convert upper case to lower case and vice versa? Itcould be very handy. cheers.