MQL4 and MetaTrader 4 - page 10

To post a new topic, please log in or register
count(); if(condition01==1) { tick=OrderSend(Symbol(),OP_BUY,lot,Ask,5,0,0,"condition1",magic,0,clrGreen); time1=Time[0]; } Good morning, I'm writing an Expert Advisor, but I need to send the order at the closure of the candle and not immediately when the condition
If ATR rise and ADX rise it is trending but in ranking how can know range by code and how can prevent trade in this range market
Hello, I would like to have something (I don't know if it should be called na EA or a script) that automatically opens a position if the timeframe candle (that the ea is running on) closes beyound a certain level that we define. Note that it is not when price reaches that level (for that we have...
hi guys how you doing well i have an indicator that i want to convert to EA its a zigzag with arrow can anyone do this for me
  MT4 Support (39   1 2 3 4)
Hello,  I've read that MetaQuotes will no longer be supporting mt4 after this year. Does anyone know if ea's designed for mt4 will still operate correctly after this year?   Thanks, AJ 
Hello, everyone, I have two questions: 1) I would like to create a Textbox where you can write us some information about the candles you tell me if it is feasible to create one appears on the graph and then move it with the mouse as if it were a window. 2) As for the indicator I would like to
Hello, Please how do i combine two oscillators in one combining OBV with a custom indicator Thanks
How can Object create for trend line and How can get value of Trend to set up break out entrt
Hi, I wonder when MT4 saves data as CSV export - does it same bd or ask data or the average of both? Dave
Although EA has good result in backtesting ,always end with close at stop and loose some profit get before. Although EA has trailing and lot management function,that still happen. I want to know how can fix this problem
As says the title, whenever I move MT4 folders from C:\Program Files (x86) to another C:\Program Files (x86), I have to relog each time, which is very annoying... my C:\Users\*Username*\AppData\Roaming\MetaQuotes\ is empty, if anything
I've looked around, but prices seem to vary rather drastically, for higher end VPS solutions What would you guys say the average price for a VPS that can support all 32 terminals should be? In my case, all the MT4 terminals are very light-loaded, i.e. Transaction Repeater on all termianls, Myfxbook
hello, I need help to write a code wich will allow me to open an oder at the opening of the next comming candle. From example. // here are Stochastic value iStochasticValue= iStochastic current value ( current candle Stochastic value) iStochasticPreviousValue= iStochastic previous value ( previous
Hello All Im trying to build an indicator that helps me scan the market and calculate strength of Currencies using my own algorithm. I loop through Currencies and then I can't detect the Closing Price for that specific currency. Here is my code so far int OnInit() { for(int
  WebRequest() question (12   1 2)
Hi, I've searched the forum and checked https://docs.mql4.com/common/webrequest site but couldn't come to a conclusion. I'm willing to send specific outputs (such as orders, information about ea) to external web page. I do not get any authhorization errors but I'm getting the following kind of...
I wonder any one have write a .ex4 that can apply several button , e.g. 0.01 button , 0.02 button , 0.03 button when press them which can close order on a symbol chart ? thankyou
  new to coding, need help (14   1 2)
Ive just started coding. Ive been watching loads of videos. Im trying to code an expert advisor but im having trouble. The current thing that im working on that im strugling with is trying to make a counter that will count how many bars its been since price closed above a moving average. This is
I hope I am posting in the right category. If not pls direct me. Hello, I am using Excel RTD from FX Blue Labs from  Pepperstone to connect my Excel 365 (Desktop) to MT4 to get real-time forex data and historical ones. I need to know how to use the fill handle to fill all the cells without typing...
  Elite indicators :) (15132   1 2 3 4 5 ... 1513 1514)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
Hi, How should I proceed if I want to switch signal to another account during subscription period? Is there a risk that I have to pay it again? Or is it just business as usual? Thanks in advance!
I want to login to my demo account automatically whenever I start Metatrader4. Under Tools -> Options I have set up the server, login and checked "Keep personal settings and data at startup". It does login automatically next time I start MT4 BUT only sometimes. It still prompts for password if I...
(NULL, 0, "Waddah_Attar_Explosion", 0, Current) Looking for the Parameter number thats for the current Waddah indicator line and the number for the Current Histogram Value Thanks for your help
Hi, i need to move an label object to the current price position but not works... please see the code:   int OnInit(){      if( ObjectFind("MyLabel") == -1)      ObjectCreate(0, "MyLabel", OBJ_LABEL, 0, 0, 0);   return(INIT_SUCCEEDED);}void OnDeinit(const int reason){   if( ObjectFind("MyLabel") >=0...
  Floating Charts problem (14   1 2)
Hi everyone, Floating Charts from www.floatingcharts.com stopped working 2 days ago, and the website is unreachable. Does someone else have the same problem? Thanks in advance
Is there any functions to open a file on Windows 10 . I need to open a text file on windows using API. I think I should use dll files buy I don't know which file and functions can open a text file by using filename on windows
Morning' everyone, I would like to get the value of the Average True Range Indicator (ATR). I tried to use the following code, but the value is way lover than the one given by the indicator. iATR(NULL,0,14,0); When I print, the value displayed is: 3.000000000000621 e-05. Any idea why? Thanks in
Hi everybody, I have an indicator that draw arrow up and arrow down as object on chart, I want to program an EA that trades by these arrows, I have two questions: 1-How can I find when these objects drawn?(how can I detect these objects?) 2-How can I find out difference between arrow up and arrow
Hello, How do I display the current spread as a value in my custom indicator? I use the following code, but it doesn't display. string displayStr = IntegerToString(spread[0]); ObjectCreate("ObjName", OBJ_LABEL, 0, 0, 0); ObjectSetText("ObjName",displayStr,24, "Verdana", Red);
I just got a Verizon JetPak HotSpot so I can connect to the internet with my laptop when away from a wifi connection. It works fine for browsing the internet, but my Forex Oanda account will not connect. If I turn off the hot spot and then connect using my home wifi, Oanda's MT4 connects immediately...
Hello, I wrote a simple indicator that draws the day's High and Low (useful on timeframes smaller than D1). When I attach the indicator to a chart, it correctly identifies the change of the day at 00:00. The issue is that the indicator, when used in the tester, seems to reset itself twice daily, at