Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1225

To post a new topic, please log in or register
Two things... Is it possible to have the Strategy Tester use the history data from a CSV file of ones choosing? Without converting? Is it possible to write an external Strategy Tester using tick data to interface with MetaTrader? Some developers don't bother using the Strategy Tester or DEMO...
Hi, i like to use MT4 very much ! but i like to have some things - 1. sound when a pending order is opened 2. sound when an existing order is closed (due to SL / TP) 3. in the order window, when i set the TP & SL, i would like to see how much is it in "as deposit currency". Thank you. Shay
Hi guys. I'm a little stunned with this problem and I can't seem to get around it...Let's say I have a calculation where I want to maintain the contents of an array to check if they are still valid. I run trough the original array, while comparing the contents to a criteria. If a content is no...
Pls I'm presently faced with a problem, and that's using the Bill Williams indicator( Fractals) here's the code pls direct me. // initializations double fraCurrent, fraPrevious; //Calculate indicators' value // Fractal Current...
  Auto EA (1)
Hi everyone, I'm new to the forum. Is there a way to automatically start an EA at a specific time of day, perhaps 08:02am EST.
really I will like someone to help me out here, I ma a new trader who does not knowmuch about the forex. just want to know more about pip, volume, balance, equity, margin, free margin, margin level. also can someone just help tell me when an order is opened and when it is closed. really looking...
I was studying an example code for inserting data from MQL4 into MySQL database.However, can somebody please be so good and show me a correct example of reading the result of a simple query into a variable in MQL4?Thank you!
Hi, After some hours MetaTrader Terminal stops refreshing data (Ask, Bid, and TimeCurrent) IsConnected always return true, GetLastError always return 0 How can i check thatdata is bad? (Sorry for bad english) Best regards Rafal
Hello, in the rules there is a point about looping and use of memory. because i will use a while loop to get real time prices for 3 currencies i havea alltime while loop! is this possible, what minimum sleeping time i have to choose for saving your memory? can someone help me? thanks
my best trading system is moving average cross overs,but i like to know if there is a way the platform can call my attention to any crossover by making a noise .thanks in advance.
hi, whenever I point with the cursor one object it shows a lot of information about that object. is there a way to turn this off? I don't want those information poping up all the time. thanks a lot,,,
Hi, that little triangle at the left button of the chart window called "fixed chart position" is intended to be used for what? I could not find any redding about that. I would love if that triangle would have the exactly outcome of the little triangle at the right top of the chart window called...
Since I'm new here, I'm just getting my proverbial feet wet. But, this is what I have for an idea of an EA. Not written a line of code yet, just an idea. First off, based on what I've read on scalping and doing very short time frame techniques, they sound to be impossible in practice. I want to...
Dear MQF: Hi! Send me your EA or a robot trading downloadable and attachable to Expert Advisor that will trade forex for me on every pip in the forex broker market platform of mine. my e-mail is:- globesuccess_biz@yahoo.co.uk.
Hi I just Download MT4 and set up demo account, but I couldnt see GOLD and Silver chart.Do any one know how can I get those charts. Thanks VA
hi i lost djia nasdaq gold charts in mt after reinstallation. kindly any one help me to reinstate the same? how can i get it in meta trader?
Hi guys, Im a newbie here, so cheers everyone! I've been trying to figure out what's wrong with code that uses iMAOnArray() function for a couple of days now. When I set mode to MODE_SMMA, it calculates SMA instead. :) The piece of code that give me trouble is given below: //In GLOBAL SECTIONextern...
Hi all, I was sharing with my friend some charts that have different combinations of Movingaverages, the little trouble i faced is i needed to state every time three piecesof information for every moving average; Type, Value, Price applied on. e.g. Expo, 50, Low. Plus the color sometimes ! ....
Hi, Im still a newbie though. Maybe i still havent discovered smth yet, bu I was wondering MQL has callback functions for whatever events are happening. The similar way you have a start() or init(), having functions like on_order_close() or on_new_period_start() would be nice. Event driven...
  time function (3)
hi, let's say I have time= Time[0]; and now I want to add 5 minutes in this variable time. How I do add time into time? my purpose is to print an object before Time[0]. thanks a lot,,,
Hi, I was wondering how to change the inputs to your Expert Advisor without completely restarting the Expert Advisor. For example: extern min_to_stop= 30; Lets say I have a variable(min_to_stop) that counts down time and stops trading for the EA. If have had the EA running for 20 minutes. Lets...
Hi, I was woundering if it is possible to round a number like this: 0.123134234 would become this 0.123 0.756524523 would become this 0.756 12.93453452 would become this 12.934 thanks a lot,,,
I am writing a DLL where I need to keep information between calls from MT4. As a result, I allocated Thread Local Storage (TLS) in DLL Main. In tester mode, the DLL functions properly. The TLS retains the information stored between calls. In real trading mode, however, the DLL can find the TLS (same...
I put a variable right after extern variable comparing to in init() function? Let say we have a bool variable "Trade" Is there any difference if we put it here : #property copyright "Metaquotes" //---- input parametersextern int Lots = 0.1; bool trade=true; comparing to here : #property...
Why does MACD Sample Expert only opens one trade at a time? I have the MACD sample experts running on multiple pair, but only one trade is opened at a time. After doing some research it seems adding an exclusive Magic number to the code could solve this problem. But how do I do this, please help....
Please help. Trying to use this expert in reverse. I want it buy when a sell signal is generated and sell when a buy signal is generated. Also how can I use it on multiple pairs? Seems to only open one trade at a time! B.S //+------------------------------------------------------------------+ //|...
I'm reading through some of the threads here and on other forums. Some things sound astonishingly promising, other things sound totally discouraging. I see that Newdigital has posted a fantastic amount of data here. Must spend much time, very appreciated. Looking at the EA results, some fantastic...
please can anybody tell me how i could get an step by step guide to create an expert advisor. shold be possible to understand for absolutly beginners like me. best would be in german, but english is also fine. r can somebody tell me, if there is any website or person can programm an expert advisor...
I am very newin forex, in my order my t p was 1.9589 my s lost was1.9580 at price 1.9586 with sell limit but after clicking it shows invalid s/l or tp. can you enlight me on where i was wrong
Hi everyone I know this is probably a simple question but how do I set up a few options to open or close positions? Example: I want to open a long position if RSI crosses above 30 or if RSI crosses above 70. And then close the order if RSI crosses under 70 or crosses under 50. Basically the question...