Hello there, After 2 years learning about forex,test some strategies and create new, i deside to automated my strategy.I have knowledge in java and now i buy a book and start learning mql4. Before start coding i want someone to help me answer these questions: 1.Let's say that i use 1 hour chart.Can
I have attached two pending order EA's please help with the following The "News Trading EA" says invalid trade parameters when I apply it to my chats, Please fix that bug, also please add "Time" to put those orders cos I don't see time there, I only "see order expiration time" With...
Hey there, I programmed an EA that is working all in all pretty good. But there is one problem, it only open one short and one long order and then wait until these are closed to open the next orders. But I want this EA to open an order every time my conditions are fulfilled. The broker allows that...
The robot I work on opens multiple deals about the same price, I want to stop repeating trades from the same point. For example, if the price of 1.200 opens only one transaction regardless of its type, and continues until the condition is met again and opens one deal at the new price. Question 2: I...
//+------------------------------------------------------------------+ // DO NOT DELETE THIS HEADER // DELETING THIS HEADER IS COPYRIGHT INFRIGMENT // // Copyright ©2011, ForexEAdvisor.com // ForexEAdvisor Strategy Builder version...
for(int i=0; i<Bars-10; i++) { a[i] = 0; b[i] = 0; double Main = iMACD(NULL, 0, FastEMA, SlowEMA, SignalEMA, Price, MODE_MAIN, i); double Sig = iMACD(NULL, 0, FastEMA, SlowEMA, SignalEMA, Price, MODE_SIGNAL,i); a[i] = Main; b[i] = Sig; c[i]=EMPTY_VALUE;...
[Deleted]
Hi, Is it possible to zip/unzip a text file from a mql4 code ? I think we could use kind of zip dll but if someone already did it, it would be great :) Thanks a lot, Manu
Hi Guys, this function should print the average values to the "x" candle and the "x-1" candle but it prints the same value please help me fix it I do not understand where I am going wrong? for(int i=0; i<limit; i++) { //---- ma_shift set to 0 because SetIndexShift called abowe...
I want to know about "for" to buy only when it change from 0 to the number.Ex) 1.072222 If you know about this, or know about ea using related information, Please answering my question..
I am currently struggeling to get text written directly below my drawn arrow. This is my code right now //+------------------------------------------------------------------+//| Indiv1.mq4 |//+------------------------------------------------------------------+#property...
Hello, can you help me find a profitable Expert Advisor, preferably free, I am a novice algotrader and all the Expert Advisors that I have seen, all pour. I am a beginner algotrader, all the EAs I have come across all leaky.)
Hi, I've been trying to create a simple expert advisor based on the Ichimoku Strategy. That is, when the TenkanSen is higher than KijunSen, buy. When the Tenkan Sen is lower than the KijunSen, sell. When TenkanSen = KijunSen, close. But after compiling it, Meta editor says I have 14 warnings. Can...
Good Morning everyone, In MQL4 It is possible to group objects so that when I click on one of them and press del, all of them are deleted like they were a single object? Thanks in advance, Luca
Greetings to All, Can anyone explain what the "40.0%/56.6/141.5" mean of the closed trade??? A pic is included for reference. Thanks
[Deleted]
Gentlemen! I am Alexander Smirnov, whose articles in VS are of great interest to you. I am a scientist, but a practitioner-trader in the past. I am very good at TAP. Applied mathematician. After the article was published I got in touch with Djuric. Offered cooperation. However, his arrogance and
I have written a loop within a script to get some symbol spec.s: void OnStart() { int nSym = SymbolsTotal(false); while(--nSym>=0 && !IsStopped() ) { ResetLastError(); SYM = SymbolName(nSym,false); sel = SymbolSelect(SYM,true); Prc = iClose(SYM,PERIOD_MN1,0); while (...
Hi All, I have been trying to get OrderSend working without any joy, I am sure this is simple but I cannot figure it out. anyone got a good example of using OrderSend with IG Index on the FTSE100? Steve
Could someone please advise how to close all orders at a total profit in pips
hi everybody, i need help if someone can do i will be grate, is simple, when i do an indicator icustom like this: double BUY1 = iCustom(NULL,0,"RSI",1,Current); double BUY2 = iCustom(NULL,0,"CUSTOMINDI",1,Current); < IF THIS INDI HAS ALERT, IT COMES A ALARM AND PRINT THE
When the arrow comes out, the order is placed in order to place an order with the red line at the beginning of the red line, and the order is placed in more than four units per minute. How do I put the conditions at "If" //BUY Open if((UpTrend != EMPTY_VALUE) &&(Buy != EMPTY_VALUE )...
Hi, I already know below error would like to say 'Object already exist', and I checked out all of my Label object names, and their names very different. And just I would like to know where that problem come from? (I just inform I use Label Create function for EA's) LabelCreate: failed to create text...
I'm going to receive a signal from the " iCustom " function to configure " ea ". Using the Print function, I can not see what the buffer looks like, except for 0.0. I tried it, but it was the same result ( double UpTrend, int UpTrend, bool UpTrend, string UpTrend...) Is there a way to know the form...
[Deleted]
How can I get the past day range ( highest-lowest) from Bar[N] to Bar[1] ? thanks for help everyone .
[Deleted]
aIm currently in the process of building an Ea, Upon testing in mt4, the indicator I'm using which is a non repainting super trend doesn't refresh itself and i have to frequently manual mouse click refresh an after this theres a signal for entry however my Ea doesn't pick this up and no trades are
Every time I open a trade using Ask or Bid its at an 11 dollar loss for 1 lot. Is there anyway to open a trade at 0 or at a smaller loss?
Hi, I want to do a back testing and before I do this I download first the historical datas of USD/EUR of 15min. But as I run the back testing I got error that "...TestGenerator: no history data 'EURUSD15' from 2017.06.01 to 2017.06.08". In fact, as I open the downloaded historical data sheet, the...
Hello I am lost - maybe some gurus can help me ;) My goal is to draw colored arrow in the chart exactly at the EMA line - but only when the difference from current to previous candle is above/below a specific level. So far so good ... During an Uptrend - the arrow is displayed exactly on the EMA...
lea 18.04.2010 12:14 SProgrammer wrote >> then ten bars ahead of the redraw boundary it can be 99% accurate. It's a beautiful fact, but useless. =========== grell 18.04.2010 12:17 SProgrammer wrote (a) >>. No - you're not quite right - if you for example take a MA with a period of 3000, then five or
How to force MT4 to download lower timeframe data (eg. M1) when on a higher timeframe chart (eg. H1)
(3)
The iTime() function seems to be returning valid dates for some currency pairs (eg. "EURUSDpro", "GBPUSDpro") but not others (eg. "USDJPYpro"). I am using it as follows: datetime result = iTime(NULL, PERIOD_M1, 0); I've already checked that M1 data is available in the History Center, so that's not...

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.