MQL4 and MetaTrader 4 - page 51

Hi guys, Has anyone experienced this issue? I was running Mac OS 12.1 Monterey when my MT4 from MetaQuotes suddenly was taking ages to load different Timeframes, when I check journal, i was getting the message that states, HistoryCenter: 2718 bars imported in 'AUDJPYM15' - BUT this is not always on
i wana get GMT with WebRequest can some one plz help string Read_URL( string _url){ string cookie= NULL ; string headers= "" ; char post[]; char result[]; string TXT= "" ; _url = " https://www.worldtimeserver.com " ; ResetLastError (); //--- download html-pages int timeout= 5000 ; //--- timeout less
if (OrderModify(Ticket,Open_Price,New_SL,TP_Order, 0 ));
please can any one tell me how to calculate price difference between two line of super trend or can send me the code of user function related adout price difference between two line of super trend
hi i try to use this code for fill but not work anyone have sume suggest ?? thanks so much #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 LightPink #property indicator_width1 2 double ExtMapBuffer1[]; int init() { IndicatorBuffers( 1 );
Hello, I'd like to use Stop Limit Orders in MT4. Is it possible to create a script for this? Example: USDCHF - current price: 0.89000 If the price reaches 0.89235, the script opens a buy limit order at 0.89110. I found this https://www.mql5.com/en/forum/213874 , but I have no idea how to create it
Enable News Filter does not work in MT4 build 1370. Displays "Downloading News..." then system hangs
if ( iTime ( NULL , TF2, 0 ) == LatBarTime) return ( 0 ); LatBarTime = iTime ( NULL , TF2, 0 ); for (i = HistoryBars + Len; i > 0 ; i--) Sig_A = iBarShift ( NULL , TF1, iTime ( NULL , TF2, i)); I have two timeframe, Tf1 and Tf2. How can I get the pinescript equivalent of
I have created one dynamic trailing stoploss but it's only working in backtesting how can I modify it to live trading. Also can anyone check whether I am doing right or not input int InpTrailingStopPoints = 500 ; input double InpVolume = 0.01 ; input int InpMagicNumber = 212121 ; double
anyone help me? here's the code: { if ( OrdersTotal () == 0 && iRSIm51 > 70 && iRSIh41 > iRSIh42){ int ticket = OrderSend ( Symbol () , OP_SELL , 0.1 , Bid , 0 ,Bid + 100 * Point , Bid - 220 * Point , "venda" , 0 , TimeCurrent ()+ 3600 * 24 , clrRed );} } for ( int i = 0 ; i <
I expected that ArraySize returns 6, but it returns 0! Why? void OnStart () { int myArray[ 3 ][ 2 ] = {{ 10 , 20 }, { 30 , 40 }, { 50 , 60 }}; PrintArray(myArray); } void PrintArray( int &inputArray[][]) { int arraySize = ArraySize (inputArray); Alert (arraySize); }
Hello folks! Is there anyone on this forum who knows how this indicator works? You can post here or you pm me. Thanks! fx5_neelyelliotwave_v1.2.mq4
From my understanding of MT5 instructions, to receive push notifications on the phone from my destkop, the PC must be kept open all the time. I would like an alternative to this, as I can't keep my PC 24&7 open and I wouldn't like to buy a VPS to keep MT5 open on it all the time so it can send push
hi i have a part of long script in this script i have created a edit box and i want change backgroung color green/red when some percent appear in the edit box i write a function for do that void _MinimiDiCorrleZione( double Percz, string SymbO, string Correlato){ if (SymbO == "AUDUSD" ){ if
MQL4 Reference -> SetIndexBuffer: Note After binding, the dynamic array buffer[] will be indexed as in common arrays, even if the indexing of timeseries is pre-installed for the bound array . If you want to change the order of access to elements of the indicator array, use the ArraySetAsSeries()
Hello developers, I have a small issue with iCustom, I don't know what is wrong, each time I call on the buffer responsible for sell trades are picked on every interval (i.e the moment a sell closed another will be opened same moment), but if it was for the buy all works well here is the snippet of
Hi i saw in metatrader 4 the CFD like brent or index , but many broker call in diffrents mode , and i want compare with some string example if (( Symbol ()== "BRENT.CMD" ) this is correct for broker dukas, but for example fxopen no because BRENT call in differents name exist a mode for locate the
  Astro...  (229   1 2 3 4 5 ... 22 23)
Hi guys, I was wondering if anybody in this forum is interested in searching of connetion among planets,moon and other movements in space. We can share our experiance and learn more and more... All you know that the most famous and successful trader/W.D.Gann/ is used astrology and other technics to
As title suggests is it possible to allow all webrequests without adding them at options menu in MetaTrader 4
  OrderSend question.  (14   1 2)
For BT purposes only on MT4 If I use OrderSend is the order taken at the next tick? Is there a function to say place an order 10 mins before close?
I read from the net that Genetic Algorithm is more usefull for predicting method than Neural Network. For example EA Prizmal (ATC2008) is said to use GA. For implementing GA to MT4 EA, is it the same GA method with MT4's backtester/optimization option? How can I make MT4 EA that uses GA? I found...
Dear community, 6-7 months ago I was contacted by a lady in China. She convinced me to invest in XAU trading and guide me thru how to deposit money in company account (where she works). I wanted to withdraw rest of my money. I requested from their portal withdrawal request but I can't trace or see
[Deleted]
I have added a line of code to my EA: Comment("Balance:",DoubleToStr(AccountBalance(),2),"Equity:",DoubleToStr(AccountEquity(),2)); and it shows that EA is able to read and display Account Balance /Equity informationfrom back test in visual mode. I wanted to ask Rosh or other experienced...
Hi, I have this function below which check the status (Profit or Loss) of the last closed order: string CheckLastOrder() { string last; for ( int i=OrdersHistoryTotal()- 1 ;i>= 0 ;i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_HISTORY)==TRUE) { if (OrderSymbol()== Symbol () &&
let me explain my question that i think is different from others', or not? 1 i wanted to make my indicator shows the parameter tab 2 in that parameter tab it shows "apply to" option with the drop-down menu offering various ENUM_MA_METHOD including the previous and first indicator's data similar to
Hi all, I'm trying to manually close a sell order but I have an Off Quotes result. I push yellow key to close by market. Position size is 2.9 and I'm trying to close 0.7. Open price: 4450 Stop: 4500 Bid: 4409.4. I don't understand where is the problem
Hi guys , Just a quick one wondered if anyone has got any idea when I switch timeframe on MT4 autotrading is automatically disabled meaning I then have to turn it back on to execute with an EA ? Kind regards
[Deleted]
Hi guys, Investigating the logic of one indicator I noticed that iMAOnArray() function returns different results for the same values depending on whether they are represented as indicator buffer or static array. I created a simple test that calculates Simple MA of 3 values with the period of 3....
even i use iCustom i cant get price of last zigzag can some one help plz void OnTick () { double arr[ 5 ] = { 0 , 0 , 0 , 0 , 0 }; for ( int j = 0 ; j< 1000 ; j++) { double zigZag = iCustom ( Symbol (), 0 , "ZigZag" , 12 , 5 , 3 , 0 ,j); if (zigZag != EMPTY_VALUE && zigZag !=
[Deleted]
  kernel32.dll  (11   1 2)
hello, i need kernel32 .dll for version 4 build 1090. can you help me