Download MetaTrader 5

MQL4 and MetaTrader 4 - page 594

To post a new topic, please log in or register
Hi, I have an EA for each Pair that i trade - all of these EA's contain this code:    int order_type;      while(deleted == 0)   {      //Ticket_1 closes ticket 2, BUY_LIMIT = 2, SELL_LIMIT =3, BUY=0, SELL=1      if (OrderSelect (ticket_b1,SELECT_BY_TICKET)==True)      {         order_type =...
Hi I need help finding a certain EA(i don't know if it exists or not), the EA i need must do the following 1) Lets me set a price where i want to enter a trade 2) Lets me chose whether i want to buy or sell at this price 3) Lets me set the Lot size 4) Lets me set the Take Profit and Stop Loss in...
  one trade a day (12   1 2)
Hi there, I have no idea of the programming of EA's yet I have an EA now that does automated trades, yet I want this EA to only trade 1 trade every day. The EA has the ability to work with many indicators and when the time is right it opens an order. I work on a 30min time frame. some trades are...
I have multiple open order (up to 4). Only buy or sell open at any time. I want to set lot size of the next buy order depending if the current open buy orders are in profit. if total openorder profit > 0, then next order lot size = 1.4 if total openorder profit < 0, then next order lot size = 0...
Hi, this EA is basic but useful to me, its restriction is it will only monitor the order that corresponds to the chart it is attached to. It is designed to partial close at first TP level then step trail SL but no more partial close. Is it possible for the EA to monitor ALL open orders and apply the...
Hi, There are dozens of visual order scripts/ea's but I cannot seem to find one with a cancellation line; if price hits this line before hitting the pending order the pending order will be cancelled. Example; Buy limit @ 1.29 Cancellation line @ 1.30 TP @ 1.31 As soon as price reaches 1.30 and the...
I'm in the monthly process of updating my currency pair history data. I've successfully imported the M1 data. I've opened up a M1 chart, dragged the period converter onto the chart, and put in the numbers of the higher time frames that I want to test. On each attempt, nothing has happened. I...
  useful tool (5)
Hi guys, does anyone knows about a tool in MT4 form measuring percentage change in price? I have seen in other platforms such tool . one example -> when it is active you just place an arrow on the chart with two points and an additional text is displayed showing the price change in %. I have also...
Good day traders, programmers and friends, I am hoping for the day that I will see the stochasticindicator in a candle format rather than the well known; line format… let thisbe a challenge for the indicator programmers… Thanks to all the members who shared some lovely indicatorswith us.
Hi All, we are trying to integrate demo account and live accounts .The demo account registration form is not throwing any values back such as the username and password.any documentation on how to trouble shoot would be greatly appreciated as we are running out of time.please help
Hello, Im really lost here but I have the majority of my EA working.... the last part of it is to figure out how I move my stop to breakeven once Im up 50 pips... I imagine to do this Ill need to use OrderModify() as well as OrderProfit() but im really lost how to do this... my trade ID is 16384...
Why modifiying in the MACD indicator (as an example) the line : from #property indicator_separate_window to #property indicator_chart_window saving and compiling under a new name the indicator is not plotted in the chart window ? actually noting is plotted !! Thanks for the help.
Hi, I have been raising this issue many many times over few years that why MT4 does not have a "draw trend line with arrow" (I've just found that MT5 has support it). I am very sure that it is a very simply enhancement/coding. If MT4 provides the open source, I will definitely pay for a...
A new Meta Trader 4 integrated open source forex platform is available here: www.openforexplatform.com The platform is capable of integrating with any MT4 allowing you to export data out of it as well as place orders etc. It is developed with C# .NET Visual Studio 2008, making it easily compatible...
Hi I dont know how to set the indicator so that repeats every day (last 30 Days)
Hi I would like to ask you, it is possible to setup OrderClose() on my price not Ask or Bid? When i try to close position on my price i receive error 138, because actually price is different then my. It is possible to setup "pending close" something like pending buy - OP_BUYLIMIT ? Thx for help.
  2 ema (2)
/*[[ Name := 2EMA system-v03 Author := Copyright © 2003, Smoky Link := http://www.company.com/ Notes := 2 ema I use 5 minute on EUR Update on every tick := Yes Positions := Long & Short Enable Alerts := Yes Disable alert once hit := No Lots := 1 Stop Loss := 50 Take Profit := 360 Trailing Stop :=...
sam
Hello, Can we declare variables in a loop, by this way for exemple for(i=1,i=10,i++) { variable+"i"= value+"i"; } Thank you for your help
  Cubic root (2)
Hello, How to take cubic root in MetaTrader ? for example: CubicRoot(8) = 2; CubicRoot(27) = 3; There is only SquareRoot sqrt(4) =2; Perhaps Logarithm function should fit ? Thanks, Edas
double zuizongbuyzhisun=NormalizeDouble(zuidapingcang,Digits);                                   if((MarketInfo(Symbol(),MODE_BID)-zuidapingcang)>zuizongjiange*Point)                                    {                                       for(int i0 = 0; i0<OrdersTotal();...
Hello guys, i used the function in object for have this result: StopLoss_MR=20.00000000StopLoss_MR,F=1StopLoss_MR,1=20.00000000StopLoss_MR,2=1.00000000StopLoss_MR,3=25.00000000 but i have this:StopLoss_MR=20.00000000StopLoss_MR,F=1StopLoss_MR,1=20.00000000StopLoss_MR,2=1.00000000StopLoss_MR,3=25...
hi everyone i would like to know if someone can teach me how to pull the high & low from a day before my open order to put in my EA thanks in advanced B.T.w. anyone knows if by "MT5" exsist Debugging step by step or other way to do it?
hi guys, I need a help of a programmer or an expert. I am looking for a simple breakout EA which has the following options. I would like to set up TP/SL and trailing stop. Select a reference candle or time range, than place pending orders like buy stop/sell stop to the high/low of the candle....
Hello, I'm looking for a way to keep my past trades marked with an arrow ( or something similar) on entry and some other mark where I closed and possibly a doted line drawn from entry to close of the trade, is there a tool that I could use to do just this automatically?
Does anyone know of current issues with MT4? I've tried two different brokers and I cannot complete loading an MT4 demo. When I get to the screen that fills up with green bars, the login and password is not given. As I said, this problem shows up with two different brokers.
HELLO FRIENDS, I AM NEW IN FOREX..I WANT A INDICATORS WHICH TELL BUY SELL SIGNALS AND ALSO TELL STOPLOSS OF IT..SO PLEASE PROVIDE ME BEST SIGNALS... THANKS IN ADVANCE
Hi all! I am watching my mt4 terminal charts and notice that sometimes there are these "spikes" in price. Surely a coder in the mql4 forum has created a strategy to "capture" these profits when the price spikes very high/low, very quickly. These spikes must be created by traders placing buy/sell...
This is an answer, rather than a question. I searched for an anwser for my question and all I found were threads started by other people asking the same question, with no complete answer. I think I solved the problem I was having - so here is the answer for the next person. (I hope I am correct). I...
Dear Coder, i need for help to fix my e.a which can't op_position base on indicator. thks. //+------------------------------------------------------------------+//|                                                     RSIARROW.mq4 |//|          Copyright 2012, Multitrade-International Software Corp....
Is there a way to find out (decode) which indicators and their settings make up a template and/or a custom indicator?