MQL4 and MetaTrader 4 - page 1323

With the EA you will be a able to set a time and date that 2 or more pending orders will be placed, buy and sell. It is very useful when trading news events because you can program your date / time that you want your pending orders placed. If the market moves up / down one of the pending orders...
  Averaging?  (79   1 2 3 4 5 ... 7 8)
If TS (trading strategy) loses on any one instrument out of 1000, can the total result of the same TS not to lose if it works on all these instruments simultaneously? That is, if probability Pi = probability of getting profit on one instrument during certain period of time < 0.5, then what will be
  Interesting readings  (12   1 2)
In a last couple of days we have be exchanging some documents which is very good (learning, learning, learning ...). But it made me realize that we do not have a separate thread for stuff like this : readings about trading. So I decided to open a thread for it To start with : this is an article from...
[Deleted]
Hi, here the problem I've being fighting against. The following code runs properly when the strategy is attached to a chart (GBPUSD pair)     int risk = 1;    int lot_price = 100000;    double lots = 0.03;    double pip_value;    double max_stop:    //Pip Value in EUR for the EURUSD pair (Attached...
Hi all, We are ready to launch our latest product: a graphical environment to create expert advisors. No coding is required. No need to know/learn how to program in MQL. Look at the demo video if you are interested. We need your help to make it better. Go to http://www.molanis.com or read the manual...
Dear members, Can any one please help me. my program cannot open any order. This is the first time I am using this command. I keep getting the error message "Invalid_Price_ Param" which is error 4107. Can anyone tell me what I am doing wrong. Thank You. int TN = OrderSend(Symbol(),OP_BUY,1,Bid,5...
[Deleted]
If there are too many indicators in custome indicator folders, metatrader doesn't list all of them. Is there any way to list all of them? I don't want to delete any indicator. thanks..
[Deleted]
Hello seniors, being a newbie I have been able to create an indicator that draws a horizontal line using the SetIndexStyle(0,DRAW_LINE) and counted_bars=IndicatorCounted() etc. It draws the line as I want, but stop at the last bar on the screen. But my chart is shifted to the left and I want the...
[Deleted]
I'm converting some Tradestation code to MT4. If anyone would be willing to do that who knows both platforms I'd be willing to pay so send me a private message. In the absence of that one of the lines I'm converting is RSI (SLOWD(5), LENGTH) Doesn't anyone know how to do this in MT4?
[Deleted]
I want to have the following indicators on MT4: Williams%R 21 Levels -20, -50, -80. Weighted close (HLCC/4) Stochastic %K 3, %D 5 Slowing 14 apply to Weighted close (HLCC/4) RSI Period 14 applied to weighted close (HLCC/4) Is it possible and if so how. I'd like to do it using the inbuilt MT4
[Deleted]
pls, all i need the letest fabtub settings on rorbot for forex trading,help me through this email address blessedalex13@yahoo.com and i will be greatfull, may god bless u as u du it for me, thanks
Hello, I make a backtest with a strategie and look the testgraph it make a 10k account to 40k from 1999 till 2010 but i dont know if such thinks is interesting realy what you say?
[Deleted]
I created a summary report that prints all the detailed report informationof each optimization run to a csv file for analysis in excel. And I'm lookingfor a better way to tell the system the optimization has started so I canrewrite over the last csv file but there is in no optimization_init() or...
[Deleted]
Hello In the last weeks I have made my own indicators that automatically draw trendlines. One indicator draws one trendline and I have different trendlines (indicators) per timeframe now. For drawing the trendlines, I didn't use buffers, I only used the formula and then I drew the line with...
Hi, I'm in the process of improving every little aspect of my new scalper, everything helps, sometimes a lot, and now I want to avoid entering around news and preferably get out of the market at these times. This EA is like most other EAs, running with much higher SL than TP and therefore trading...
[Deleted]
If i write any program inside start function, it is not working. so i use to write my programs in my init function. can somebody help me?
Please could somebody help me on how to plot moving averages on indicator window? I'm using fxpro metatrader platform and I want to plot moving averages on RSI indicator. Please help me
How can I Specify a Different Trade Closing Interval than what the ChartInterval is?
[Deleted]
hi there, i am a newbies and having difficulties to write a code about the 2 concepts below into expert advisor, ================================================================================================================= (Concept 1) Open a new pending long order AFTER a previous order closed...
[Deleted]
Hey guys, i hope someone is able to help me: i want to close an order with an ordinary OrderSend command (with stop) like this:STOP=??????????; ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,STOP,Ask+TakeProfit*Point,"macd sample",16384,0,Green); but to stop it in a usual way like:...
I have been backtesting my custom signals for some time in a ea template and need help producing a working live version. The signals are pair specific and quite consistent. Pm me if you can help. Thanks
New article The Drawing Styles in MQL5 is published at mql5.com: There are 6 drawing styles in MQL4 and 18 drawing styles in MQL5. Therefore, it may be worth writing an article to introduce MQL5's drawing styles. In this article, we will consider the details of drawing styles in MQL5. In addition,...
[Deleted]
Hi, How can i code for my EA, and to make sure it is only run on 1 MT4 live account? i have 1 EA and going to sell for public, but i'm only allow 1 copy of EA will able to run on 1 particular Live account, how to accomplish this? thanks.
[Deleted]
What do you type for 'no color' for an mq4 file? I tried 'None' but this doesn't work, Thank you, Pete
[Deleted]
HI every one maybe some one can help me,I need a script wich watch the trades and automatically stop them lets just say after 10 or 12 minutes no matter if the trade is on the profit or in loss.Thanks for your help.
[Deleted]
  windows 7  (2)
has anyone experienced metatrader 4 crashing with windows 7? Upon trying to open Mt4 I get a crash message. Not sure how to fix this.
Hi dear community, If someone could explain how this can be I would be very thankful. I fear not to be believed so I will post a video showing the exact problem if neccessary. I am using one include-file and also painting 1 new Fib-retracement + 1 new Fib-expansion every new candle on the M1. Theese...
[Deleted]
int start(){      if (Hour()>=7&&Hour()<=18)               {                if (OrdersTotal()==0)                   {                      if(Bid == Open[0]-4*Point)                        {OrderSend(Symbol(),OP_SELL,Lots,Bid,Slippage,Bid+StopLoss*Point,Bid-TakeProfit*Point...
[Deleted]
Hello I have just coded this: #property  indicator_separate_window#property  indicator_buffers 3#property  indicator_color1  Red#property  indicator_color2  Blue#property  indicator_color3  Green//----extern int RSIPeriod1=14;extern int RSIPeriod2=28;extern int Cross1=10;extern int Cross2=10;extern...
Hi, Who is going to find the little bug in this code ? Compiler says unexpected square bracket... beats me.... Thanks in advance..for helping this peanut brain Dan //+---------------------------------------------------------------------+ //|...