MQL4 and MetaTrader 4 - page 1058

I recently ran the script called Birt's Patch on build 409. After running the script, I ran an EA that prints to a text file tick volumes. The volumes I am getting are in decimals such as .00090. Is there anyone out there who is familiar with this and how it can be fixed?
In The ECN platform there are ' normal' charts, Avg and Ask charts. There must be a difference between them, so which one, avg- ask, can give the best results for an expert advisor?
[Deleted]
Hi there, I am trying to program an custom indicator but I cannot manage to assign values to an array. In my example, I am just trying to calculate the average value between the High and the Low of each bar and assign to an array for subsequent calculations. I used the Alert() function to find out...
Hello guys, I have a problem..According to the logic, regarding the position ticketTL, the ea should move the trailingstop up. Instead, it remains a fixed stoploss. No errors in the journal.//+------------------------------------------------------------------+...
[Deleted]
Hi My Name Is Jestin I Want Hourly Buy Automatic Buy TRade Order Then The Take Profit Is 25 pip And stop Loss Is 25 Pip If Not CLose THe Next Hour Then Close Automacly Script Buy HOurly FOr 24hours in a day anybody for script writter
I generated a offline chart with the indicator "RangeBarChart", but no expert in graphic works. How do I run the expert advisor? I read something about global variables ... Is there a tutorial on? Sorry my English ...
[Deleted]
I am trying to place an order through which i can get profit / loss of 0.01 by the following code: OrderSend( Symbol(), OP_BUY, lots, Ask, 10, Ask- 3*Point, Ask+ 3*Point ); But it did not executed. If I increase my profit / loss to 0.06 it accepts my order. Why is it so ? Please help me out.
The Volume Indicator is a double number but it shows only integer numbers (5, 12, 25..) Can I Take double numbers by volume indicator?? (5.23, 12.78, 25.36)?? Somebody can help me?? thanks
I have tried to find a definitive answer to this query from codebase and e-books I have and am still uncertain about whether these two are functionally identical or if there is an important difference. High[1]  or iHigh(NULL,0,1) I am using High[1] because this is what Forex EA Generator writes but...
I'm new MQL4. I do not know where to post my question ... How do I create asimple command code to go up breaking the bar higher eight? Thanks with Greetings from Italy. Help me! Mauritius.
Hi Guys.. I am looking for a solution that could help very EAs. Also i want to code expert advisor that could limited opening new positions for Each bar. For example if we want to make new buy position by " if(High[0]>High[1]) ", then it allows to opening only 1 buy position for each Bar. On the...
Hi! I'm justin, My English is not well. You sympathize with me. as title, I'm looking for an indicator chart which is total 2 pairs or subtraction 2 pairs, ex, EURUSD = 1.3142 gbpusd= 1,4235 ==> Total = 2.7377, Subtraction = -0.1093 If you has got it, share me, please! Thank
[Deleted]
Even though the strategy tester claims to have tested 336 combinations (see attached pic) i can still only find 123 test results in the Optimizations Tab. "Skip useless results" is de-checked and has been so since before the test so I do have negative results as well. Have you got any idea why I...
Hello, I have a little problem, This ea open an order at a specific time ... But i want it to close after 30 mins ... Here is my code: //---- input parametersextern double    Lots=1;extern int       TakeProfit=100;extern int       StopLoss=100;extern int       Slip=0;extern int BuyMagicNumber...
Hello everyone, I am new to EAs and programming, but would be willing to start learning intensively as soon as I finish my Finance and Investment degree. I have downloaded EA from this website (do not remember the link) and have played around with inputs; it seems that profits have improved,...
Hello All, I am looking to setup a long term collaboration with a highly skilled developer for ongoing projects . My company gets alot of requests for EA's to be developed, you will be paid of course for any work completed. Please contact me stating your experience and possibly any websites where i
Can someone point me in the right direction. I would like to modify my existing ea (I purchased a template, I am no massive coder) to be able to open more than one order. Is this fairly easy? Also, any good recommendations on paid coders that could modify it to become a basket trader ? Thanks for
Hi fellow traders, I will code all your strategy's and indicators. I will NOT code them for free. Why? Coding is hard work Learn how to code takes even longer time The resulting EA, all rights belonging to it, all source codes belong to YOU. Why is that important ? Developing a trading system is
Hi there, I need some help. I play with correlation between EURUSD and GBPUSD . If they are with different fast and slow MA constellation I open one trade per pair with same MagicNumber. I thought the coding is right but it opens no trades. Can someone help please? Regards, Jimbofx7
I try to code this Bars (Ask Price) over moving average period 30 then buy and vise versa most of the trend code wrote as 2 moving average line cross then buy, so i like to write only bar and one single moving average the code is int start() { //---- int MALine, CurrentPrice; CurrentPrice =
//+------------------------------------------------------------------+//|                                              Trend Run Alert.mq4 |//|                                        Copyright © 2011, Jay Bee...
[Deleted]
Hi guys Im trying to find high and low of the last 10 bars then keep the value and wait until the price cross it up or down, but I'm losing the value of the high or low, can someone suggest me something please
[Deleted]
#include <stdlib.mqh>#property indicator_separate_window#property indicator_minimum 0.00#property indicator_maximum 100.00#property indicator_color1 Lime#property indicator_buffers 2#property indicator_color2 Red#property indicator_level1 20#property indicator_level2...
[Deleted]
Hi, how would I go about setting multiple TP/SL levels? I've finally managed to make my strategy work but the performance is awful. I would like to set multiple levels such as: if (trigger == true){     buy or sell}-------------------position == opentp = +50pipscurrent price = +49pipscurrent price =...
[Deleted]
  "Charts" tab problem  (12   1 2)
I am new to the forum so apologies in advance if I've done this in the wrong place. I have multi-screen and use three versions of MT4. One version works 100%. The other two will not allow me access to "Chart Indicator List" via the "Charts" tab. When I click on it to delete an indicator - or even...
[Deleted]
I have one pair chart that opens at a seemingly random point in time when switching time frames. eg It always opens with the most recent data displayed in a daily chart, but for any other time, 5m, 15m etc it will open at anywhere from a few days ago to a few years ago, depending on the time...
[Deleted]
hi when i'm trying to install MT4 i get this error: "A debugger has been found running in your system. Please, unload it from memory and restart your program" i have windows Xp 32 bit thx for your help :)
Hi, I tried to put them into my code but it seems is unable to open a position, anyone could help with this ? { res=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask - 0.005,Ask + 0.005,"",MAGICMA,0,Blue); //this code is not working. // res=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,""...
I have gained the courage to put my newly written EA on a live account after thorough testing on historical data. The past week it made NO trades, but when I run a back test on the same period there are 5 trades for the week. My broker is FXOpen and I have an ECN account. Why does my EA not make...
Guys: Recently, I started to use MT4 tester to test my stragegy on Futures data. Usually, forex price data are 1.****. But to keep the profit value in right scale, I use the price like 0.****. For example, the price of a contact of certain commodity is 3425.00....And I make it to 0.3425. The changed...