Download MetaTrader 5

MQL4 and MetaTrader 4 - page 590

To post a new topic, please log in or register
forexparvenu
i never use trailing stop on trading since 5 years ago. so i wanna to know what's trailing stop ? and how to coding it in mql4 ?
I had an account on the metaquotes-demo server that I was using since July for investors to see trading performance in their evaluation of acct management services. As of Aug. 2nd, 2012 it is no longer connecting. When I downloaded MT4 again on Aug 3rd from the metaquotes site, it is now using an...
Hi, I try to develop a little logic using Highest High / Lowest Low 20. I'd like to enter a short trade at LL20. Opens Long trade, good: if (Bid = iHigh( NULL, 0, iHighest( NULL, 0, PRICE_HIGH, 20, 1 ) ) ); but doesn't open a short trade at: if (Ask = iLow ( NULL, 0, iLowest ( NULL, 0, PRICE_LOW ,...
Hello all, How can we add line brakes in a message box with multiple information? If we want for instance to display the account info, minimum Lot, Max Lot and Lot Step in three different lines, is there a special character we can use to change lines or we just add empty space between? Thanks for...
hi how are you ? please help me i want to decompile automatic ex4 to mq4 i have decompiler ex4_to_mq4, i want to create application can decompile ex4 file on ex4_to_mq4 thank you
Hi, Can someone tell me what this means? I keep getting it coming up on various time frames - I've cleared down indicators etc but still keep getting it! I can't seem to find it in the documentation. Thanks for any help.
Can someone tell me why I get these broken line when I am display this indicator line. Broken likes shows up only when there is change in color. I can see that data window and for each Bar there is correct data displayed. However, the area in between the bars when there is change in color is not...
someone can get to DDE SERVER travez realtime data contract CL-OCT12 and import to excel, because I tried to do and always gives me error in the formula, but if I get the data from any other currency pair, if there is a way to achieve good result could explain it please.
Good morning I wanted to ask a question, I'm calculating the MACD of a symbol and a timeframe, the MACD signal values ​​in MT4 with 6 decimal places, but when you run into an Expert Advisor shows me only 4 decimal places how can you get see 6 decimal?. MACD_main = iMACD("EURUSD", PERIOD_H1, EMA_fast...
  no connection (2)
Has anybody lost connection with their platform. My connection status is "no connection" with it's last market move date 12/8/31 at 22.45?
Hi, I am brand new to the programming of Expert Advisers, and I need some help with my trailing stops. I can write a simple step up tailing stop, but my strategy requires me to be able to be stopped out x amount of points from the highest point of profit and not move my stop by x once the market has...
if i want ordersend ten of sell_limit tickets at the same time,so i want konw what i to do this,the slleep can help me? the sleep() fucion is mean?
Why do ordersend as market needs buying price? Ain't i getting the asking price on market at the same moment no matter what?
Is it possible to “selectively use” lines of a conditional,based upon whether certain external boolean variables are TRUE or FALSE? (I’m not even sure what to call this problem, so it hashindered my attempts to find an answer by searching so far. Perhaps someone alreadyknows whether it is even...
I have been trying to program an EA that uses some custom indicators. When I compile my EA I do NOT get any errors. However, when I back test it no trades are ever placed so I am guessing I called iCustom wrong. Here is my code: #include <IncludeExample.mqh>// External variablesextern bool...
Hello, I'm looking for an associative array with MQL4 (also called map or dictionary) http://en.wikipedia.org/wiki/Associative_array This is a really useful collection (abstract data type) but I don't see it "out of the box" Is there someone here who ever implement this (with hash table) ? Kind...
Hello I need MetaTrader Terminal builds between 187 to 190. I would appreciate if someone can help
Hi, I tried the attached EA in market execution broker. But an error130 comes when EA try to open trade. This problem will solve when we use post fix SL and TP. Please help to modify the EA to fix SL&TP after the order. Regards, Jasim
i'm sending this code ticket=OrderSend("EURUSD", OP_BUYLIMIT, 1, NormalizeDouble(MarketInfo(symbol_,MODE_ASK),digits_),0,0,0,"",magic_,0,ordercolor_); and i get error 130 invalid stops, why is that?
I went to the backtesting screen and tried to run a test on several EAs. I went to tools and history center then downloaded the data for the EUR/JPY and selected the time frame and optimization box. I'm about to give up on this.
perty copyright "Copyright © 2011, Etasoft Inc. Forex EA Generator v4.1"#property link      "http://www.forexgenerator.com/"#include <stdlib.mqh>#include <WinUser32.mqh>// exported variablesextern double BuyLots4 = 0.1;extern int BuyStoploss4 = 20;extern int BuyTakeprofit4 = 30;int rsi15 =0;int...
#property copyright "Copyright © 2011, Etasoft Inc. Forex EA Generator v4.1"#property link      "http://www.forexgenerator.com/"#include <stdlib.mqh>#include <WinUser32.mqh>// exported variablesextern double BuyLots4 = 0.1;extern int BuyStoploss4 = 20;extern int BuyTakeprofit4 = 30;int rsi15 =0;int...
Hello, Can I change the default location of the "experts" directory MetaTrader4 install ? The idea would be to install directory "experts" in a sub-folder of Dropbox so I can more easily share mq4 code. I am under Windows 7 Regards, Pierre8r
  Problem with a loop (12   1 2)
Hi, I want to calculate the average volume of the 5 bars (no. 2-6) and I did it this way: double vol2=iVolume(NULL, 0, shift+2); double vol3=iVolume(NULL, 0, shift+3); double vol4=iVolume(NULL, 0, shift+4); double vol5=iVolume(NULL, 0, shift+5); double...
Anyone know something that will email me when there is a new mail in the internal MetaTrader mailbox? The internal mailbox that says if you have a FIFO violation. I want MetaTrader to send me an email to my gmail account if I get that.
forexparvenu
how to trade on certain time ?
hey there is it allowed to ask about spacific broker? i would like to get VPS especially for my EA, anyone know reliable and not too expensive one?
hello community I am new here, so please excuse any mistakes I run a "designed" volume EA - 14 single "incicators" and 1 template recently I experience a complete slow down and "blocks" of my MT4 - I have changed nothing so far so what could cause the "problem" ? thanks in advance for any answer...
Hello, I want to trade from the charts, is it possible with MT4? Sure one can right click and open the trade. But I would really like to be able to grab the stop loss and take profit with my mouse and move them. Also need a faster one click solution to close the trade. Any ideas? Thanks in...
Hi Guys can anyone help me to create a expert advisor fullly automated base on awesome oscillator.