MQL4 and MetaTrader 4 - page 233

Hi, would anyone know the difference between: a) double SymbolInfoDouble(_Symbol, SYMBOL_ASK), and b) double Ask (i.e. predefined variable) The documentation tells me at " MQL4 Reference / Predefined Variables / Ask " that this is the latest known seller's price (ask price) for the current symbol
Hello! :) For example, I found a pinbar in a M15 timeframe, and I want to find a confirming pinbar inside the M15 timeframe: M5. #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 clrRed #property indicator_width1 2 #property indicator_color2 clrLime #property
Hello, I know this is a basic question, but I am struggling to find a way to open a trade with a fixed risk percentage. As an example, I would like a trade to open with a risk of 2%. this way I can tell the EA to place a stoploss without stretching my risk. If price hites my stoploss I want to close
Hi everyone. Hope you all are doing great. I have been trying to display two icons on my chart using OBJ_BITMAP_LABEL function from ObjectCreate(). But fortunately i haven't got lucky a single time. Even I tried copying all the code showing how to use this (OBJ_BITMAP_LABEL) but still got no
Hi I am new to MT4 platform. I am Java Programmer for sometime and good with it. I would like to learn Python and use with MT4. Please can someone point me into right direction where I can find some examples and tutorials on this topic. I would like to go learn Algorithmic Trading and learn to write
Hi guys I'm working on indicator, what I am trying to do is that I want to make statistics. I want indicator to start working in past like we can indicate start time in strategy tester, I don't want to use Historical OHLC, Is there any other way? I hoped that this code would work on all available
  Ilan 1.6  (8)
Hi friends, I have been using this EA for long. It has made me some money. It trades multi-pairs and trades multiple times per day. This EA works on Gap(Trend). If the gap is too long this EA is dangerous...it can blow out...this is because its Stoploss is not coded properly. Although it has a SL...
I know that for some indicators there exists an ...OnArray() version in MQL4 (e.g.: iMAOnArray(), iRSIOnArray() etc.). I want to apply any custom indicator on an arbitrary array but it seems iCustom() doesn't support this. I'd be surprised if indicator calculation on an array of values was only
Hi, I use <Deleted> indicator I bought two years ago. It works great but suddenly it stopped working. It freezes MT4. Doesn't show up on the screen. Other indics work as usual. Help, please
MT4 I have an indicator that is displayed in a subwindow like example an rsi for argument sake. This same indicator displays arrows on my chart. Is there a way for me to permanently hide the sub window so I only see the arrows on my chart. I take it the following command has something to do with it
whats deffrent between srt to tiome and string to time
I need to someone to modify this indicator "CCI_ALERT-5_Silent" The signal appears only after the candle is finished. But I need that the signal appears before the end of the candle, in intrabar. is it possible ? Thanks for your help
I would like an Expert file made for MT4. My trading strategy is as follows: Starts off with a buy stop trade or sell trade for 60 pips with 80 pip stop loss Right after an opposite trade is made, if first trade was a buy stop, the second trade would be a sell stop and it would be for 20 pips below
Helllo, I am aware this has been discussed in previous posts but some have said it does other it does not. Is it therefore possible to test an EA written in MQL4 and see VISUALLY 5 different charts of different time frames update on a new tick at the same time (attached screenshot). Thank you for
Hi guys,i'm looking into making a simple martingale ea but i think i encountered a dead end. So,the function send_order buy/sell should do the thing it intends to do.I appeal and it should open a new sell/buy order with the volume increased by the lot_multiplicator but it says "'volume1' -
This probably seems a minor issue but its really annoying me. I used to have City Index as my broker. I now use InstaForex. I downloaded MT4 from their website. On the desktop the icon is the correct one for InstaForex. But when I click it and it opens, the Icon in the apps bar is City Index. I find
[Deleted]
I have the code below to create a list, and colors for the Stoch value above or below a level, How can a get an Alert from this Stoch value? All help greatly appreciated 😊 void DrawStochColumn( string symbolName, int x, int y, string text, int fontSize= 8 , string fontName= "Calibri" ) { double
Ok so im pretty new to this and my question might seem elementary, but boils down to I keep getting 130 and 4107 errors when trying to place an order using the ATR as sl / tp. So I thought using the (Bid +/- ATR) as sl/tp was a valid method, however it has only executed a trade exactly 1 time for
Hi Guys I want to Stop and Restart Auto Trading between the Times I have set. mt4 How Is This Possible? how can I do it ? :)
Hi, I used timestamp to make action only once before, but I noticed that it isn't that accurate and when action happens more than 2-3 times per second it happens 2-3 times too I mean tick change per second. Below is my code that I used before: if ( true ){ int AlertCount = 0 ;
hi there, im new in mql4 1_i want drew trend lines in deffrent H1 charts manual, and i want set order on trend line( i should find price bellow or up the candle crossing from trendline) with expert ,any one knows how can i do it? 2_how can in mention a "special" currencys open candle_ price, for
well... since inquiring (bright) minds - masters of mathematical plummets don't like grail-like trading systems... well... especially for them, let's just say... there is no grail... but what's left? - then we need something simpler - something that makes a profit... ...and preferably not a measly
SUMMARY In my (fully working) MQL4 EA, when i have an indicator that detects a trend early, how best can I confirm it with another indicator that detects a trend at a later time (at a different bar)? If the second (lagging) indicator is coming late, should i even bother confirming it with one that
  about time  (5)
hi all, i want invert date and time to secounds since from 1/1/1970, but it gives me error , for example i wrote Print("sall" StrToTime(2021.02.05 05:05)); on void onTick, but it gives me error like .05 some operator expected, and 05 unexpected token? whats the problem
We would like to find someone who can add Trailing Start Trailing Stop Trailing Step to our EA. Then we will share for free in the store. PM me if your interested
Hello friends, Please take a look at this: BuyOrder= OrderSend ( Symbol (),OP_BUY,LotSize,Ask,Slippage, 0 , 0 , NULL ,MagicA, 0 , clrBlue ); if (BuyOrder!=- 1 ) { Print ( " Buy Opened " ); } . . . if ( OrderSelect (BuyOrder,SELECT_BY_TICKET)== true ) if
Hello i have a number of accounts in the same broker, in each acount i follow diffirent strategy is there any way to nickname them in order to personal identify (in metatrade) to which account to login for each action ? thanx Christos
  How do I do it?  (3)
how can i make an Expert advisor whos able to take signals from my telegram and trade it automatically
Hi all: I have used an EA to manage some positions in my account. This was with MT4 on a somewhat older computer. I have now installed MT4 on a newer computer. My question is, after I download and install the same EA on this new computer, is it going to be able to recognize the positions that it has