MQL4 and MetaTrader 4 - page 259

To post a new topic, please log in or register
I'm losing the connection to my demo account, are you using the beta version without problem?
  Mql4 Report (1)
Hey, I've tried to search for a solution to this but I have been unable to find a solution, even with a broad google search. Recently I've been making detailed reports on my performance, the EA has been functional for well over a year (perhaps 16 months), but my report only goes back 10 months. When...
Hopefully someone can help me out of this. In the following code opening a long position if the current price is higher than the previous candle's High. Then I set a profit target, and a stop loss. The profit target is static, so that works fine, but the stop loss is variable. I have set it to look...
Hi Guys, I've got a below standard piece of code for reading from a file with the following format: YYYY.MM.DD HH:MM; integer What I get returned for MD (date) is 1970.01.01 00:00:00 instead of the actual date on file. Do you have any solution guys? Thanks! int Handle, Number, Number2;string...
Hello,    For learning purposes I'm looking at this simple indicator called test2 (basic ma cross) #property indicator_chart_window#property indicator_buffers 3#property indicator_color1 Aqua#property indicator_color2 Purpledouble Uparrowposition[];double Downarrowposition[];double signal[];int FEMA...
Hi everyone, I wish to know if this is the correct way to calculate indicator's value in a for loop (throughout all the available bars): int OnCalculate(...) { //...  ArraySetAsSeries(SignalLine,false);  //...  for(int i=0; i<Bars; i++) {     double ma=iMA(NULL,0,MaPeriod,0,MaMethod,MaPrice,i); //....
Hi guys.   I am making a Binary Options Expert  for a customer, and need to block the Order Creation when the payout is below 70%, like in the image below because is only 65% not 70% or greather.     I try to get the payout information using the MarketInfo function, but not found the option. Can you...
Two years to double the price of heavy wood ants wood prices have been rising, and prices of the gathering, the amplitude and frequency are unprecedented, two years ago, the hottest selling mainstream Merbau wood species, due to the strict control of timber exports The reasons of wood plastic...
For my systems, I need to draw objects past bar zero, so my shift is set very far to the left, or center of the chart window. Every time I draw an object past shift, even only a single bar past (anything less than bar zero), the objects either do not draw, or are stretched to infinity. How are...
Hello, I am desperate need of help with getting my Forex Hacked EA to work on my live account. Below is the description of the issue I'm having. My broker is Forex Place (4xp). I do not have access to the code for this EA since it was purchased with rights. I will provide any information you...
New article How to Make Money from MetaTrader AppStore and Trading Signals Services If You Are Not a Seller or a Provider has been published: It is possible to start making money on MQL5.com right now without having to be a seller of Market applications or a profitable signals provider. Select the...
Hi guys,  I need to download a lot of data on my metatrader 4 using TickStory lite for backtesting, but my free space on C:  is small than the amount of data need to download. Then need to move the datafolder to another partition. How can I move the datafolder to D: or anoter disk with more free...
Hey,  I would need help to offset Donchian Channel indicator (n) bars ahead or behind, because I don´t really know how to do it. Thanks, I would appreciate it! Rait
Hi,  I'm trying to optimize my EA but the mt4 tester behaves bad in the following situation...   In the OnInit() i have some check of passed parameters and if something is wrong, I return the INIT_PARAMETERS_INCORRECT.   int OnInit(){   int result = INIT_SUCCEEDED;         bool canSignal =...
I get the follwing warning message. how to resolve the issue? Warning Message: possible use of uninitialized variable 'ordticket' void ClosePctPartial(){    int orderstotal = OrdersTotal();    int orders = 0;    int ordticket[30][2];    double lots = 0;    for (int i = 0; i < orderstotal;...
when compared with tradingview, i find the qutoes on different platform is so different !!!
Hi I have a code with Buy & Sell Price both as a function of Bid if (Bid <= SellPrice1)   level=true;    if (level = true && Bid >= BuyPrice1 && total<2)            // Stoploss order 1 OrderSend(Symbol(),OP_BUY,Lots,0,0,0,0,NULL,0,clrNONE);  Since I'm designing it as pyramiding strategy I can't...
turny
Hi, I have this custom indicator which as shown in the image, is just a quick way to see higher highs and higher lows (based on open/close). The problem is they are a set length and I want to be able to choose how long they should be, something I can change in the editor depending on my needs at the...
My Hail the reader, I stopped trading some years back due to personal health issues. Would like to restart and to this end have downloaded an MT4 platform from FXPro. I am looking to use my proprietary indicators coded for me long before build 600. As I have no Custom indicator folder showing on my...
I'm new to MQL4, although I have several years of classical programming experience. I have a profile with multiple charts - due to 1M, 1W, 1D, 4H, 1H and 15M periodicity requirements of the data for the indicators on each chart. My desire is to create one EA that will receive and/or process data...
Hi Guys,  to practice my programming skills im writing a little EA at the moment which i want to place two pending orders at a specific time. Everything pretty much works but on the very first execution i always get an OrderSend Error 130. i am pretty sure that my stops are right though.  After...
Hello guys, this indicator does not update the MA. What he's doing wrong. can someone help me? thanks       //+------------------------------------------------------------------+//|                                          AG open position MA.mq4...
Adam Rosales makes second pitching appearance | texasrangers.com CLOSENow Commenting On:Full Game Coverage Infielder Rosales pitches for 2nd time in 2015Rangers forced to call on position player for ninth inning during rout Email PrintInfielder Rosales pitches 9th 1:127/28/15: Position player Adam...
Hi all, I'm trying to see the stop level on my demo FXCM platform. I'm using   Print( MarketInfo(Symbol(),MODE_STOPLEVEL) ) ;   but the result is 0.  Could you help me? Thank you!   
//+------------------------------------------------------------------+//|...
My M1 charts are losing their template settings - see http://screencast.com/t/KaLpidQ3FlZ In practice, - it happens more on fx than on indices charts - and if I never alter timeframe, there is no problem.  But as soon as I switch to say m5 and back again, on the next mt4 restart the M1 charts...
I want to do my analysis at home and then have it synced onto a mobile device. Showing all of my trendlines & counter, support & resistance and fib's. I currently use Metatrader4 from Metaquotes on android. Is it possible on this app or is there another that will sync with my PC? Ta 
Hi I wondering if any one can point me to the right direction. I would like to write an EA  where the user places lines on the chart and EA will pick up the numbers on the chart and the EA can be work dynamically.  For example EA request for the pending buy order with profit, buy price and the stop...
Industry reshuffle affected brands Yesterday, decorated the city at the time of interview, the author found that the floor is located in a prominent position at the entrance to the street, the former Rhine sun floor storefront by LG floor instead. It is understood, Rhine sun floor in the Plastic...
Hello everyone.  I am struggling to understand where I am going wrong with this code.   My goal is to every tick to have the EA totaling profit for all orders on a chart/symbol with the same magic number and when the profit target is reached, the EA should close all the orders under that same magic...