Download MetaTrader 5

MQL4 and MetaTrader 4 - page 635

To post a new topic, please log in or register
Hello I have an EA that much of it I learnt to code myself, but for one part I had to get a coder to write as it was a little out of my depth here is the code below, it dowloads pivots from my webserver that are provided by my broker: bool  PivotsTromTheFile(int lev){        static int prewTime...
I need an Expert Advisor that will work with a confirmed trend (Moving Averages) Could be the signal. I would want this signal working with the RSI and it needs to be adjustable within the .mqh So I can adjust some settings if I need to. espacially in india. Plz contact at aazerjah@yahoo.com
Hi, I have a MT4 e-mail alert but it only sends e-mail when I logged in the MT4. Is there any way to get the alert mails sent even when I'm offline ? Thanks.
Can somebody help me with this standard ichimoku indicator, I have tried to add historical shift but id does work properly for me. My intention was to shift indicators values so I will be able to study his predictions by selecting on my consideration '0'(first) bar, for ex: I wat that indicator...
I know that these causes IndicatorCounted()==0: 1. indicator first time being run 2. incoming new historical data because user key-pressed "home" 3. MT4 went offline temporarily 4. there are missing bars between the current Time[0] and Time[1] e.g. Time[0]==13:12, Time[1]==13:15 Today, I may have...
I wish to check my open trades (from the 15m TF) and close trades that are negative (after that trade was executed) after the 1 HR bar closes. Any help is very much appreciated thank you. Here's what I have so far: void checkCloseOnTime() { double HourBarClose=iClose(mySymbol, PERIOD_H1,...
hi to all! i used the search function to solve this problem on my own and i found something but the problem is, i don't know how and where to implement it. i would be very happy if someone fixed this pivot-indicator that it ignores sunday data. i tried it with "if (dayofweek==1) shift++;" but...
We just released NoProgra Builder, a visual tool to create expert advisors using natural language. This is the easiest way to create eas. Please try it - it generates the ea and the mql4 code. You can get it at noprogra.com This short video shows how to use the tool. https://www.youtube...
Hey Guys, short question: I've written a custom indicator (see below) just drawing 3 trendlines. Everything works just fine. However, when adding the indicator to my template and apllying this template to a different currency pair the lines are not drawn. Then, when i open the indicator list...
I am a long-time C# coder, and a new (still paper trading) Forex trader, and new to this forum, so please forgive me if this is a RTFM question or if I should have asked this somehow/somwhere else. I have created a fairly simple EA to begin my framework for creating orders. I am testing to ensure...
Hi Friends, One of my friend purchased this ea for 1000$ from a sub- broker it works well ..so many of my friends earning well with this EA but has one problem ..Works only with their account it bben locked.. Anyone pls decompile this EX4 file to mql file & send it to me.. Thanks & regards, Prabhu
Hi all, I'm new to this, and I'm quite sure this has been discussed here already, but I can't seem to find anything helpful. I'm trying to make an EA, and I want to set the amount I'll be trading.I know this is done by Lot size but I don't understand how its calculated. For example if I have 10000$...
Hi - can anyone anyone advsie me if the following VPS specs will be suitable for MT4 It the operating system I am most concerned about Windows Version 2008 R2 x64 • OS: Windows Server 2008 Standard 64-bit • RAM: 1 GB • Storage: 20 GB‡‡ • Bandwidth: 500 GB/mo
Could someone how me how to add another indicator into an existing indicator window eg: I want to add bollinger band into MACD indicator window. Thanks for your help
New article On Methods of Technical Analysis and Market Forecasting is published: The article demonstrates the capabilities and potential of a well-known mathematical method coupled with visual thinking and an "out of the box" market outlook. On the one hand, it serves to attract the attention of a...
Guys this has me stumped. In fact it is making me crazy. At times, my OrderSend() requests will be repeatedly rejected with error 130 "invalid stops". But my stops are not very close to the open price at all. Here is an example: EURUSD, Sell, openprice (bid) = 1.3150, stoploss=1.3180,...
MarketInfo(Symbol(), STOP_LEVEL) returns 30 Bid = 1.3231 My simple Sell order: open = 1.3231, stop-loss = 1.3264, take-profit = 1.3141 (my stop-loss is 33 pips above my open price, and my take-profit is 90 pips below it) Still I receive error 130 "invalid stops". And not just once, but repeatedly....
I found on another forum a very important indicator I followed him for several days and is very accurate in the information. I demanded an explanation for use but have not had sufficient explanation for me. This indicator is sharing on the forum. I can post it here on MLQ4 to see if any trader...
I am trying to set stop loss according to an iATR value. Here is my commented code where I am having problems. double fourWeekHigh = iHigh(NULL, PERIOD_W1, iHighest(NULL, PERIOD_W1, MODE_HIGH, 4,1));double fourWeekLow = iLow(NULL, PERIOD_W1, iLowest(NULL, PERIOD_W1, MODE_LOW, 4, 1)); double...
  Problem with timing (11   1 2)
Hi Friends, I am facing a problem, where which I don't have an idea why its happening. Using the code given below I am trying to run the function at specific time gap only. If not, it should return "Out of Time" While compiling this code the V_LINEs are drawn correctly at the current day's xyz time....
HI I need to use iMA() function but i would like to use my own Price not Applied price enumeration values. It is possible ? example : iMA(NULL,0,EMA_Period,0,MODE_EMA,PRICE_CLOSE,i); i want change PRICE_CLOSE to for example 14
If a broker requires 5 standard lots of trading a month to provide a free VPS service, what does a broker need to know about a client's account to be able to tell him how many trades a month he needs to make?
Hi, have a look at this code example:    for (int i = 0; i < OrdersTotal(); i++)      {      if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == FALSE) break;//If no order then get outta here!      //-------------------      if(OrderSymbol() == Symbol() && OrderMagicNumber() == Magic)...
test test
hello i´m new here, and i´m looking for mql4 coder. prefered german speaking but not only. my english isn´t very well but i think it will work ;-) i have 2 ideas: a) i need a modification of supertrend identicator b) second i need an indicator who shows me the open risk of my trades? i someone...
I am trying to get the highest high/ lowest low of last 4 weekly bars. The code works when I have it on the weekly timeframe, but when I switch timeframes it changes the value to the highest/lowest of whatever bars are there. So for example I am backtesting an EA on 5min data, and it is using the...
The purpose of an expert advisor, commercial or not, is to make money. But the brokers don't allow us to make money. So what's the right way to make money when trading with a real good expert advisor?
Hello guys, I am working on an EA to trade horizontalchannels’ break-outs. It’s not fully automated EA as I have to find a channel andthen feed its high and low manually into the EA. Basically, I want it tosubstitute placing 2 individual manual orders, a buy stop on the top and a sell stop onthe...
Hi Forum, To not highjack other ppl's recent thread and more specifically: I found this Support/Resistance indicator in the Forum (props to the Author!) and I am planning to give it a try. One thing is bugging me though: the launch of the MT4 platform slows down significantly (to "Not responding"...
problem solved. thanks a lot.