Can anyone give code for getting the market opening and closing time for all quotes? I am trying with Indexes like Nasdaq, FTSE etc.... For that market timing is very much needed. Any help or clue is apprecialted. Thanks in advance.
Hi, I am sorry for this rather ridiculous piece of code - but it drives me crazy. To save mainly backtest time I want to execute a function only once with in a bar not every tick so I wrote: // PERs[] = {PERIOD_M1, PERIOD_M5, PERIOD_M15, ...// pSET[per][sys] <= {0,0,1,0,.. => pSET[2][sys] = 1...
[Deleted]
I searched on the forum and in the search engine and did not find it. I was looking for a forecast of parameters as a type of analysis. i.e. analysis of cp signals
[Deleted]
Hi, I am creating an EA from several custom indicators and am having a difficulty understanding loops. I need to count back x number of bars ( on an H1 chart) until I find the value of an indicator that is greater than 0. Once found, I need to return that value and compare it to the close of the...
is it just me or my tester or is there something i've noticed: whenever i test any of my EAs now on my MetaTrader 4 platform, i have noticed that if a SHORT trade is in drawdown for let's say a week or more on any chart, 1M, 1H or....well, those are the only two i use, if the trade would have...
[Deleted]
Hi guys I want to move stop loss to profit using ordermodify, but I can´t write: OrderModify(OrderTicket(),0,Ask+100*Point,Ask+300*Point, 0,Yellow) Some alternative. Sorry for my bad english.
Hi all, I need a simple EA program. I'd really love to know how to tweak it myself. What is the going rate on these type of things? I don't care if it makes money(Hope it does), but I just want it to execute properly. My EA just requires if the market goes 100 pips in a direction (no matter the...
Hi, I have a simple indicator, the Guppy mma oscillator and I would like to convert it into R code. I really need it fast. Could anybody help me with this? https://www.mql5.com/en/job/3097
[Deleted]
Forex Trading has become a new mode or method for earning easy & good money. Increased participation in forex market has increased the chances for earning good return from Forex Trading. If you don't know how to trade in the forex market then no need to get disappointed because there are some...
Dear traders I have installed custom indicators on the metatrader 4 platform, but it freezes the platform. Apparently, it doesn't do so on other people's pc. My pc's processoe is AMD 2.2 Ghz, memory 2GB, on Windows 7 professional. My mt 4 build is 402 Kind Regards Abie
[Deleted]
Greetings.I am able to locate the Parabolic SAR and exponential moving average. The problem is i am unable to enter the values that i require as i am unable to locate where to enter the values. Example; how can i change values on the parabolic sar to 02 and .2 acceleration factor and constant. C....
Hi, I'm new to MT4 and I need some help with Error 130. I'm trying to use a very simple code to test how MT4 works with my broker (Forex.com). However, I'm stuck at the Error 130 for my EA. I tried to change the SL and TP, but it doesn't help. I also checked the STOPLEVEL for my broker is 10. But no...
Hi all, anyone interested to create robot for me ? this is what i want from system (buy scenario): parameters upper price - UP lower price - LP time interval (bar duration) - TI risk $ - R buy/sell System would be only buying if parameter set to buy and low >LP and and price reached UP (from the
[Deleted]
//+------------------------------------------------------------------+//| Igrok.mq4 |//| Andrei Andreev |//| http://www.andand.ru...
Here is the code I used, just for checking. I am using GCI Demo Account. I get 0 as return value. Can anyone suggest alternate code or method to get the output? Output: "2012.03.13 13:40:30 test1 Crude_Oil,M15: Current Open = 0.00000000" void start() { double cur_open, cur_close, cur_high,...
Greetings. I'm in my 2nd year in forex, tired of going through the piles of owls that are posted everywhere. Currently learning how to program and working on my system. Searching and learning, long stages, but I want to earn now. I have invested a couple of times in Trust Funds and in PAMM, almost
I recently ran the script called Birt's Patch on build 409. After running the script, I ran an EA that prints to a text file tick volumes. The volumes I am getting are in decimals such as .00090. Is there anyone out there who is familiar with this and how it can be fixed?
In The ECN platform there are ' normal' charts, Avg and Ask charts. There must be a difference between them, so which one, avg- ask, can give the best results for an expert advisor?
[Deleted]
Hi there, I am trying to program an custom indicator but I cannot manage to assign values to an array. In my example, I am just trying to calculate the average value between the High and the Low of each bar and assign to an array for subsequent calculations. I used the Alert() function to find out...
Hello guys, I have a problem..According to the logic, regarding the position ticketTL, the ea should move the trailingstop up. Instead, it remains a fixed stoploss. No errors in the journal.//+------------------------------------------------------------------+...
[Deleted]
Hi My Name Is Jestin I Want Hourly Buy Automatic Buy TRade Order Then The Take Profit Is 25 pip And stop Loss Is 25 Pip If Not CLose THe Next Hour Then Close Automacly Script Buy HOurly FOr 24hours in a day anybody for script writter
I generated a offline chart with the indicator "RangeBarChart", but no expert in graphic works. How do I run the expert advisor? I read something about global variables ... Is there a tutorial on? Sorry my English ...
[Deleted]
I am trying to place an order through which i can get profit / loss of 0.01 by the following code: OrderSend( Symbol(), OP_BUY, lots, Ask, 10, Ask- 3*Point, Ask+ 3*Point ); But it did not executed. If I increase my profit / loss to 0.06 it accepts my order. Why is it so ? Please help me out.
The Volume Indicator is a double number but it shows only integer numbers (5, 12, 25..) Can I Take double numbers by volume indicator?? (5.23, 12.78, 25.36)?? Somebody can help me?? thanks
I have tried to find a definitive answer to this query from codebase and e-books I have and am still uncertain about whether these two are functionally identical or if there is an important difference. High[1] or iHigh(NULL,0,1) I am using High[1] because this is what Forex EA Generator writes but...
I'm new MQL4. I do not know where to post my question ... How do I create asimple command code to go up breaking the bar higher eight? Thanks with Greetings from Italy. Help me! Mauritius.
Hi Guys.. I am looking for a solution that could help very EAs. Also i want to code expert advisor that could limited opening new positions for Each bar. For example if we want to make new buy position by " if(High[0]>High[1]) ", then it allows to opening only 1 buy position for each Bar. On the...
Hi! I'm justin, My English is not well. You sympathize with me. as title, I'm looking for an indicator chart which is total 2 pairs or subtraction 2 pairs, ex, EURUSD = 1.3142 gbpusd= 1,4235 ==> Total = 2.7377, Subtraction = -0.1093 If you has got it, share me, please! Thank
[Deleted]
Even though the strategy tester claims to have tested 336 combinations (see attached pic) i can still only find 123 test results in the Optimizations Tab. "Skip useless results" is de-checked and has been so since before the test so I do have negative results as well. Have you got any idea why I...
Hello, I have a little problem, This ea open an order at a specific time ... But i want it to close after 30 mins ... Here is my code: //---- input parametersextern double Lots=1;extern int TakeProfit=100;extern int StopLoss=100;extern int Slip=0;extern int BuyMagicNumber...

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.