MQL4 and MetaTrader 4 - page 209

Can chart objects be created, modified or deleted in a VPS
Hi, I have already some orders with tp and sl. But I want to scan all orders and modify ONLY tp=0. Here is my code. void TP_zero(){ for ( int aa= OrdersTotal () - 1 ; aa>= 0 ; aa--) { if ( OrderSelect (aa, SELECT_BY_POS, MODE_TRADES)){
  V1N1 LONY Breakout 5.10  (33   1 2 3 4)
Automated trading system for breakouts in the London and New York sessions, which considers trading ranges formed during the Asian sessions. This EA can be optimized to work with EUR, GBP and USD pairs, on the M15, M30 and H1 timeframes. - Recommended minimum deposit is 1000; - This EA requires...
Hi, i'm new to EA, i tried to code an EA that take position when stochastics are above or below 80-20 zones and when H4 candles cross moving average... but there is a bug on the code, it doesn't take any positions. I think, it's the part with all the loops and the orderselect extern double lots=
All my Market indicators are disabled. All of them (7). None is paid for, they're all free. MT4 required a login, I did it. So I found one of the indicators in the Market tab and there is only the "Open" button. When I click it, the indicator is highlighted on the Navigator. But I can't drag it onto
  RSI EA
I wanted to share an EA I have and see if others could improve on it. I noticed that it is only buying. I will continue to share these projects if people get involved in the process. I would like to add a trailing system and hidden tp and sl. I had someone add the trailing system but I wasn't
  concept of time  (3)
Good evening, I would like to take a signal as soon as the stochastic crosses but I would not like the position to be taken if the signal has been present for one minute. Do you know how I can add this notion of time? Thank you in advance for your answers
  Array Minimum Calc Error  (11   1 2)
Hi all, i'm trying to calculate the minimum value of an array but the following error occurs: EURUSD,H4: incorrect start position 0 for ArrayMinimum function Please find below the code that i'm using: int ArrayCalcMin() { datetime Timeorder=LastOrderTime(); datetime Timeahora= TimeCurrent ();
Hi. Please help me with change a bit a code of indicator.   Here I try to put a commend. So when DTOSC crossing and change for SELL/Buy  I would like to show a text on terminal Sell/Buy. I need only this monit as a text. I'm not intersting especcialy about how Dtosc looks. Only when is sell then...
hello, i am new to MQL, but i have knowledge in Python, C# , Web Programming Language. i want to try build a Metatrader chart based on Broker Websocket tick stream, and convert it to metatrader, is it possible ? if yes what should i learn to convert it, or any documentation or article to convert a
Hi All, I'm pretty new to MQL4 and I'm learning to code an EA on my own. However, I don't quite understand why my orders are opening at a price way higher than the pips on the charts. Can anyone explain to me please? Thank you in advance :)
[Deleted]
Hello everyone, Just wanted to see if there was a mt4 chat room out. Thanks, MSquared
Hi, i'm using OrderModify to change TP and SL of floating orders but I need a simple idea to make this happen only once. Right now I had to put SL as 0 when I open the order, so when I change it and gets a value, then it stops... but i'd like to use another thing to make it dynamic (similar to
Tested with curl command
Hi, Need help my EA opens lots of trades in one bar grouped together? and the warnings on the code how do I correct this
Hi, I really need help to convert this indicator into a separate window histogram chart. At the moment it creates the green and red buffers on a chart window - th problem is the buffers are not easy to read on a program called fxdreema which i am trying to use. My expert advisor builde is not able
  Help  (2)
Hello everybody, I think I stepped into a fraudolent broker. I still have my MT4 account, but he has control of it, is there a way to withdraw or move monay to another account? Thanks for any help you could provide. Andrea
RaptorUK told me to not double-post. I understand, but wanted to make a separate thread since I see this as something particularly easy for MetaQuotes to fix if they so desired, and an important subject that IMHO affects sessions, news, pivots, etc., so my original posts can be seen here
I used below to get number of bars in GBPNZD monthly chart, it only shows 131 bars. int numOfBars = iBars (symbolList[i], PERIOD_MN1 ); However, when I used below code to get chart's maximum bars, it shows 266 bars. long maxbars= TerminalInfoInteger ( TERMINAL_MAXBARS ); I tried to get close value
Hi guys, I'm trying to make an EA which I can use as a virtual stop loss. I essentially want the EA to close any positions of the current symbol if it hits -1% without the use of conventional stop losses as my broker keeps giving bad slippage. The code I wrote doesn't seem to calculate the current
  spread  (5)
hi i wrote this , but it dont shows me real spread, why? Comment ( "SPREAD =" + (Ask - Bid));
  Indicator Miscellaneous Questions  (151   1 2 3 4 5 ... 15 16)
Hi, #Broker Time I spent few hours for reading some comments, but I did not figure out how can I set my Broker Time to my indicators / how can I set my indicators to my Broker Time . (maybe I confused) My Broker Time starts from 01:00 , but all my indicators works from 00:00 . So how can I solve
  order send  (1)
why it dont send a simple order, i tried many ways but nothing void OnTick () { OrderSend ( Symbol (),OP_BUY, 0.01 ,Ask, 0 , 0 , 0 , 0 , 0 , 0 , 0 ); }
what can be the problem? i try to download price from history center but steel not let me befor 2020.12.16 thanks a lot
Hey all. As the subject title shows, I'm looking for a way to improve MT4 desktop platform's scaling mechanism. It can only scale up to 50 points vertically, and it's still difficult to read the chart's pattern properly, Is there a way to improve it's features further? Also I'm open to learn about
[Deleted]
  A question for MQL experts  (178   1 2 3 4 5 ... 17 18)
Do you know if it is possible to create a timer with a set of standard functions "start", "stop", "reset" using MQL
When I try to import a csv history file to history center it automatically duplicates every candle. the format of csv file is correct and the same as the exported file from MT4
Hello guy! Huge respect for all the good hearted people who help the newbees. I searched 4 days for a solution but I couldn't find it anywhere, either it is an advanced code or I am to blind at this moment to find it. So, I want to code a complex (from my point of view) EA and I'm stuck at sending
#property copyright "Candle Pattern" #property link "https://www.mql5.com" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 8 //--- indicator buffers input string n1= "------------Engulfing pattern----------------------" ; input bool
I just needed to download MT4 APP for my PC. At the MQL site, I clicked the MT4 APP but once opened, it always turned out to be MT5. I don't need the MT5 for now. Please where and how do I download the MT4