MQL4 and MetaTrader 4 - page 1232

  Forex strategies  (112   1 2 3 4 5 ... 11 12)
Forex strategies. If 90% of traders using the most sophisticated strategies lose, then what is the point? It turns out that the best strategy is to trade in the opposite direction from the signals of any strategy? Regards - Sergey Sartakov. It was noticed here that it is as difficult to build a bad
New article Create your own Market Watch using the Standard Library Classes is published: The new MetaTrader 5 client terminal and the MQL5 Language provides new opportunities for presenting visual information to the trader. In this article, we propose a universal and extensible set of classes,...
[Deleted]
int last_closed_order_ticket;   int last_closed_time = 0;   for(int k=9;k>=0;k--) {      if(OrderSelect(k,SELECT_BY_POS,MODE_HISTORY)) {         if(OrderCloseTime()>last_closed_time)         {         last_closed_time=OrderCloseTime();         last_closed_order_ticket=OrderTicket();...
  A real question  (98   1 2 3 4 5 ... 9 10)
Good evening gentlemen, I want to say at once, I am new to mql4. Metatrader 4 has " Data window " (<Ctrl>+<D>), could you please tell me if there is a way to get indicator values from there? I really hope for a quick and comprehensive reply
Hi, I wrote indicator which works many with bar number. Example of code is below: for (Bar = limit; Bar >= 0; Bar--) //all bar cycle { //some code here for (int i=4; i>=2; i--) //shifting Highs and Bar Numbers in Array { HighBar[i] = HighBar[i-1];...
Hi, I am tryingto put one dimensional array into a file so that if I close and subsequentlyopen the terminal the same EA can find the array information in the file anduse it. I havecreated the attached test EA to this and print the array information once thefile is created and populated. I have two...
Dear all I want to send two orders that meet the same rule in different day below is my code int p=20; int a,aa; double vol3=0.1; double open,type; datetime b; if((Ask-Open[0]>=1000*Point || Ask-Open[1]>=1000*Point) && Ask >= iMA(NULL,0,p,0,MODE_SMA,PRICE_HIGH,1)+500*Point && OrdersTotal() == 0 ) {...
[Deleted]
selecting time and date style time and date - current time ( broker time ) or local time ( system time) indicator start hour and end hour ( in between times only indicator will alerts and sends emails) thanks
It's impossible to do any effective ongoing, longterm EA algorithm and settings testing and development without this capacity.Likewise for ANY profitable trading system. Currently there is no comprehensiveand effective solution that I am aware of for this vital need. This informationneeds to be...
Hi Rosh, in my EA are 58 contributions, some of which are identical. Because it is very confusing, I would like to delete posts. Is that possible? Thanks, hansH.
Does MT4 only allow alerts for the market price? I want to add an alert for RSI levels, SAR levels, etc. Also: When I hold the mouse over a candle it sometimes gives me the open close high and low but not always. When I hold it over a bearish candle, the information isn;t displayed. Any ideas?
[Deleted]
how do i download a script? tia
So, I'm testing the strategy, running the pluses by eye and the minuses by tester... The five-minute picture with ISP quotes (by the way, the quotes downloaded from Metatrader are false, not the quotes): Blue line - pending buy order , as you can see the high candle did not reach the blue line 3
I'm looking for other ways to define cycle length to dynamically adjust indicator values, and because DFT, Goertzel, Corona, MESA, .. don't really do it for me I thought of a more simple idea: if you take the zigzag indicator (that shows you the swing highs and swing lows) then you pretty much see...
Happy Holidays everyone! I use the "Auto TL 04" indicator to plot trend lines on my chart and it works very well for me. The only thing I can think of that would make it better is if it would display different colored trend lines instead of them all being a single color. I've tried a number of...
[Deleted]
  close all orders  (3)
hi guys, can anyone tell me if there's a command that closes all open orders at once? I'm having some problems with an invalid order ticket when closing a certain position, so I thought it would be easier to close all existing orders.... thanks jürgen
Dear Sir, we need your help, we are some of traders, we bouhgt an expert called leo trader pro but most of us can't make it run with metatrader ..and their support faild to solve their problem, So I think if you can give us an advice to solve the problem we will appreciate your effort..the problem...
[Deleted]
Hello, I found this code on the forum itself. I'm trying to build an EA on Fibonacci indicator. I have found an EA as well as some indicators. The problem is that I'm not able to understand what part of the code is fulling the condition. I appreciate if anyone would help me understand. Thank you...
[Deleted]
Hi I am programming an expert to open buy order when the line of the indicator turns blue and close the sell orders and vice versa so i identified B as: double B=iCustom(NULL,0,"Triggerlines",2,0); and then used it as: if (B==Blue) {OrderSend(Symbol(),OP_BUY,Lots,Ask,SlipPage,StopLoss,TakeProfit...
[Deleted]
I am a nood to MT4. I want to know is the demo account allowed to test EA? Everytime, I try to apply a custom indicator, it will get removed. I do not know why. Can anybody shed me some lights on MT4 nood wiki? 2010.12.26 21:47:13 LCS-MACD-Trader EURUSD,M1: removed 2010.12.26 21:47...
[Deleted]
Hi, i'm looking for a MACD alert (in the pop-up MT4 alert window) that will show the Price and Time when the MACD line crosses the zero line (intrer-candle). The only MACDzeroLineCrossAlert's i can find give the alert at the close of the candle (4Hr for me) [e.g., MACD ColorHIst Alert] and do not
[Deleted]
Hi, I was wondering if someone can help a newbie out here. Basically what I would like to do is attach my MA to first Indicator's data which is MACD and cannot figure out how to do this the sample code I am using is as follow. double MacdCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0); //MACD
[Deleted]
  3076 pips in 18 days  (21   1 2 3)
Hello my friends What do you think the results of my work for the past Best regards http://www.mt4i.com/users/kinggbp/
[Deleted]
Hi I am looking for an indicator that combines USDindex and volatilityIndicator. I was thinking that USDindex calculates based on price closes and if it calculates based on volatility we have more informative indicator. Volatilityindicator has a formula for calculating highest highs minus lowest...
[Deleted]
Can't understand why my back tester just stops all of the sudden??? I took a quick video of my setup... please take a look and let me know if you see anything wrong. Thanks!
[Deleted]
Hi Pros, I am following the discussed many times http://thetrademachine.com/blog/2009/09/29/set-up-metatrader-history-data-get-90-backtesting-quality/ to set up an offline test. My problem is at the script period_converter. It success to transfer M1 data into M5, M15, M30, H4 data and they...
Hallo, to trade a signal system I need support for programming an EA for metatrader4: I need fill in forms to make the following manual input / selections: Currency pair (EUR/USD, GBP/USD, USD/JPY, EUR/CHF, GBP/CHF) Order size Short or long Entry-level price Stop price Target price 1...
[Deleted]
hello everyone how to add the following to the 2ma cross over 1.how to send text messages to a webpage using http51 Idea is to call a web page with data instead of sending mail like http://www.xyz.com/secret/location/trade_signal.php 2 sending text messages with time control like start hour end hour