MQL4 and MetaTrader 4 - page 1504

Hello! Everyone! I want to analyze and improve my EA from the tested result like this way. I tesed my ea,it automatically created a list of the trading results. copy the list and save it as txt file. I think it can automatically draw vertical lines form the list by a script. I have no idea how to...
Hi, My problem is simple. I am using the following loop for computing my indicator.    while(i>=0)   {   i--;   CODE HERE   } Now, If i go to the MetaEditor and compile again the indicator, it shifts the 500 period forward and compute the next live bar I see, but it does it once of course. So my...
-
Hi, Ive written an Indicator that paints a bar red when some conditions are met. How do I find this bar from within my EA? What is the approach/concept in sharing info from Indis & EAs?
[Deleted]
i believe there is a problem with the terminal ---------------------------- I have a custom indicator that Draw Text on chart(When someconditions met) and i can get it fixed in the low of the bar,(Even whenTime frames change) but i can't do the same in the High of the bar, the text is drawn inside...
Hello. I am trying to get a price (high and low) derived from a bar. I am fine with double         pricebuy  = iHigh  ( Symbol() , ac.Timeframe [1] , i )    ;double         pricesell = iLow   ( Symbol() , ac.Timeframe [1] , i )    ; i being the bar count. However sometimes I notice that a bar...
[Deleted]
Hi. I am looking for an EA developer to convert a strategy into and automated EA. I am not sure if this is the place to post this so please correct me if I am wrong. The strategy is simple and I've included the specs in a PPT included in this posting. I require your rate and time to completion and...
  NEED A PROGRAMMER  (77   1 2 3 4 5 ... 7 8)
We need to write an EA that will build channels and trade on them in semi-automatic mode. Description of the program: Based on three appropriate extrema on the chart, the program builds a channel that is displayed in blue. Let's call this channel unlocked . It can be changed and moved on the chart
Hello everybody, I'm trying to use dde. Everything looks working but there something wrong with prices!! Look at the picture below... Thanks for support
[Deleted]
Hi I'd like to detect when a 1 minute bar is completed or just about to.  How can I do that in an EA, I'd rather not rely on the current chart being in 1M if possible? Sorry if this is a newbie question - but I am :) Peter
[Deleted]
Hi Does anyone have idea why an Expert Advisor calls an alert() under backtest mode won't work, but it will works when an alert is called under an indicator in backtest? I want the EA prompts alert in backtest. the alert is worked properly in live and demo account but not backtest mode? Anyone can...
Hi everbody. At the same time I have several open orders at different parity at different lots, generally my orders are opposite (example: 1 lot sell at gbpjpy and 0.8 lot buy at gpbjpy). I want to close all of them at the same time, but pay half commision for opposite orders with ordercloseby...
[Deleted]
As a newb, and still trying to get a handle on things from an automated standpoint (after failing miserably trying to trade on my own), when you run a back test report, what do you consider the top 5 most important variables in the backtest report, and rank them from first to fifth: In this newb's...
[Deleted]
Hi, I'm writing an EA and was wondering if anyone had a little snippet of code that I can use to tag each candle after it's evaluted? It doesn't have to be in the main window, could be in a sub window but needs to show up on the chart after running the backtester. I don't know if this can be done...
[Deleted]
How can I get the most recent high and low prices using fractals (or another better method)? Thank you
HELLO GUYS, I NEED TO BACKTEST THE FOLLOWING SCENARIO. SOME STOCK OPTIONS FALL FREQUENTLY ON LEVELS OF -40% AND -60% I NEED TO BACK TEST A INVESTMENT ON THESE DOWNS. FOR EXAMPLE. INVEST 2/3 OF CERTAIN AMOUNT OF MONEY WHEN IT FALLS -40% AND 1/3 IF IT GOES TO -60% FOR EXAMPLE. AWAYS SELL ON CLOSING OR...
[Deleted]
Hello, I am drawing different marks in my charts and esp. in the lower timeframes. I draw lines in different styles and colors for High and Low MN, EMA50 W1 + D1 and SMA20 W1 + D1. The monthly and weekly lines are not a big story but the daily one. Is there a way that the program can do that job by...
E.g. "OP_SELL" is a system constant but what is its value ? Found it in MQL4 reference / Standard Constants.
Please help me, i dont know how to set a stop losse in % at an expert advisor, can somebody tell me the code for this function in mql4? Thanks
Hello, right now, I have a lot of EA's in testing / optimization waiting other tests to be done. And it's take lot of time to (even with fast cpu (in my situation it's E6300@3.5ghz)) calculate all that information. So I have few questions: Is there any possibility that MT4 tester will have multi...
[Deleted]
MQ4 and C++ Programmer to program 3 plugins NEEDED. 2 March 2009, 18:39 if you are familiar with MT4 and know your way with programming plugins,...
[Deleted]
I want to use indicator in my EA, timeframe m30. For instance Moving average indicator. EA contains: double ma = iCustom(NULL, PERIOD_M30, "Moving Average",13,0,0,0,1); Print("MA = " + ma); How to make EA if I want to print variable "ma" only once per bar (once every 30min)? Now it prints many...
[Deleted]
Hi there, I placed 2 sell trades on Gold with stop losses on each. Both of the trades were automatically stopped out but the stock never traded at the stop loss price. The details of one of the trades below: TicketOpen TimeTypeSizeItem PriceS / LT / PClose Time...
I have 2 ea runing on 4 charts, so how can I start or stop the 2 ea with script?
[Deleted]
I like to use my Demo Account to test the charts. However every 3 month I am asked to register a new Demo Account. Can anyone tell me how to keep my current Demo Account for a long time? Thanks, helen
[Deleted]
Does the following code work in strategy tester. In other words, will it delay time properly to provide a decent back test?static int _time_waiting=0if ( ... )    _time_waiting = TimeLocal() + 10; if ( TimeLocal() >= _time_waiting )
[Deleted]
pls.could anybody out help me.i am designing an EA and in dare of need of early reversals trend indicators.i would be grateful and be beneficial to us all.thanks.email to agbagold2007@yahoo.com
If I run this super simple indicator code in the Tester at M15 it works, but it does not work at M5 or M30. It works in a static indicator(dropped on a chart) but not in the Tester.... is this because we'd be looking into the future ?...
[Deleted]
Dear my friend, I want know how I can call Alert item from indicator to my Expert Advisor: Custom Indicator ia MTF_#MAMA2_1 I want use two alert in below indictor in my EA. property indicator_buffers 2 #property indicator_color1 Lime #property indicator_color2 MediumOrchid #property...
[Deleted]
Does anybody know where I can find the missing data from MT4 65000 database. The dates are from 9/19/2008 to 1/26/2009. When I go back to download the historical data from the Ib server or the FXDD server the data in missing. Look at the downloaded excel file. Help anyone.