MQL4 and MetaTrader 4 - page 1011

To post a new topic, please log in or register
  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...
If I am wrong please correct me. In my opinion the Meta Trader 5 platform was released according to new rules on forex market : " The new NFA regulations have arrived. For those of you whoare trading with American brokers, here’s a basic list of things youshould do, and more importantly, a short...
Real Money Doubling Forex Robot Fap Turbo - Sells Like Candy! http://www.fapturbo.name
Hi everyone, I'm writing an expert and need to get MFI ( Money Flow Index ) of two different times for example 2009/10/08 07:00 and 08:00. I don't seem to find the code thought, It only gives me the value of current moment ! Thanks in advance
Hi, I have a demo account which I am currently using to trade Forex. I want to start looking at metals. I know that alpari supplies the data but would I need to re-install a new version of MT4 or can I just have 2 login account. For the moment I have the bespoke MT4 version, the FXCM version...
Can anyone advise me on a line of code to put into an EA to exit an open order on the termination of the current bar? Everything I try closes the order as soon as it opens as the 'Close' corresponds to the current price. Most frustrating. Thanks for any suggestions. Egwig.
Hi all, Please i need help on how my EA,can get a moving average of 10 on 1hr timeframe,when the Ea is attached to 15mins chart. I mean that the EA is currently attached to 15mins chart,but it needs to get the value EMA 10 on 1hr chart, what line of code can i use to get this? Also i want the...
Hi, Is there any indicator to show the exact price (with arrow to point at the relevant candle) automatically when an entry order created (buy or sell) and also at the point of exit? An extra display of +/- pips when the order is still open would be much more useful. If someone can produce one it...
I found this code from metastock. Could anyone pls help me to change it into MT4? CBLhi: FormulaHighDays := Input("Enter # days to cover last HIGH for CBL calc'n:", 3, 55, 13); If(HIGH < HHV(HIGH, HighDays), {then ...} PREV, {previous CBLhi, else...} If(Ref(L,-2) < Ref(L,-1) AND Ref(L,-2) < L AND...
Hi everyone! How can I be sure that my strategy is applied to the right time period? I chose 2003.01.01 to 2009.12.05 and the results only are only for 2009.12 and 2009.11. What did I do wrong? THanks a lot in advance! Best regards, Patrick
I made a simple script to write high/low open/close candle values in a text file.. It doesn't work.. tester doesn't allow read/write to file ea's right? Someone please confirm :) Have a great weekend!!
please guys can someone help me with EA passwording code, because the one i saw on the article or forum i did not understand it at all. please may someone help with the coding in good apply to work immediate code...
Howcan I Use/Utilize Calculus for/in MQL4 ?
Hi, I want to write a code to open a pending order which: when the price reaches "a" the order opens, with TP and SL set to "p" pips. My problem is with "a" part. I've searched the forum for a day but couldn't find the answer. Thanks in advance, Hadi
Does anyone have a recent copy of the Alpari 1-minute EUR/USD data thatyou could email me? I am looking for something up through the end ofApril '09. Their databank has been down since last Friday (it may havebeen earlier but that was the first I had checked it in a while). Thanks in advance for any...