MQL4 and MetaTrader 4 - page 832

Is there any mql4 programmer to make this EA Details Buy Stop: previous Day candle High + 5 PIP Sell Stop: previous Day candle low - 5 PIP SL & TP 30 PIP. SL & TP Will be modify manually on settings If previous Day Candle close green then only open Buystop and If previous Day Candle close red then...
Hi guys, I coded a simple indicator that will send me an email when: 1) Open of Current bar < Low of Previous bar - 0.0005 (5pips) But This does not work for JPY crosses as it is 0.05 for JPY crosses. How do I solve it? Can I make it work for 3 and 5 decimals too?
Hello, I've been working on creating some indicator which will be working on Renko Charts. I need to access the Open value of the 1st bar for today on RENKO CHART. I Can access open with "PERIOD_D1", but that gives me Open value according to normal chart not according to Renko Chart. I dont...
Dear all, Thanks to your unselfish and effective help, the developement of my first EA is coming to the optimization phase. Would you please recommend me a series of articles on optimization, so that I can read them one by one and prepared myself for the EA optimizaion work? I have searched...
[Deleted]
Hi all, I am new to this forum and MT4 !!! I would like to ask if anyone knows if there is any PLUGIN to send certain parameters in REAL TIME via a network from MT4 to another software and back to MT4. What I want to do is the following. Export various parameters in real time to a Max-MSP patch via
On my desktop I upgraded to the latest mt4 build so test out the market tab. Worked fine but now here comes the issue, on my vps (which I have administrator control) I do the update but after it finishes there is still no market tab, I have confirmed on start up that it did indeed upgrade to 574....
I got some picture like this, this is not my. I want these message on the left and top also like the picture I don't want the order information,just self define informatio. example : status1:true status2:true status3:true status4:true ObjectCreate I dont't konw how to use? anybody can help me?
Long ago I stumbled across an indicator - no idea where, or what its file name was. My computer died and I'm setting MT up from scratch on a new one - and I can't find the indicator anywhere! Maybe someone can help. A long shot, yes, but web and forum searches give me nothing. After being installed
I open a file with handle right then this happens FileSeek(handle, DOUBLE_VALUE, SEEK_CUR); Price = FileReadDouble(handle); The Price that I get here on backtesting is correct but once I go and test it on live trading the filereadDouble returns a number from the beginning of the file and not the...
Hi every one, I have written an mql4 program which scans all shares and returns some statistics based on their typical price and etc. However, there are always some shares which temporarily blocked because of some governmental policies i.e., they are not traded for some days or weeks. I want to...
[Deleted]
Hieverybody, I am building a system and i need a specific indicator.Thisindicator must take “n” bars and calculate for every bar (open price –close price)and I need it to add the positivs and show it and the negativs and show it (seperatly). I need also this indicator to move back in time so there...
[Deleted]
Hello, i get the error message wrong parameters count because i think i have to many parameters in the icustom function, does somebody know how many parameters are maximal allowed? I am trying to call the icustom function here with over 60 parameter settings.
relative newbie trying to code an indicator that marks bars that are completely below the 20 EMA (i.e. high below 20 EMA) and only mark the first instance since there was a whole bar above the MA (i.e. low above MA) and alos the opposite (ie first whole bar above the MA). When I put in while loops...
Hi all, I have another query. I am using the following code to retrieve the stochastic value at the 0000hrs mark: iStochastic(NULL,PERIOD_H4,14,3,3,MODE_SMA,0,MODE_MAIN,0); The above code gives me a value of 12.136685 However, on my chart with the same plotted as above, it is different from the...
Hi could you please advise me how can i add an horizental line on the chart? i tried ObjectCreate("حد بالا", OBJ_HLINE, 0, Time[0], TL, 0, 0);ObjectCreate("حد پايين", OBJ_HLINE, 0, Time[0], LL, 0, 0);     but, i dono how can i change the color and size of line
[Deleted]
Hi, I am looking for some brokers with non-standard forex sysmbols, such as _EURUSD, EUR.USD, EUR_USD.fx, ... for testing purposes. Thanx.
[Deleted]
  Candle tricks  (1)
Candle tricks Pairs:Any Time frame: 15M ONLY INDICATOR : m- candle CHART : candle stick chart Entry long position: IF 15M candle close buy Entry short position: IF 15M candle down close stop loss : 20- 50 pips, IF CANDLE going against you then exit Profit take : 4H close candle or exit...
[Deleted]
Hello, I have a VPS with Windows 2012 Datacenter Edition R2 as the OS and when I try to uninstall MT4 (from any broker it seems, I tried 8 different ones, all with the same result) from Control Panel -> Programs -> Programs and Features -> Uninstall/Change, an error message appears: "You do not have
I want to count the 0's after the decimal point (of a positive number less than 1) till the first non 0 number. I'm stumped, is there some way to do this without converting to string first? For example I want: 0.01 = 1 0.05 = 1 0.00087 = 3 0.123 = 0
[Deleted]
Good trading. I had attached an indicator file ( i- FractalsEx ) here which generate Buy or Sell arrow signal when market condition meet certain rules, I find it predict very accurately the market direction but it does not generate alerts sound. Does anyone can help to modify the program so that it
when I open an order some time, but some time the order had been closed at stop loss, shall I know it immediately when the order is closed at once by EA and send an reverse order? is there some function to do this? if not, how I should set to achieve this target? in the fact, I have make codes to...
Hello guy, I've go the following problem to solve. Some help will be appreciated. I started EA-1 on one graph. For example have no executed order yet. But on other graph I got other running EA-2, which decide to order for example EURUSD , with magic number 5555. If the EA-1 watch for order with
[Deleted]
Hi, I'm trying to figure out why the TakeProfit results in the terminal results window, is showing more profit per trade than the entry and exit prices would produce. For .10 lot (10,000) it is showing a 60 pip range between my entry price and my exit price, yet it shows $98 profit rather than $60...
[Deleted]
Hi there! I have run into a strange EA behaviour, I will first post the code, then the output this is the part of the code that behaves strange: Lot = GetLot(MaxRisk);OpenPartOrders(OP_SELL,Lot); the GetLot function: double GetLot(int Risk){double Free    =AccountFreeMargin(); double One_Lot...
[Deleted]
Hi all, I want to encypt string in mql4 use hmac sha256 (like http://php.net/manual/en/function.hash-hmac.php with first param is "sha256") but I can't find any function or lib to do it, please help me! Thanks all,
respected sir my ea works on 5 min on friday it opened a position and did not place stoploss and takeprofit . photoclip attached pl guide
I can't seem to become a subscriber to signals with metatrader 4. I have followed the steps in the video tutorial and still I don't get the "signals" tab in the terminal window. When I subscribe to an SP and click launch metatrader 4, it just opens the program. This is probably the ultimate n00b...
Hi all, I have done a search but I have not gotten an answer to my queries and therefore am writing this to seek help. This is what I am trying to do: I want to obtain the stochastic value from a 4-Hour chart in an EA that runs on a 15min chart. I understand the following code executes what I want
I have searched for downloads, I have downloaded a standard (509) from Metaquotes and opened an account with them and then changed server to demo.metaquotes.net:443 "No connection" Any other chioces?
I wrote simple indicator for pais trading showing in separate window ratio e.g silver/gold, basing on close prices. Do you have an idea how to draw same ratio but represented by bars instead of a line?