Download MetaTrader 5

MQL4 and MetaTrader 4 - page 613

To post a new topic, please log in or register
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.
Guys: I use the optimization in the tester to do some reserch of my stargegy. I set one parameter to vary from 0.1 to 2.0, so there should be 20 results. But the testor only show 11 of them, which is profitable. or "significant"...... How can i see the other 9??? By the way, simplely lable...
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!
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...
Hi fellow traders, I will code all your strategy's and indicators. I will NOT code them for free. Why? Coding is hard workLearn how to code takes even longer timeThe resulting EA, all rights belonging to it, all source codes belong to YOU. Why is that important?Developing a trading system is also...
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...
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
#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...
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 =...
Whilst working with the MT 4 demoaccount I come upon a problem. Iuse Fibonacci Retracements with the numbers; 0.0 14.6; 27.2; 38.2;50.0; 61.8; 78.6; 88.7; 100.0; 114.6; 127.2; 138.2; 150.0; 161.8; 178.6; 188.7;200.0. To each number I have added the respective price leve, in MT4 (%$). The MT 4...
  "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...
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...
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,""...
Hi, Can you someone clarify me whether MODE_MINLOT is always same as MODE_LOTSTEP for any broker I am using below to calculate average price for my open positions and it works fine. But I have little doubt whether I should use MODE_LOTSTEP TotalBuyOpenPrice =...
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...
dear sir, how to transfer data metastock to mt4, plz guide me,
Hi there anyone could explain this issue: I am using a particular EA with many variables, on MT4 platform. This issue affects on all mt4 platform tried: alpari, avafx, gomarkets, fx-open, and many others. usually I use about 5 single variable to create my personal optimization Each variable can be...
int start() { int counted_bars=IndicatorCounted(); //---- int i,limit, top, k; int signal[]; limit=Bars-1; if(counted_bars>=1) limit=Bars-counted_bars-1; if (limit<0) limit=0; for (i=limit;i>=0;i--) { if((FullBody(i))&&(isShrinking(i+1))){...
1...606607608609610611612613614615616617618619620...1244