[Deleted]
Hi, Need some help, I tried to change the code below but the EA kept crashing MT4. I want the order to close when the current bar (so the bar where the order was executed) closes. Basically trade one bar. This is the original code, it trades from signal to signal....
pleas help me to get code for volume off each bar insted off high-low on the chart below is high-low i wanted to get volume off each bar on chart pleas help to code #property indicator_chart_window extern int MinRange= 50 ; extern int LookBack= 1000 ; // --- Init & Deinit
Hello My H4 chart is updated from 2004,now I want convert it to M15 chart,I know we can convert H1 to H2 or H4 to H8 by period converter.In fact convert h4 =>M15 that I can see the M15 candle of 2004 too. Can any body help me? Please guide me how can I do it or what kind of indicators is essential....
Question: How do I get my already functioning expert advisor to check multiple indicator readings before entering trade? For example: (1) how do i get a MA crossover EA to also verify predefined macd reading and also predefined stochastic reading before continuing with opening buy or sell order at...
Hi there,I'm a newbie to MT4 and not quite through the UM (Users Manual).I could not find until yet a procedure that allows to run different EAs on separate accounts.Is there one ?Thanks for your help in advanceRoland
I want the attached EA to be placing order once per day if the signal occure between the hour stipulated in the i.e 7 a.m to 17 p.m which its did but i discoverd that it place order more than one between the period if the signal occure and i do not no what to do. This is how i want it to place buy...
[Deleted]
Someone pls help add code for Take Profit, Stop loss and Trailing Stop to this EA. It should place only one trade in a SAR direction I got it free and found it seems helpful //---- input parameters extern double Lot_Size=0.1; extern double SAR_Step=0.03; extern double SAR_Maximum=0.2;...
this may seem like a stupid question, but it's coming from a newbie... so be gentle. Is there a way to use married puts with forex... like in option-able stocks?
I've been working on an EA that only trades in the daily time frame. I'll only talk long trades so hopefully someone can spot what I have done wrong. The idea is to enter into a trade, when the 5 ema is above the 20, and a seller bar happens that is between the lower upper envelope and bottom...
[Deleted]
Item$ = " EURUSD " channelNumber = Application.DDEInitiate( _ app:="MT4", _ topic:="BID") data_array = Application.DDERequest(channelNumber, Item$) .Cells(IDCounter, BidColumn).FormulaArray = data_array Application.DDETerminate channelNumber I got this code to work a few times, but now it seems to
[Deleted]
Hi! My EA calculates the momentum for 15 minute timeframe and 1 hour timeframe. I use: double Min_15 = iMomentum(NULL,PERIOD_M15 ,20,PRICE_CLOSE,1);double H1 = iMomentum(NULL,PERIOD_H1 ,20,PRICE_CLOSE,1); If I choose period M15 (for the backtest) I get values for Min_15 and none for H1, if I choose...
Hi, I would like to get information from the current symbol on the current chart using the script (assigned the button Ctrl+M) or on the other way. I would like to get the window like this: Above window contains MarketInfo() forcurrent Symbol() informations. Is the possibility to get the window...
Hello Can you please advise if exist in MQL4, type of variables that are NOT deleted with Client Terminal shutdown or PC shutdown. Answer can be in russian as well. Thank you Igor
[Deleted]
hi guys, I am stumped here... I am trying to get an alert when the new bars high is higher than the last bars high or the low lower than the last bars low... I have tried to do it like this... (it doesnt work...any ideas why? ) im running it on a 5min chart to test it...
Hello; I want to modify the known expertadvisor ((Macd Sample)), I have added a stop loss and a magicnumber andmodified the code to allow trading in multiple currency pairs in the same timeby adding a variable ((compteur)), the problem is that this code do not openany trade on backtests . The code...
[Deleted]
Hello, I just started learning about MQL4 and have written my first program. However, I am have a hard time trouble shooting a few of the errors that I encountered when I complied my EA. Below is the code that I have written. The strategy is simple: OpenLong: If 10EMA >20MEA, %K>%D, ADX...
How does a MA cross strategy fail? I've been trying to optimize and backtest the Moving Average EA and no matter what I do it always comes up a failure. When I try to optimize for periods from 5 to 65 for a six year span, all periods end with ten consecutive losses. When I randomly backtest for...
Please I need an EA that will send my manual trading activities as messages to 1.Tweeter. 2.email. 3.web page and 4. phones worldwide
this is not a matter of being lazy or not I just need a second eye to seek where my unbalanced parenthesis is because I can not find it :( ty to anyone who help me int OrderWatch() { int eldest; double eprofit; double profitsince = 0; int etype; double elots; string...
[Deleted]
Hi guys. I have payed for this code but it didn't work good and the coder don't answer to my mails :( I was looking for indicator that will save whole chart also with indicators after candle open. But after I have received this code it is saving only price chart window and another indicator windows...
Hi, Need some help, I tried to change the code below but no success. I want the EA to trade only selected days of week. This EA is MACD sample. //+------------------------------------------------------------------+//| MACD Sample.mq4...
iMA(NULL, 0, n, 0, MODE_SMA, PRICE_CLOSE, i + n / 2 + 1); iMA(NULL, 0, n, n / 2 + 1, MODE_SMA, PRICE_CLOSE, i); I can't think of any difference, yet when I plot them, they look different on charts. Any help understand the difference is appreciated. Thanks in advance, Edwin
Hello. I'm writing a strategy . When I put close trade before entry signal, it skips alot of trades. This should trade one time each bar, and go from buy to sell trades only. This I made conditional. When I had entry before close, I get one trade a bar. Changing that skips about 7 days after...
[Deleted]
hi guys... I am writing an Ea and have a couple of questions that I hope someone is able to help me with. I want me EA to not trade on a Sunday or a Monday (my broker has Sunday candles) so I used a bool flag like this : if(DayOfWeek()==0 || DayOfWeek()==1)trade_allowed=false; then i use the...
[Deleted]
Hi everybody :) Is there a way to reduce the speed of visuell backtesting? I want to see what my EA is doing during the backtest for a better analyzing. Sometimes it tackes a long time, till a trade is done, so I increase the speed. But then oftenly the trade is closed and over before I can reduce...
Hi, I need to add or subtract a given amount of time to a given time and date. Lets say we have the given time of Jul 17 2011 22:30 and I want to add 05:00 (5 hrs) to that datetime, giving Jul 18 2011 03:30 How to do this in a simple way? Dealing with hours alone is simple, just add and take...
[Deleted]
Let me clarify - I have system that uses <anySize>Tick sized TickBars supported by circular Q management environment etc,etc, to include all required emulations of 'normal' MT/builtins that work with TimeSeries arrays. Basically it all functions (as expected) asif EA running off of TimeSeries Bars...
hi alll plz help me to make this ea profitable it use lot : 0.10, 0.20, 0.40, 0.80 ....... but i wont to make it work in : 0.01, 0.02, 0.04, 0.08 ........... this is code XXXX
[Deleted]
Dear Forum, I'd like to design an expert advisor, that makes decisions based on information from indicators. For example Indicator01 notices a good opportunity and alerts the expert advisor. The Expert advisor checks this information with other Indicators, to further estimate chances. In the API I

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.