MQL4 and MetaTrader 4 - page 720

Hi all I am trying to build a script that allows to send several pending orders (as a batch) for several pair but have not been able to find how to make it work. This is what I have: int start()   {     RefreshRates();    while( IsTradeContextBusy() ) { Sleep(100); } //----    int ticket=...
  xppivotalerts  (1)
Is there a version that send email along with displaying alerts on the screen.
Hi, are here some people that can tell us (me) about their experience with running mt4 on (vps) either KVM with Windows || Linux+Wine or directly Linux+Wine compared to either WindowsServer: crashes, updates, (backtest-) speed, .. Thanks in advance! Gooly
MetaTrader 4 platform update is to be released on Friday, September 26, 2014. It contains the following changes: Support for mobile terminals MetaTrader 4 for Windows Mobile and Windows Mobile SE has ended These terminals will not be able to connect to the new server versions. This decision is based...
[Deleted]
Hi Guys,     How do I get the contract value for #nkdz4  USDJPY #CLX4    Is there a function that I can extract the value straight or do I need to do it manually?     ShijiOno 
Hi To whom this may concern, This is only for research purposes and will not used for live trading, the EA is only used for determining a WIN/LOSE ratio in relation to a martingale system Trading Binary options, am looking for a simple answer. We will use an oscillator as an EA, in my example and...
For the intraday every morning we look around the asian session before the european start and at the beginning of the european start for example there are 45 pairs in total http://stock.rbc.ru/demo/forex.0/intraday/index.rus.shtml ( not much for analysis but enough for analysis ) If there are enough
Hi, I want to trade and backtest a strategy which is only working at a defined German time on the German stock index and there are also times in a day which I want to exclude e.g. 14:30. The german dax is running in my metatrader (Brokertime) -at summertime from 6 - 20 o’clock  >> German time = UTC...
OK, so having spent weeks messing around with different data and getting different results, I think I have found a good way to test my open prices only (once per bar) EA. Please note that I do not believe I need tick data for this testing as it only works on m15 open bar prices, once per bar. Step1:...
I am writing my first code and ask, is there any reference to code a " Close an Order When conditions are Met. " An example would be when a open order reverses and meets a moving average ! Thanks to any help
bool clbuy,clsell;//+------------------------------------------------------------------+//| Close Signal                                                     |//+------------------------------------------------------------------+void start() //CloseSignal(){      if(OrdersTotal()>0)      clsell...
Hi,   I'm asking for comment or conceptual comment on the changes in Mt4 (600+) regarding the OnTick() versus Start() command, reaching beyond the limited help file details I've found.  Not expecting specific answers below in every case, but to try to explain the confusion I'm finding if a couple of...
hi, i am new in forex and also in this forum.i dont what to do and how to do? i have seen adds that posting on forum is a source of earning dollars.please somebody help me.
  Code Check Pls!  (3)
Hello dear Coders, could you please confirm whether or not the following code, which i conceived in the night in bed, will extract the pair, which is not from the chart where this EA is placed but has the same magic number as the pair of the chart? bc_cnt and sc_cnt are the buy and sell counts of...
How do you find the current indicator width? I want to preserve the changes rather than go with defaults.             color tmpcolor1 = indicator_color1;            color tmpcolor2 = indicator_color2;            color tmpcolor3 = indicator_color3;            color tmpcolor4 =...
  Serious Bug in 7.11  (16   1 2)
My MT4 got updated by broker to 7.11 and for some reason it does not work and I cant figure out why. It just keep looping somewhere, does not display any error and in general I must remove my indicator and restart. ( I suspect some memory problem) All prior releases i.e. 6.70 did worked a OK. Is
Hi All, Is there a way to go to a specific point in chart based on the technical value/pattern (with option of moving onto the next pattern) For ex: PSAR moves from below to above the existing price on 01.09.2014 and the same pattern occurs on 03.09.2014. Initially when i run the code, it
  Goodbye robot - hello marasmus  (160   1 2 3 4 5 ... 15 16)
Hello forum users! I'd like to say goodbye to my Don Quixote. has decided to run the mills again and I have to accompany him! As far as robots and automatics go, every boild ...it's getting worse, only it was 625 and now it's 670! It's getting worse- it's not working anymore! calling the script
In my EA, I am placing a pending stop order to enter based on indicator criteria. If after placing the pending order, price moves against me, I want to modify my pending entry price to the high/low (depending on Long/Short) of the last bar. I am getting errors 4108 and 4501 and can't figure out why....
New article MQL5 Cookbook: Handling Custom Chart Events has been published at mql5.com: This article is a logical continuation of the article MQL5 Cookbook: Handling Typical Chart Events. It covers methods of work with custom chart events. Here the reader can find examples of developing and handling...
[Deleted]
  Divide problem  (1)
Hi, I have a problem with a divide. I hope someone could help me.   //---- indicator settings #property  indicator_separate_window #property  indicator_buffers 4 #property  indicator_color1  Yellow #property  indicator_color2  Crimson #property  indicator_color3  OliveDrab #property...
Hello, My MT4 platform with a broker is blocked after the first MT4 window appears, no button can be used (like "files" etc.). There is no connection with the server and the memory of the PC is filled completely! The support told me to uninstall MT4 and install it again, but Windows says that I...
Hi,  I have written an indicator that sends email alerts based on some logical condition. I apply it on many currency pairs simultaneously. Since i want to monitor the markets permanently, I added to the window xp scheduler a task to run and to close the metatrader platform with a given frequency...
  Higher Time Frame Indicator  (11   1 2)
Can someone tell me if it is possible to add a 5 min MACD to a 1 min chart and have it look as if you where looking at it on the 5 min chart? By simply changing the timeframe to 5 with in the code yields the desired look on initialization and when I change to a higher timeframe chart and back to the
The Range bar indicators I have found (so far) makes use of an offline chart to display. How do I combine this with an EA? Attaching the EA to the offline chart? Sounds logical but I have my doubts. And I really like to have one year of data for backtesting
  Build 711  (1)
There is a problem with this version. When loading your own EA's and Indicators in a couple of minutes it hangs up/go dead. Are you working on sorting the issues out soon?
It’s impossible to know floating spread . How to pending  buystop with Bid price ? Thank you
[Deleted]
hi ;) first i want to say thx for so much input all of you gave me, my english is bad sry for that ;) i was reading here for years, finally i registered an account, because i got a problem and i think i need your help. im not using the mt4 strategy tester, i calculate the trades and the results "on...
[Deleted]
Hello everyone, I tried to improvise the SuperSR 6 a little bit. However, when I insert my code, the Metatrader stop working. I struggle with this problem for a while now, yet no idea why. Please help me. Here is the part has error:    double gap;   double contract=(Contract_Step + Precision) *...