Prevent ordering of a new trade within same candle after having closed a trade in that same candle
(6)
Hi all, I'm using the below code to prevent any new Order from being sent if there is already an Order sent to server within the same candle. This code works fine...... <SNIP> similarly i substituted the lastorderbartime to lastclosebartime hoping that i could use the same code to prevent a new...
[Deleted]
j ai téléchargé un ea basé sur le croisement de deux moyennes mobiles et je souhaite y ajouter un multiplicateur de volume ; j ai essayé mais pas de resultat
Hello MQL4 forum, {OrderModify(ticket, 0 ,Ask- 500 * Point , 0 , 0 ,Blue);}}}} The code above works, but moves the sl up or down as the ask price moves up or down. I tried this, as a solution... {OrderModify(ticket, 0 ,OrderOpenPrice()- 500 * Point , 0 , 0 ,Blue);}}}} (the order being selected is a
Below, after the start function , in the for cycle, i am triying to calculate increase/decrease ratio of bars. the bars from 1 to 48 . you will see red sections for calculations. result is always zero. why? i have tried braces. <SNIP>
Hi, I'm trying to get an MQL4 program to talk to a C++ program via memory space instead of file handling. I have run the following example successfully: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366551(v=vs.85).aspx Now i'm trying to port the "second process" to MQL4. I'm trying to...
Does someone know a good way to convert price<>coordinate on chart somehow please? I have found very good code here capturing coordinates of mouse but nothing yet to convert x,y mouse to price. Any help is appreciated
Hi guys, i'm begining to make my owner expert advisor but i'm blocked in some instruction my question is what is the instruction for re-opening the last trade in the history help me plz
Hi I need help to add options to this EA that makes it open position on each signal. I dont want to open only one buy and only one short posiotion. How to do this ? //+------------------------------------------------------------------+//| This MQL is generated by Expert Advisor...
How To Make Max BUY Order and Max SELL Order. if want Open Position in One Pair, 1st Signal is Open BUY and next Signal Open SELL in One Pair. thanks
(11 1 2)
//+------------------------------------------------------------------+//| This MQL is generated by Expert Advisor Builder |//| http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ |//| |//| In no event...
[Deleted]
Is there a guide/article for converting data and functionality of hist csv txt fxt files?
is it possible to receive signals from mysql database using php auth file? I'm looking for information about storing trades into mysql and provide as trading signals ...
Hi, does anybody knows an sample EA or a dll to integrate for sending EMails without the SendMail-Function from the metatrader? Lot's of thanks, sunshineh
Hi all, I've been trying to write 2 separate codes that simply do the following: The first code: * checks particularly whether a new PERIOD_H4 bar is formed with an alert, with the option to change it to any other timeframes if needed. The second code: 1- places a pending sell order if:...
Hi everyone! I am using MT4 demo with FXCM and would like to know where on the MT4 platform I can find the rollover percentages. Also if you have some opinions about working with rollover to profit I'd love to hear about it. Thanks everyone.......... Seth.
hi I am having some issues with my VPS when it reboots for whatever reason, like possible maintenance or an outage. When I log back into my VPS after one of these incidents, I find all 4 of my MT4s at their respective login screens, which means none of my EAs are running. I have tried it various way...
Hi all! Please help me to add further functionality to the command by the predefined signal while the old order still exists. means I have to buy or sell signal to buy or sell signal, now I want it to continue to sell the same volume as the previous order buy sell signal appears or buy if the...
Few lots to buy the index from which I would like to know the loss index is - 10% of the principal. How to create such a secondary indicator?
Good morning, I wanted to ask a question does anyone know how to get historical orders Metatrader 4 in an Excel file type or. Txt to discuss the results?. thanks
I have the forex-metal MT4 and every time I try to open it, I get the error: terminal.exe has encountered a problem & needs to close." It's build 445. I'm running it on Windows XP Professional service pack 3. I've also tried opening the FXDD MT4 and got the same problem. Does anybody know how to fix...
-
Hello; I have completed a preliminary version of a Kalman filter and it is available fordownloading from http://www.gammarat.com/Forex/BlackBoxes/Kalman/ . You will need the three files: 1) GRFKalmanFilter.mq4 - put this in the indicators directory 2) GRFMatrixMath.mq4 - put this in the libraries...
Yes, I know this topic has probably been covered many times, so I'm asking for patience. I've been watching the championship for a couple of months now, and see a lot of articles and talk regarding the capability of MT5 to run a multi-currency EA. So my questions are all based around that one...
Preliminary Announcement of the New MetaTrader 4 Build 449 New MetaTrader 4 client terminal is being prepared for release. MetaTrader 4 Client Terminal build 449 Terminal: Fixed calculation of price field width in Market Watch tick charts and trading dialog when using large system font....
[Deleted]
Hello am a new user and have searched but no luck to being able to place a DAILY moving average on a 15 minute or 30 minute or 60 minute chart. I was a long time user of CQG and found that indicator VERY useful but have yet to find one that I could use on a lower time frame chart. I just want to see
Using MQL4 language, how can I get the value of MA in seperate window where RSI is? Normally I know how to get MA value in chart window. Sometimes we need some indicators like RSI. Normally we put RSI in a seperate window, other than chart window. I need get MA value of that RSI which is in a...
[Deleted]
Hello, my Broker (ECN) allows scalping. So, I get this Info for MarketInfo MODE_STOPLEVEL: 0.00. It is a 5 digits Broker. BUT when sending orders I get the very known error message: OrderSend Error 130. These are my Commands: OrderSend(SYMBOL_MAIN,OP_SELL,0.1,Bid,30,NormalizeDouble(Bid + 15* Point,...
My EA is not running in StrategyTester. After pressing start nothing happens. The journal says“loaded successfully” and nothing else. I am testing on H1, every tick, using dates Dec 1, 2012 - Dec 20, 2012. I have also tried daily, open prices only and all dates. When I place the EA onthe chart...
[Deleted]
Hi, I am wondering if testing EAs on past data using the strategy tester application is reliable? The problem I have is that I have both a live account and a demo account. I did all my testing on the live account strategy tester, but when I ran the same EA on the demo account tester I get different...
Hi, I am all new to this MT4 and automated trading system. Is there any user guide or FAQ session that I could refer to? Besides, what exactly is trading signal subscriptions ? Thank you all in advance
I've developed an EA - the latest of many! - that I'm checking in the MT4 Strategy Tester (build 445). The strategy is essentially grid-based and not affected by spread changes to any noticable extent. For speed, I've been back-testing on the M5 timeframe and using the "Control points" modeling...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.