[Deleted]
Hi, when I place an order I tend to then immediately modify it by the same number of pips each time for stop loss and take profit. Is there a way this can be done automatically so the parameters on in place as soon as I place the order. Thanks
[Deleted]
Hi all, can u please help me with my problem? I read all lines from csv file to array. Problem is that when i read the last line all array lines change with this line. void ReadFile() { int cmd = 0; string str = ""; int handle=FileOpen("TradeCopy.csv",FILE_READ|FILE_CSV); if (handle>0)...
[Deleted]
Dear Friends, in my EA I am using this command: order_ticket = OrderSend(symbol_to_trade, trade_direction, order_size_in_lots, price, Slippage, StopLoss, ProfitTarget, order_comment, MAGIC_NUMBER, 0, order_color); I was expecting that after placing the order there would be a Green or Red arrow...
Hi coders, Regarding OrderSend and this documenatation https://docs.mql4.com/trading/OrderSend I see in many EA's and tutorials including the documentation what appears to be a declaration and initialization of the variable ticket=OrderSend I have been using this syntax as shown in the...
is there this kind function that i can get millseconds not like timelocal() and timecunrent() only get seconds .
[Deleted]
Hi, Does anybody know how to stop the pop up box asking if I would like the following program to make changes to my computer? I click yes and it use to go away but now just keeps popping up every 10 seconds or so. So can anyone give me any advice to cure this please?
Hello everyone, I am putting together a strategy and I want to use previous candle highs or lows as a final filter for entry For example if conditions A, B and C are satisfied at bar close, enter only if the price is above (for long trades) or moves above the last (specified number of candles),...
Hi guys, I've a small problem in coding in script, the code generates a report and keeps the required rows. i would like to display the total traded lots ..
How do I enter a comment on a manual trade executed through the keyboard directly on the platform so it will show up on the terminal? I want to document the particular method per trade that I enter manually. Thanks.
New article New Article Publishing System at the MQL5.community is published at mql5.com: We present you a new article publishing system at the MQL5.community. In the new system, we have tried to make the whole process of article writing clear and comfortable by breaking it into several steps. At...
Hello forum, I like trading a market where the main day session is far more meaningful when it comes to determining pivot levels, than using the entire 24 hour market period. That is, I always manually calculate pivot levels based on previous day session open,high, low, close etc Just wondering if...
[Deleted]
I ample that if there were any flaws in cossack uppers (a primary activate of blisters).men louboutin sneakers No abruptness there: The those at Teva acclimated their Christian Pumps accomplished sandals to your basal from that abreast eliminates balance akin in my new Teva Challenger boots, this...
New article Kernel Density Estimation of the Unknown Probability Density Function is published at mql5.com: The article deals with the creation of a program allowing to estimate the kernel density of the unknown probability density function. Kernel Density Estimation method has been chosen for...
Hi there =) I am looking for a broker offering the widest variety of instruments :-) Which one would you recommend? I would like to trade... - Most uncorrelated currency pairs - Stock indexes from all the world - Sovereign bonds (Tbills and European debt) - Commodities: Gold, silver, copper, rice,...
Dear all, there is an indicator in mind which should draw lines in the chart window and also in a separate window (because line levels are totally different). In the chart window trigger lines should be drawn and in the separate window a conclusion of combinating the trigger lines should be drawn....
[Deleted]
Hello, Is there a script that put my EA off or on after reaching a specified margin niveau? Thanks
Hi, after sending a market order without stops I call this function to place SL and TP... both at once but failing that (in part or in full) the stops are to be placed in later passes until both SL and TP are in place. Problem is that I'm getting E 145, not many but enough to indicate there is a...
[Deleted]
Hello MQL4 Community! This is my first post. First, please not that I am not an MQL developer. I am a Trader, who uses a tool for helping me build EAs. That tool allows the use of some MQL structure, but it does not execute on explicit MQL functions. It simply takes MQL code, evaluates whether the
[Deleted]
Hello all, I'm trying like crazy to really understand the optimization process and have run into a stumbling block that is throwing me off. When i run a basic optimization i get pretty nice results, I'm only running a 3-4 month time period just so i can see if I've worked out a few bugs. Now i...
[Deleted]
My custom ExtMapBuffer[] is fluctuating between -ve and +ve regions, For each region, I need to get its MAX/MIN strokes - for the visible bars - in order to be used as EXIT for SELL/BUY positions. Any suggestions?
Dear all, I am looking for a guidance how to print MT4 historical charts "by one click". I need to print out 5M EURUSD chart since 1 January 2011 for manual backtesting. Could you please help me the easier way than single screenshots? Thank you a lot.
GetLastError() returns 0 which means NO ERROR. So, why does OrderSelect() failed? Did anyone encounter this problem?
i want to know 1/ if start function trigered by ticks, if we can get every ask/bid value from server, 2/ if get ask/bid value by markitinfo(symbol,mode_ask/bid) function,is it same by use ask/bid directly, is there some value missing ?,and may it use more time to get the value,may it get...
Hello everyone, hope someone might help me to understand the meaning of "Lookback" and == I was looking at an example in the code base and this newbie is not familiar with these basics yet In this example: if(Close[i]>iMA(Symbol(),0,Lookback,0,MODE_SMA,PRICE_HIGH,i+1)) If the Lookback value was...
[Deleted]
Hi everyone, I have some (easy) ambiguity with function iMAOnArray My basic code is below. When I run MT platform, function Alert() write value function iMAOnArray, but this value is error. Return value very big number= 2147483647. When I do then compile again indicator code - Alert() write value...
[Deleted]
Hello, so i am not gona be asking your knowladge for free. I have bunch of EA's coded by my self, and all of them ar missing one MM thing. In case of lack of time at the moment for learing, i need some coders help by adding orders counter. Ok so i'll try to use my english as best as i can to explain
Here's a function that checks to see if there is an openorder. I'm a rank beginner at coding in MT4 so I welcome your comments. But itdoes seem to work. bool NoOpenOrdersExist() //True when no open order, False when is open order{ int total = OrdersTotal(); for(int i = 0; i < total;...
[Deleted]
How can I get the previous order type ? Is there such a build in function or sth. ?
[Deleted]
Friends, While running my EA, I am getting a message in Journal as "22292: Ping failed" where 22292 is login id What is the meaning of this?
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.