MQL4 and MetaTrader 4 - page 50

Do the Volume Array items have a Bullish Bearish property? Thanks
https://www.mql5.com/en/charts/17914343/gbpjpy-m30-fxtm-this-trade-still-end-in-loss-help-from-fxtm
hi guys i ahve this control in middle of script if (ij% 2 ){ if (VarOrder1 == 0 ){ VarOrder1=OrderTicket(); } } else { if (VarOrder2 == 0 ){ VarOrder2=OrderTicket(); } why return
I have two Internet connections. One of them is working fine. It's just a little slower. The primary one can log on to my brokers (two brokers) and update all the data in the charts, but I can't place or close any orders. When I try to open an order, it just hangs forever. After a very long time
[Deleted]
Hello, I have an EA that I am programming to utilize one of several different order close conditions. The conditions are: daily, weekly, and equity based (if equity gets too high or too low). These are all programmed and working successfully. I am also needing to add a monthly close feature that...
HI , I am having a bitter experience trading. I am new with only a few months experience and am unable to take full advantage of the features in MT4 simply as I am still new and secondly because of the broker as they are discouraging to use MT4. They allow to download from their website only,and not
CAN NOT search brokers and can NOT login to IC account via MT4 mobile APP
I have noticed I cannot access Market from any MT4 terminal. I am logged in but I just get blank page. I have refreshed and restarted terminal Can anyone help
the first test with gbpusd 1.7.2022 to 14.7.2023 Symbol GBPUSD (British Pound vs US Dollar) Period 1 Hour (H1) 2022.07.01 00:00 - 2023.07.13 23:00 (2022.07.01 - 2023.07.14) Model Every tick (the most precise method based on all available least timeframes) Bars in test 7461 Ticks modelled 29443782
Hello Everyone i have this function on mql4 to check if there is an opened order with specific magic number: bool CheckIfOpenOrdersByMagicNB( int magicNB) { int openOrders = OrdersTotal (); for ( int i = 0 ; i < openOrders; i++) { if ( OrderSelect (i,SELECT_BY_POS)== true ) {
hi i have create a line chart and i want fill under the line like the attach i think for have this effect i should painted rectangle under the line many rectangle , the question is how is possible find a end of screen ?? when zoom or unzoom the screen change , i never think at this problem anyone
Hi! I'm trying to call iMA in OnCalculate of a custom indicator: for (int i = start; i < rates_total; i++) { double fast_MA_prev = iMA(_Symbol, _Period, prm_MA_fast_period, 0, prm_MA_calculation_mode, i-1); // where prm_MA_fast_period=10, prm_MA_calculation_mode (ENUM_MA_METHOD) is MODE_EMA. //
Hello how are you I am new to learning the mql4 language, but I learned how to create a trading expert based on moving average crosses This is the code I use Now I want your help on how to write a trading code that commands the expert advisor to enter the deal buy, for example, when the price closes
Hi all, i'm restart to work with MT4 after many years and i have noted a big worsening in test performance. I don't understand why, it seems that the new versions of Windows works worse than the older but i really don't understand why. I already use the standard tricks (less bars, few variables
Hey, I have implemented this Queue that takes any type. I want to use like this since I don't know the max size at time of initialization: Queue< double > q; // Work q = Queue< double >( 20 ); // Where 20 is the max size of the queue This causes the following errors: " '>'- unexpected token", " '20'
Done. All questions here. No more questions in index 2 :) The previous ones are here. https://www.mql5.com/ru/forum/111497 h ttps://www.mql5.com/ru/forum/131277 Useful links to similar topics. Forum navigator and frequently asked questions (FAQ) FAQ subreddit Only "Useful features from KimIV"
Hello everyone, a question for those who understand about DLL. Is it possible for a DLL to implant a virus in the computer, through mt4 ? I ask this because I used an indicator that I found on the internet, which asked to allow DLLs, and a few hours later, I was logged out of my Windows account
hi as stated on my title, I put a button that closes all my open trade at the same time when I press it, but sometimes when I change my timeframe in mt4 it randomly activate without me pressing the button, here is the code of my button if (id== CHARTEVENT_OBJECT_CLICK ) { if
hi guys in my script i want open a trade at time it works only for short return me error 130 i suppose is sleepage but i set also 100 or 1000 and continue to non open i try also to open only a buy (because i open 2 trade buy and short in the same time ) but nothing anyone have idea why not? ?? this
//+------------------------------------------------------------------+ //| sma9ema45crosstp.mq4 | //| Zubair | //| https://www.mql5.com |
  Margin Calculation ?  (17   1 2)
At the bottom of the MT4 terminal when the Trade Tab is selected MT4 shows the following parameters: ---> Balance: Equity: Margin: Free Margin: Margin level: <--- My question is "What is the equation used to calculate Margin?"
Right, quite frankly, I have just about had enough of this.. I currently have a snippet of code which returns the standard deviation of a currency pair and displays this in an email which is subsequently sent. The standard deviation is calculated in the #include file called: chart_objects_correl.mqh
Hi, I have this indicator that I want to use on my strategy. This strategy will draw support and resistance for the day. The indicator doesn't display value on the data window and no buffer I can use to retrieve its value. I tried to looked into objects list and it doesn't showed up. The only thing
My mql4 EA opens charts and closes them under various scenarios. The problem I have is once a chart is closed, it is still showing as an open chart via ChartNext(..) etc. even though the chart is obviously closed. For testing, the code below opens, then closes 3 charts, and lists the resulting
Hi guys i have find this indicator https://www.mql5.com/en/code/7933 by @Sameer , i want modify i want insert this future , cart overly like line .(choice candle or line , or line with area fill underline) i insert many part in code but i have 2 big problem and i dont know where insert hand
Where can I get the full list of OBJPROP constants values or how can I check which number represents which constant? On mt4 no errors for the below but for mt5 the below returns errors. ObjectSetInteger ( 0 , "MyObject" , 1000 , 0 );
is someone able to make the MT4 on start -up , to force show Tab "Trade " and not another one
Hi, I've been using https://sslecal2.forexprostools.com as my news filter source and it now not allowing access since last week. Anyone else having this problem
In mt4, I want to see max daily drawdown of all trades while they were open. How do I see that? I need to set daily account stop loss according to that. For example, if I have 5 trades open right now and overall they are in loss, say, (500), I have to find out max value of such loss for last one
"Hi guys, I have two functions. One is named '_ReturnHOCLVofXcandel', and the other is named '_PearsonCorrelation'. The 'PearsonCorrelation' function calculates the Pearson correlation coefficient. The first function ('_ReturnHOCLVofXcandel') is supposed to return an array with the opening prices