Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1262

To post a new topic, please log in or register
I have an interesting technical question. When I have an EA on say H1 timeframe and it checks on data on M1 timeframe, andlet's say M1 timeframe was not referenced recently on chart so that M1 data isnot loaded up to date. Question is : will M1 data be updated when referenced in the EA without M1...
Hi everyone, Great site :-) Could anyone tell me if I am to upload an expert advisor for the contest what isthe timezone of the console used ? Is it the same as InterbankFX ? Would appreciate feedback, Thanks, Lee
MQL4 Language for newbies. Difficult Questions in Simple Phrases. This is the second article from the series "MQL4 Language for Newbies".Now we will examine more complex and advanced constructions of the language, learnnew options and see, how they can be applied in everyday practice....
  Guppy Moving Average !! (23   1 2 3)
Hi, Sorry for opening a new thread. CodersGuru, this thread i found over at ForexFactory, Guppy Moving Average does an extremely wonderful job of identifying trends. Quoted from that forum Google Daryl Guppy... Just one of the finest traders from Australia that has ever walked the Earth There...
This indicator separate Buy Volume and Sell Volume .. you never see like this before It Draws three histogram: Red- Sell Volume. Green- Buy Volume. Yellow- Defrence.
Price Percentage Oscillator PPO is another trending/momentum indicator. It is a very close cousin to MACD, if you know how to use MACD you know how to use PPO. The two are so close, in fact, that I was reluctant to even write this. But I was bored tonight so I wrote it. Included is a screenshot. On...
Thanks for your assiatance so far ...........base on the solution to problem. well, i have a problem base on how to make syntax and write of code: PROBLEM: LOW and HIGH >13EMA If close_price-open_price on bar1 If close_price-open_price on bar2 If close_price-open_price on bar3 then, (...
  Envelope 2.11 (533   1 2 3 4 5 ... 53 54)
Envelope 2.11 EA. M15 timeframe. EURUSD and GBPUSD. https://www.forex-tsd.com/forum/exclusive/751-envelope-2-11/page13#comment_79115
I have coded an EA to place order at specific hour (ServerTradetTime) during theday. I want to have both Server and Local TradeTime on chart via Comment() function.The following code works OK, but I would apprciate if someone could advise if alternativeway to convert a ServerTradeTime to...
Hi, Sorry for this trivia but I need to know if there is any way to add EA or at leastCustom Indicator to MT Mobile. If the feature is not available on the basic MT Mobile, do anybody know someonewho can do this ? Thanks a lot, Wisper
hi guys, need some help here, i'm very new to this programming, i'm seeing thiserror " '\end_of_program' - unbalanced left parenthesis C:\Program Files\MetaTrader- Alpari UK\experts\indicators\pivot1.mq4 (37, 1) " Below is the code....your help is really appreciated !!!! #property...
any one have a strategie make money not lose money ?
Hi there, I am in the process of evaluating MT4 via a Forex Broker and have raised some issues with them regarding the integrity of their data. As yet their responses have been rather slow and not very enlightening. I am hoping that someone on this forum can shed some light with respect to data...
i would like to get the price at the x mark on the trend line by coding not manualplotting. can anyone help? pls.
Good day? HOW DO I DECLARE THE SYNTAX AND WRITE THE CODE : If LOW and HIGH of 3 BARS >13EMA Thanx.
I want to open long position every time trend is upward and Ask price is at someparticular level (eg. USDCHF, Ask = 1.2275). I want to have only one position openwith the same open price. 1. Function "OrderSend" opens dozens of orders at the same time. Pls, tell how to make it open onlyone order,...
Would someone tell me if I am correct in this (with any brokers)? -There is a scriot running with an infinite loop running with Sleep(1000), so theticks doesn't have an effect on the runs, only time. -Let's assume, there are a new tick every 10 minutes. -Hours are not important, only minutes...
We are glad to inform you, that the 1st of July is the start date of the registration of the Automated Trading Championship 2007 participants. From now on till the 21st of September all persons interested can register forparticipation in the competition. Expert advisors that fully meet the Rules of...
Hello to all, I'm just starting to learn MQL programming. I feel that with some examples I willlearn it faster. Now what I would like to do is to paint the SMA with Two colors. IF MA15 < MA15 - 1 then Green, IF MA15 > MA15 - 1 then Red, Any one have this indicator please posts it here for me to...
I am developing an expert advisor, which has a funciton to close several positionsif a condition is met. However, if there are more then say 5 positions, and itdoesn't finish closing them before the next tick comes in, it stops closing thepositions. I am assuming that the Start function gets called...
How do you program it to trade two different pairs while sharing the same accountbalance? Is there any way to do this?
Following page on Russian forum: http://www.metatrader4.com/ru/forum/6907/page2 Search on "Renat 30.03.06 14:09" to find post of interest. I have used Google and AltaVista Babel Fish (which actually came out better whencopied post body and then translated in text box) Anyway - I have been...
  EA DEALERS (3)
1. Currency Pair : GBPUSD ---> Time Frame : M30 2. Currency Pair : EURUSD ---> Time Frame : H1 3. Currency Pair : GBPJPY ---> Time Frame : M15 4. Currency Pair : EURJPY ---> Time Frame : M30
Hello, Does anybody know how to access the commission of a market without having to executean order in the same way one can access the swap? There are simple commands for acquiring the swaps: double SwapLong = MarketInfo(Symbol(),MODE_SWAPLONG); double SwapShort = MarketInfo(Symbol()...
Saudaçoes, 1º) I am creating a Expert Advisor and would like to introduce a date of validity to offer to the traders a periodof tests. Experimental type per 30 days. 2º) Command to limit totalordens to the day. Who could say which to me the command to introduce in my EA? Debtor for the attention...
- am interested in understanding how i might attempt to produce a live chart thatconcurrently displays multiple pairs (on relative scale) another additional feature would signal trend divergence, such as: if gbp/jpy tick+.005% and usd/jpy tick +.001% and eur/jpy + .002% = "wash" [thus pairdisplays...
As many people are asking about EA to handle the stop loss for manual opened orders so we have the following threads/EAs/scripts in our forum: - StepStopExpert EA from Igorad. I used this EA for the orders opened manually. It works. Ready to use and for everybody. It is very simple EA to move...
  ema loop (2)
Hello, I'm working with a self reflective ema based on the following formula: (while pos >=) ema = ratio * (last price - ema) pos++; Where pos is the bar count using a comparison to the bars counted function. Myproblem is that the ema continues to add to itself on the last bar which caused the...