MQL4 and MetaTrader 4 - page 1141

To post a new topic, please log in or register
Could someone make an ARROW OR DOT at the end of new fibo drown. es up on the chart I would like it to sound an alert. Many thanks in advance
Hello Experts, I am relatively new in using expert advisors, and I need your help in learning it better. I am trying to learn how to use custom indicators in EA. I downloaded a custom indicator "parabolic_sub.mq4" from this site. I copied it to my experts/indicator folder and I compiled it. When I...
Two questions 1. Is there any way to ‘double out’. If I have a position of buy 2 Is there a way to sell 2 and close the buy at the same time ? 2. Is there any way to set by default the stop loss ? Preset at 20, 40, pips etc. or 10$, 20$, 40$ etc
  HULL -o (1)
Scriptor, is there a way to autotrade using your Hull_O_H_L_C indicator. Awesome indicator on the 1 hour chart.
hello, please help me create an ea with 5 and 6 ema trailing stop stop loss take profit thank you
Hi, I'm a newb to MQL4, but know Perl fairly well. I wanted to look at creating a learning algorithm. I can do this pretty easily w/ perl & mysql, but not MQL4 yet. Is there a way to feed data from MQL4 to perl and then to MySQL, or does all coding have to be done only in MQL4? Thanks, Newb
Hi, I would like to know if 2 different EAs can be run on the same currency pairs in separate chart windows in the same live account. Thank you, Robert photojournalist10@gmail.com
I haven't seen a good EA on sale that follows good trading rules. If I were to create one, who would be interested in sponsoring me AFTER the EA is complete and tested and working well? Also, should we keep it only between a few people? It might not be a good idea to release a good EA to a crowd....
Hy, Could you please help me to find a solution. I am working actually on an EA and would like to introduce a request to change the SL & TP limit according to the evolution of the market. You'll find below my request detailed but it seems that there's one more problem i can't fix. Any help is...
Hi, I have the below formula and would like to translate it to MQL4. Would you pls help me? .hmmessage P{margin:0px;padding:0px}body.hmmessage{font-size: 10pt;font-family:Verdana}MACD MS Look Ahead I a:=12;b:=26;x:=2/(1+a);y:=2/(1+b); top:=Mov(C,b,E)*(1-y)-Mov(C,a,E)*(1-x); {C required for...
Hi I want to calculate recent loss value in my ea how can i do this? i have an idea but it did not work
Hi, I just try to make Ea, but I make some mistake, I hope someone in this forum can help me to revise it. My problem is in exit or Closing, I want to close not only by StopLoss and TrailingStop, but also by Indicator, when the indicator triggered Exit signal I want to Close. and back to return(0);...
Hi All, I have encountered a problem during writing EA, anybody could enlighten me? Problem in displaying 2 value from the same indicator with different period setting. Second value always display 0. double Demark_Test(){ double Demark1 = iDeMarker(NULL,PERIOD_M5,14,1); double Demark2 =...
HELLO HOUSE, DOES ANYONE KNOW HOW TO CODE THE TECHNICAL/FUNDAMENTAL ANALYSIS OF THE FOREX MARKET????????? ....I HAVE BEEN TRYING TO ANALYZE THE TECHNICAL TRENDS AND WOULD LIKE TO CODE IT AUTOMATICALLY. CAN I EVER ACHIEVE THAT?
I have a normal System, which I want to back check. See what the drawdown is etc. I want to go back in history and make a list of trades. The biggest condition is time. I want to do a single trade every day, at the about the same time +- 2 Hours. So, I will have a .csv file, with...
Can anyone tell me if it is possible to trap "at market" open and close order request calls from MT4 and route them into Microsoft Excell where Excell will perform some logic and then pump the order call back into MT4 for onward execution with the broker? Thanks, Duncan
Can someone help me out with a piece of code that detects when a new candle starts and sends an order to buy/sell at the candle open price please. Thank you
Hello, I like to have the MT4 reports (Statement.htm) on an excell sheet (I am in fact using OpenOffice Calc) with one line per order. Actually one order is described on 2 lines (magic number and Comment on the second line). As I do not know how to use or write scripts for this calc sheet I would...
Seems the M1 chart can only be scrolled back to the beginning of month. I want more! E.g if I mark a point on the H1 chart and want to have a closer look at it on the M1 chart the M1 chart can't be scrolled far enough back to reach this point. Have tried adding more bars to chart and history but it...
Is it possible to force MT4 to use a folder other than ClientTerminal_folder \experts for my scripts and indicators? There's a documentation about the file system here: https://book.mql4.com/metaeditor/files But it does not tell me how to do what I require.
Okay I've been trading a discretionary system with some success based on about 8 indicators, 4 of them have clear turning points that I want to use as signals. For example say I want my exit signal to be when a 9 day RSI goes above 80, hits a high and then turns down below 80. Now I assume it will...
I am trying to write a simple alarm for when an order is closed this is what I have but I can't get it to sleep. The alarm sounds evey tick and I want it to sound only once after the ordes are closed. int start() { if(OrdersTotal()==0)Alert("Orders Closed!!!"); Sleep(600000); }
Hi, I need an help in editing the attached indicator. The indicator plots previous day High and Low levels. The problem is that if DayofWeek()==1, the indicator plots Sunday night levels. I'd like that if it's Monday the indicator will look to Friday levels... Thank you!
Is there anyway to put in a "break" in the code so when it reaches a certain point the code will stop and you can check the values of certain variables ?
  Day profits (1)
How to calculate the totals profits of trading day ?Thank you in advance for your help
Hy I would like to know how can we ask to introduce only one order in the EA ?
I am trying to write an indicator which projects a line from the current bar into the future (it is a price prediction). Obviously I can draw a line by setting ExtMapBuffer1[i] to a value where i is the index from 0 into the chart history. What I need to do is draw the line into the future i.e. as...
Hi, How do I draw boxes like the ones in the screenshow in the post here? https://www.forex-tsd.com/general-discussion/15143-school-pimpology-57.html#post228211 Thanks, Mauzj.
Hello everybody, Its my first quistion here, im not too much good in this :), but i hope someone can help me coding this. lest say MA1 crossed MA2 from down to up direction at XXX price . how i can know if for example the next 15minute bar has been opned above the cross price after cross time...
Hi How to change PERIOD_M5 (5 minutes) to PERIOD_M10(10 minutes)? Can anyone help me? Thanks Scott