MQL4 and MetaTrader 4 - page 1328

To post a new topic, please log in or register
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...
Hello, Is there enybody who could help in rewriting the Ehlers sinewave indicator in MQL4? This is the code in Easylanguage (Tradestation). Thanks! -------------------------------------------------------------- Inputs: Price((H+L)/2), alpha(.07); Vars: Smooth(0), Cycle(0), I1(0), Q1(0), I2(0),...
Is there a way to exit out of an EA from withing the EA itself? I'm not talking about exiting the current iteration of the start() function, but forcing the EA to remove itself from the chart..thus forcing the deinit() function to run?
I'm working with an EA for testing a series of functions, but I only want it towork one trade with each execution right now. How would I have the ea automaticallyend itself? I tried calling deinit() from start, but that didn't work. Is therea way to do this? Thanks in advance. Nick
Hi! I´m looking to know if i open more than 20 Meta traders at Windows XP, each one with a Expert Advisor working at ALL Pairs (19). I will need a good Video Card VGA? Or any cheap 128 oe 256Mb can handle? Thanks.
Hi, I need help with this code: double v[5] = {iRSI(NULL,240,14,0,0), iRSI(NULL,60,14,0,0),iRSI(NULL,15,14,0,0),iMA(NULL,60,14,8,MODE_SMMA,PRICE_MEDIAN,0),iClose(NULL,15,0)}; I got the following errors: '240' - variable expected ')' - unbalanced right...
Hello I would make this: In expert advisor,when I open an Orders,then close this in One bar,do not open new orders in this bar,wait for the next bar. (One open/One bar) Thanks Sorry for my English.
Hi I'm new to MQL4 and am hoping someone can help me with this issue I'm having. I've written an EA and once it has been setup and is running I caanot bring up the properties dialog box to change settings. I was under the impression you could right click select Expert Advisor and click on Properties...
Hi, I wondered whether anyone can shed some light on this problem I'm experiencing with istddevonarray(). If I calculate the standard deviation for a set of prices held in an array in MT4 I get a completely different result compared to calculating the STD in Excel using the STDEVPA function and...
I want to open a pending order with the price= Ask + 20 pips. I use: OrderSend(Symbol(),OP_BUYLIMIT,LOTS,Ask+0.0020,0,0,0,0,0,0, DarkOrange ); But I get a GetLastError() = 130, which is an Invalid stops error. What is the problem? Thank
WHAT DOES THIS MEAN? is it problem with my code or the server banned my EA because of sening signal too frequently?
can someone give me example of code that create some window where i can put some values and later a can use that imput in my expert advisor. thanks