MQL4 and MetaTrader 4 - page 1007

To post a new topic, please log in or register
Hi all, Is anybody know why the attached file not working? In short I'm trying to use a dinamic MA_Period. And it's working in more simple codes below. "test.mq4" (attached) is not working, please pay attention to "int MA_Period = perd(y);" line. The dinamic MA Period is working in the codes below:...
If you are smart or a newbie, insist on MT4 and never migrate to MT5. Like the old saying, why change something that have always work? Change is not always good and not always beneficial. With the premises above, I question the NFA. NFA are obviously looking after themselves and are on the side of...
Hello, Is it possible transfer the Elliot Wave objects from MT5 (they are standard on the platform) into MT4? denrus
Hi everyone When I test my ea and i have 3 moving averages and all are in the red color-default... How to make every iMa after testing in different color??? I know I can change it after test on the chart but its tiring...
Hello Any coder here able to build an indicator shows the mid of each lunar month on MetaTrader chart? Thanx in advance
Within my EA I want to partially close all open trades (eg close 50% of all open trades). The problem is how to do it! If I do a for (i = 0; i < OrdersTotal(); i++) and then select orders by position when I close an order the system will open a new trade with the balance of the lots from the old...
Who can advise me Where I can download Guppy's Count back line Indicator for MT4? Thank you very much!
Hi I am quite new to MT4 and I have scoured the net trying to find out two things. firstly I would like to mark each UK opening time with a Vertical bar - 6am - unfortunately the nearest I have got to this is marking the opening time of my feed which is 00:00 not 06:00 I would also like a horzintal...
Hi, Has anyone looked at the trend tracer template for trading the EUR/USD 4hour and specifically the Tup indicator that goes with the template. I really like the indicator for EUR/USD 4hour, GBP/USD 4 hour and GBP/USD 15min and I would like to know if it is just a moving average or if it is a...
I bought the Great Trader System on Ebay a few months ago. It really seems to work great. It uses 5 custom indicators. I've tried to contact the author to see if there is an EA using the indicators, but have gotten no response. Does anyone know the author or has someone coded an EA using these...
need some help from the gurus here can check how to reduce the memory for this ea?
Hello, Can a programmer help me convert the indicator and EA (based on demark/mouteki) found at 'Demark Lines EA', so that they use the same methodology, but instead of using candle stick charts, they use line charts as the reference? The typical demark/mouteki indicator looks for the closest...
I am trying to write a Time Sensitive EA that uses the worldwide Stock market indexes to help determine the direction of a given currency pair. The Idea is to follow Different indexes at different times of the day. For Example: During NY Market hours use data from DJ and NASDAQ, but during the Asian...
Recently I have been studying about cycles within markets. I came across a set of indicators developed by John Ehlers (rather, the original algorithms were Ehlers, the MT4 indicator was developed elsewhere) called coronas. These indicators work by first determining what is the dominant cyle period...
  Basic MT4 (2)
Is there a place to get basic training for the MT4?
Hi ALL Anyone can help to convert metastock code to mql code. {Bullish}{Green Color} Pct:=1.0; Seq:=1; Upper:=Ref(Peak(Seq,C,Pct),-1); Lower:=Ref(Trough(Seq,C,Pct),-1); Bullish:=BarsSince(Cross(C,Upper))<BarsSince(Cross(Lower,C)); Bearish:=BarsSince(Cross(C,Upper))>BarsSince(Cross(Lower,C));...
well here are some suggestions / wishes which i truly believe might come handy in a way : 1. synchronising the dialog windows 1.1 changing the chart window auto changes the selected pair in the ticker and the journal active trade. 1.2 selecting an indicator like an start trade arrow ditto 1.3...
г.Днепропетровск Украина - icq 222219530
When I write to a file using the FileWrite function, the text that appears in the file has square characters in it, typically around text that was passed to the FileWrite function as a variable. They are square blocks that are like what you would see when a application can't read a unicode...
if i start with $1000 and i use 0.01-0.06 lots which doubles in two months, and now i decide to switch to $10000, what lots do i use to keep the ratio the same. Later down the line, what lots should i use, if i go with a $100000 account?
I try to Save the ZigZag indicator in a table, then creates a new array with non-zero points. It is very simple but I don 't do. I am a beginner in programming. Here is the code that I wrote to accomplish this task: If you have any suggestions, advice or links about similar problems ... thank you...
Hi, For the sake of proper backtesting and walk-forward analysis I need historical 1-minute bars for such symbols from at least last 5-6 years: FDX.F (DAX Future) ES.F (S&P500 E-Mini Future 24h) NQ.F (NASDAQ100 E-Mini Future 24h) YM.F (Dow Jones E-Mini Future 24h) XAGUSD (Silver spot) XAUUSD...
Hi all, Is it possible to sendorder from one EA to Multiple Accounts. For example i have run one metatrader terminal and one of chart i have applied ExpertAdvisor which sends Order to the logged account. But i want to send the same order to multiple orders. Is that possible? please suggest me...
Could you please tell me what exactly 5 types of orders in MT5 are?
I just installed MT4 on my new Windows 7 computer and now I cannot save a report for any time frame other than the last time frame I set a report for. If I select Custom Period of Last Month it still only prints a report for last week even though it displays the data from the last month. I do I...
Dear All ... Good Evening I have one of profitable and easy strategy but we need to convert it to expert ... could any one help ? Expert properties : 1- one Moving Average ie: 30, 50, " extern int " 2- Pips => " extern int " 3- if we can add MM to the expert it will be great ... lots =( 5% of...
Hi, In an ea, since we are always at the 'last' bar, we can easily refer to iXXXX data from another timeframe. An example is, ..current chart timeframe = M1 ..refer to M15 iClose() of 5 bars back in M15 data iClose( NULL, 15, 5) where '5' is the shift Are we able to do the same in indicators? e.g....
Hi guys, it's been a while since I've been here.... I've attached an indicator and I was wondering if anyone could show me the code that I need (and where in the indicator program it goes) for when the Heiken Ashi indicator turns color. If you load this indicator up into MetaTrader, you'll see at...
  MT4 Execution (2)
I have just been introduced to MT4 and have a question on using the "Expert Advisors" in auto trading mode. Are orders generated by an indicator within the Expert Advisor executed intra-bar or upon completion of the current bar? Or is this programmable? Also, if you have parameters to take profit at...
Can anyone help? The attached Daily Range Indicator is flawed in the sense that it calculates the average daily range but uses Sundays data as 1 day which results in an average that is incorrect. I need someone to change the code to address this problem by treating Friday and Sunday's data as one...