MQL4 and MetaTrader 4 - page 1626

[Deleted]
hello... 1 bar on 1H chart = how many bar on 5min chart? thanks
[Deleted]
Is there a script or other method for testing for the optimal EA settings for anyEA?  In other words, some sort of program that does backtesting with one setof EA settings, then continues backtesting with a large list of alternate settingsand generates a report at the end showing wich settings...
[Deleted]
Is there someone who could kindly assist: I do not know any MQL programming language, but I see there are some real fundieshere...please excuse my ignorance! I have loaded MQL4 on my pc through Tradexfx futures, but am struggling to get aroundbasic programming. I am trying to optimise the return on...
[Deleted]
Hello, I am trying to write a code to display arrows at a certain time everyday on 30min chart. Can someone please help me or point me in right direction. Regards The_One
hello recently I experienced sth really strange while programming an EA. The thing isthat I set the stop like this // stop = lowest Low of the last 3 bars if(dir == OP_BUY) { stopLoss = Low[iLowest(Symbol(), 0, PRICE_LOW, 3, 1)]; } else if(dir == OP_SELL) { stopLoss =...
[Deleted]
  StrToDouble  (3)
When I convert a null string ("") to a double, what should I be getting in the double? A null value or a zero
[Deleted]
Hallo everybody, When I tested my script with " ihighest " and parameter " NULL "for symbol, it run well. double valHigh = high[ iHighest( null, PERIOD_D1, MODE_HIGH,10, 0)] ; Print (valHigh); - run script and the code gives prope value for current symbol (chart). But, when tested with...
[Deleted]
I am trying to place an order exactly at the opening of a new 1-hour bar. The onlyway I thought of this in EA is: if(iTime(NULL,PERIOD_H1,0) == iTime(NULL,PERIOD_M1,0)) then send the order. any other accurate way to this? (also, the Tester cannot work with this method,so a method that the Tester...
Filtering by History The article describes the usage of virtual trading as an integral part of tradeopening filter. Author: Andrey Khatimlianskyi
[Deleted]
There is a problem when pasting the Statement.Htm into an Excel spreadsheet . The profit column contains a space whenever the number is 4 digits or greater. Example 1234.12 pastes as 1 234.12. Excel does not recognize as a number. Therefore I cannot do a sum or sort on the profit column in Excel
[Deleted]
  Typo
In the German version of MT 4.00 build 208 it reads under Indikatoren in the NAVIGATOR: "Expert Adisor" .... correct would be: "Expert Advisor"
Hi, I'm just starting to learn MQL4. I want to make the classic example of looking for EMA crosses: //+------------------------------------------------------------------+//| cross_alert.mq4 |//| Copyright © 2007, MetaQuotes...
Hi guys, today I experienced a strange behavior while writing a script: Initializing an array in a certain format screws up the compiler a little bit.That is, after compiling the following code snippet the compiler shows wrong lineswhen clicking on a compiler error later. i.e. when you later make...
[Deleted]
As Rosh suggested I submitted a SPR (system problem report) and I have heard nothingback from Metaquotes. I can not even query to see the status of the SPR. I havetalked to my broker but they seem fairly clueless when it comes to MQL4 programmingor its bugs. There response was we don't recommend you...
On the website of the Automated Trading Championship 2007, a Video Interview with Rashid Umarov has been published. Rashid Umarov participated in the Automated Trading Championship2006. Rashid continuously studies and analyzes financial markets, develops analyticaltools. In his video interview, he...
//+------------------------------------------------------------------+//|                                          Support and Resistance  |//|                                 Copyright ?2004  Barry Stander  |//|                          http://myweb.absa.co.za/stander/4meta/...
[Deleted]
I've written my first custom indicator, however it has one issue. It will only runthe first time I apply it to my chart. It never updates/refreshes/re-runs itselfafter that. Is there anything specific I could check that would cause that? Thanks.
[Deleted]
HI, I normaly place a BUY STOP and SELL STOP orders away from current price (both withstop loss orders) , and walk away from the computer, till next trading day. For a BUY STOP order, what I want to do is find the highest price after I have beenstopped out ( Stopped out by stop loss order or...
The new article by Sergei Shashev has been published: How Not to Fall into Optimization Traps Abstract: Creation of a trading system, first of all, consists in formulation of rules thatwould open and close a long or a short position. These rules usually contain someindicators and parameters. If...
Please watch the following . if (OrderSelect(i,SELECT_BY_POS,MODE_TRADES) && OrderType()== OP_SELL) double a=OrderOpenPrice(); if (OrderSelect(j,SELECT_BY_POS,MODE_TRADES) && OrderType()== OP_BUY) double b=OrderOpenPrice(); c=a+b; In this case , is the last "a" (c=a+b)...
look at this picture please give me some advice.
We would like to ask your help on how to close more than one trades , to close themin one batch.
Can someone confirm if the Demo version is in real time as I am using the Demo versionin UK and the times do not correlate with my actual time
Universal Expert Advisor Template The article will help newbies in trading to create flexibly adjustable Expert Advisors. Author: Vadim Andreevich
[Deleted]
So, I just started with MQL4 and am writing my first EA. It's an extremely simplyEA for USD/JPY. On initiliazation it's supposed to generate a random number, normalizeit so the number is either 1 or 0, and depending on the number it will place abuy or sell order. Then on each tick it checks for an...
... and have downloaded a couple of free ones to observe and learn from ... butcannot get them to actually run on demo Any help would be appreciated. Thanks
Hi I am playing around with some code, getting the hang of the MetaEditor. I have got 1) The "Price Channel" indicator code (from this site) 2) The Moving Average Expert Advisor code What i am attempting to do is retain the code structure of the moving average advisorand impliment the parameters...
[Deleted]
Hello... i have used pda to trade , unfortunately i cannot add other indicator to my pda. I already check to my pda, but there is no indicator folder in MT4 folder. Normally in my PC i only copy and paste other indicator into my indicaor folder. but in my PDA there is no indicator folder. Can u