MQL4 and MetaTrader 4 - page 1002

[Deleted]
I have been devoloping my own trading plataform in C#. Is it possible to, from my C# plataform, get real time and historical values from metatrader and also send trading orders, receive account info, etc? I am using VS 2008 / C# / Net Framework 3.5. Thanks,
Hi all, EA: I can't get more than 1 long opened position per symbol at a time. So it is possible to open a short position if none is opened yet in that pair. The second order can be executed by EA only if OrderOpenPrice() from the one already opened minus marketInfo() >= Pips_hedging In other words,...
Hello, I am looking for EA coder to hire. Small description from EA: EA takes trades based on EMA and MACD signal. EA needs to be able to look into account history and based on outcome use one of three money management for lot size. EA needs to manage several open orders when market direction has
Vassiliev’s Law. There Is No Chaos Anymore. 1. The Law, discovered by the author, is based on the observation that a price trendline during a trading session on the foreign exchange and stock market may be visually divided into five parts of equal duration. 2. According to the Law, each process...
[Deleted]
Dear all. PLs help me, i need code for: only one trade per signal - event the trade has been close. For example: when EA send signal BUY, trade only one with SL and TP, when the oder hit SL, EA do not trade and waiting to next other signal: SELL. Thank for any help.
[Deleted]
  Expert Logs  (1)
I have been trying to locate an expert log from 01.08.12 but my file has nothing older than 03.08.12. Is there any way I can find them? Why isn't there anything older than a couple of days?
[Deleted]
Hi wonder if anyone can help with this : I have an indicator with a variable that returns a 2 word result la_99 can be (depending on what the indicator returns EMA Bullish, EMA Bearish, SMA Bullish or SMA Bearish. If I put Print (la_99) in the code and compile it puts whatever the variable is into
[Deleted]
how do i write: if the 4 hour close of the candle closes above the the ma. is there a way to specify the 4 hour candle part...becuase the ea will sit on a lower time frame i just dont know if there is a way to code 4h(close(i))? thanks
New article MetaTrader 4 on Mac OS has been published. Apple products have become very popular. MetaQuotes Software Corp. attentively follows the progress of the IT industry and has already released the special mobile applications for iOS-based devices - MetaTrader 4 for iPhone and MetaTrader 5 for...
Hi Guys, I have been working very very hard on this EA but it is missing some features that I would be willing to pay for someone to complete (hope I can say that around here?).. Anyways, the EA is attached and it is MY OWN CODE, again hope I am not doing nothing wrong. I need to add: After the stop...
( Mo vingAvg ( Close - Low , VAR1 ) / Avg True Range ( VAR1 )) * 100 In mathematical terms, you are taking an X Bar Moving Average of the Close minus the Low and dividing it by the Average True Range of X Bars. Then take that result and multiply it by 100. X is your variable.22 trading day
Is there any instruction to completely stop an EA , ie remove it from the graph by a fatal error
[Deleted]
I need to know how to print something inside that chart. How do I do that? thanks
Hello, Is there anybody know a site where I can download data for US stocks? (in CSV format, tick by tick not just open, close, high, low...) So data what I can use in strategy tester for M1 period also. It is not a problem if I should pay for the datas. Thanks, David
Dear all How can I let EA know order A is the stop order of order B? If I need EA to search all orders which have its stop order, and replace them with stoploss, how? (I tried to use magic number but I can't as it can't be updated) Thanks for your kind help. wing
  Exoteric, psychology for trading.  (533   1 2 3 4 5 ... 53 54)
Anyone with experience is welcome here. Share if you don't mind. The topic is a collective desire. It has become urgent. I do not pretend to personal spiritual enrichment at the expense of others :-))
[Deleted]
I am looking for an indicator that's an MA that crosses. The MT4 platform only has the bars. Any help would be great! Thanks
  Martingale again  (101   1 2 3 4 5 ... 10 11)
I propose to discuss one thought on the martingale principle here
I was wondering if it is possible to round up the stop loss or take profit to the nearest number that can be divided by 5?
Hi, can anyone out there please tell me if there is a solution to a bug with MT4 that I am suffering? When I open my charting package (downloaded from ThinkForex), my tool bar menu does not display. Everything else displays normally. I am forced to manually load each of the tool bars on including...
Help please ... if I add comments to an open order, then in an EA and OrderSelect do you can get the comments of the order?. Thanks
[Deleted]
Hi, I am a starter with metatrader 4, maybe you can help me. If a trade only one stock and buy several positions step by step with an SL, my chart will be filled with lines. 5 times long with 5 SL are 10 lines. Now, is there a tool with which I can easily see in the chart: - how large every single
hi guys what is the correct bid / ask usage when closing buy or sell orders: is the correct ? OrderClose(OrderTicket(),OrderLots(),Bid,slippage,CLR_NONE); ----- buy orders OrderClose(OrderTicket(),OrderLots(),Ask,slippage,CLR_NONE); ----- sell orders thanks
[Deleted]
Hello, I'm gathering price from CSV and want to convert it from string to double. The flow is like this: double price = StrToDouble(FileReadString(handle)) When I use Print to show the converted number it gives me correct value. For example 98.567. But when I want to place order with this price -...
Hi, I am trying to make the distance of the take profit the same as the stop loss distance. The stop loss is based on an indicator and I need to get the distance of the open price and the indicator to duplicate this distance for the take profit? Can anyone help me please?
[Deleted]
Does anyone know how to protect ones code when making a self written EA available for commercial use? Could you advise me on how I can protect my code so it isn't copied when I distribute the EA commercially? Any help would be great. I know that when I have bought EAs commercially they show as...
Excuse me, I met a problem and wish you experts could give me a hand. I have made a user-defined function, and I want to assign a shortcut key, for example, alt + space to it. Whenever I press alt+space, the function would be called. Is it possible? Thank you so much!
[Deleted]
  Working with your hands is better  (223   1 2 3 4 5 ... 22 23)
Hello to all the experienced and inexperienced. I've realised that no robot can replace manual work
MQL4 there a manual in Spanish?, If there is, where I can find?. Thank you.