Hi everyone, is there a magic number for manual orders? some on this forum have a view that by default it is zero. is it so? is there a reliable way to identify and differentiate between multiple orders placed manually
What is the magic number of a manual order? Can I assign a magic number to a manual order? thanks
(2)
How? Thank you very much.
Hi guys,i'm new to mql4 programming and i want to make a "sort of" martingale system. Right now the code looks like this void OnTick () { if ( OrdersTotal ()== 0 ) { OrderSend ( _Symbol , OP_BUY, 0.01 , Ask, 3
Hi guys hopefully someone can help. I have an EA that should take trades at a certain time of the day and based on a bullish or bearish candlestick but it does not execute anything and there are no errors. This is how my code looks: input string TP = "Make sure its not zero and over a certain amount
MT4 Software Push Notification to Phone App Suddenly Stop Working. Please Help
Great for the current chart. But my EA needs to pull the latest Bid/Ask pair from other symbols. How can this be done efficiently? I am assuming MarketInfo? ex. double NJask=MarketInfo(" NZDJPY ",MODE_ASK);
hey guys can someone please help i have the alerts on my mt4 paltforma and they cant seem to go away as am not really winning on them...can anyone please help. many thanks
I am experiencing a strange problem using iHighest to find out the index of the highest bars. It works for smaller number of bars, but if i test it with large number of bars then its giving me meaningless index value. int val_index=iHighest("EURUSD",5,MODE_HIGH,650,600); Print(val_index); the code
Hello freinds, I need your help. I want the EA to check an operation every two minutes. The simple way is to do: if ( TimeMinute(TimeCurrent()) != 2 && TimeMinute(TimeCurrent()) != 4 && TimeMinute(TimeCurrent()) != 6 && TimeMinute(TimeCurrent()) != 8 && TimeMinute(TimeCurrent()) != 10 &&
Hello, I am trying to solve a problem, but I find it difficult. For example, I want the indicator to be blue only if the current buffer is bigger than the one before or exactly the same size. And red it should be only when the current buffer is smaller than the one before or exactly the same size
Hi there, I was wondering if there is any way to view the stop loss amount in a new order by currency instead of by pips? It is now often totally unclear to me how much I will lose or win when setting a new order. Is there a setting for this? Or a tool? Thanks in advance, Johan
Hi everyone, i'm working on a script that count the trades. Firstly, if there is no trades on the required direction, open a trade. My problem comes at the second trade. The condition for the next trade is being at profit and calculating the total profit. The next trade's risk based on the total
Have traded this EA for 2 days with very good results on a $25000 demo account. Has anyone had longer experience and would like to comment on their findings. FxS Forex - Scripts - Home log in to find that it is the most downloaded EA from their list 10 points 3.mq4 John Edited for update purposes:-
Hello, In mql4 and mql5 documents for SetIndexBuffer() said " After binding, the dynamic array buffer[] will be indexed as in common arrays ". As I tested, this is right in mql5 but not in mql4! When we define double buffer[] it is a common arrays, after using SetIndexBuffer(0,buffer) the buffer
I have a question regrading on the OrderMagicNumber. I knew that we can set a manual magic number in the EA settings to set our strategies. But I counter a problem which is during backtesting which I track down previous order by using for ( int i=OrdersHistoryTotal()- 1 ; i < OrdersHistoryTotal();
Hey guys, If you could change/improve anything on the MT4, what would you do? I'll start :) I would love to see the MT4 to provide a margin calculator from within the platform so I can calculate my used margin before I open a position. Looking forward to hearing your opinions!
[Deleted]
I am doing extensive back-testing on a number of EAs that I have developed and find that the strategy tester runs far too slowly when set to 31 and far too fast when set to 32. Does anyone know where the settings for the speed of the strategy tester are located? I assume that it is a setting in...
Hry guys I would like to know if it's possible to save charts on MT4 because when I finish to mark up my charts when I close the Terminal, and relaunch it all the drawings and markup are erased. Thanks for your help
Hello all, I run 12 accounts on MT4 platform with the same EA but with different options (lot, dimarti, time: H4, M5, M1 etc.) for some months and I would like to analyze the risk and compare the behavior of the accounts now. I often see people post "equity" curves from the backtester and from real
Hi
I use example from MQL4 help file in my code (the same as https://www.mql5.com/en/docs/constants/structures/mqltick). It prints correct time, correct bid, correct ask, but volume is always zero. I even tried to insert 10 sec delay so that there were several price changes between calling...
Hello forum, I am trying to build my first basic EA. I don't have any background in programming and have been trying to learn mql4 on my own. When I thought I had finished coding my basic strategy, my back test resulted in several sent orders. Also, orders would close nearly immediately after being
Dear All; Currently, I have the code of stochastic with the input parameter 5/3/3, I want to have the input parameter is 12/4/4 and more, how is the code, everyone help me //+------------------------------------------------------------------+ //|
Hi all, Has anyone encountered news content not loading on the desktop version of MT4? The topics load just fine: It's the content that does not load: It doesn't seem to be a problem with the account as everything works on my mobile. Would prefer to not always have to check mobile when reading some
hi, i have run into something which is a little puzzling. i am modifying the stoploss of a trade using OrderModify(). i have checked the return value and the stoploss shift was successful and it is logged as something like: 20 : 21 : 28 2010.07 . 16 08 : 10 grapple GBPUSD,H1: modify # 5 sell 1.65
Hello, I want to ask, someone offer job use indicator EX4 only ( NO MQ4 ), and offer create new indicator / ea use the indicator. but it seems decompile file ( see image below ) If a developer apply the job, it will in "Applying for decompile Job" category ? Thanks for answer
Hi, Im very new to MQL4 and programming in general. Im looking to create an ea that opens 3 currency pairs at a time EURUSD - EURGBP - USDJPY, each with different lots sizes. The way I would like to open is if the EURUSD is above the 20 MA then it opens a buy on the EURUSD and a sell on the EURGBP
Do anyone has any indicator to get the real time volume of candle for MQL4 terminal? Or can anyone help me on how I can get the real time volume data in MQL4 please
//+------------------------------------------------------------------+ //| iFx TREND Detector.mq4 | //+------------------------------------------------------------------+ //#property copyright "2005-2014, MetaQuotes Software Corp." //#property link
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.