General - page 1499

In MQL4 I have been using "Comments" to display information in the left upper corner. It is 15 lines. Trying to use the same technique in MQL5 does not seem to work. Lines are not replaced, they are added. What I have found in MQL5 is ObjectCreate LABEL. With a heading and a value for each line and
Starting a thread for comments/questions. Thanks. http://rentasignal.com/signal/view/35245
Hi, what is the command to kill a program in MQL5?
We all know that MQL5 does not guarantee the availability of time series data hence our indicator/experts because more complicated with extra codes to cater for cases that the data may be available now but may not be in the next tick. This is especially painful when we have expert/indicator for
Hello, I am searching for an A/D indicator which plot the line directly on the chart window "behind price", as is shown on link below. Does anybody know where i could get it? I can´t find it anywhere, but i think it could be helpful tool, as well as the same with on balance volume.. I would
Ukrainian programmer Andrei Moraru (enivid) is an active participant of the Automated Trading Championship beginning from 2007. Andrei had already come in our view at that time and now we have decided to find out if there occured any changes in his attitude towards trading and selection of trading...
I have this entry function, but it keeps returning lot size=0....any guess? //+------------------------------------------------------------------+uint entry(string ins, ENUM_ORDER_TYPE type){//+------------------------------------------------------------------+      CMoneySizeOptimized* lotter=new...
[Deleted]
It costs me a lot more on my Internet bill than i get as payment for agents testing. So if I cant even break even why should i participate?? Some one should address this issue.
Hi, I install several agents without any trouble. Now I want to add new computer into cloud network, which is running at quad2duo cpu with 8GB ram, but running at virtual machine (with windows XP), because main machine's OS is linux. There is no MQL5 cloud network and schedule tabs in manager....
Code: bool ma4 = 0; // value 1 == Cross signal if(ma1[1] < ma2[1]&& ma1[0] > ma2[0]) ma4 = 1; Alert("Cross signal down"); Hi, I want my code to print/alert only one time in the journal when ma4 is still in value 1. Right now my code is printing alot " cross signal down" when ma4 = 1....
Hi Guys Are you all able to modify this indicator? I would like to add levels 0.2 (overbought level), 0 (neutral Level), and -0.2 (oversold level) that gives me an alert when the indicator reaches these levels. If possible, I would like an email as well...
Hi, Is there an EA which can set the stop-loss (or better trailing stop-loss) to current price as soon as the open trades reach a per-defined PROFIT Level. Thanks
Hi traders and computer programmers! I am a junior forex trader and my trading strategies are mostly focused on the spreads between very correlated currency pairs and other asset classes (S&P, gold, dax etc.) I mostly work on the AUDUSD NZDUSD pair, cable EURUSD, GOLD AUDUSD, etc.. What I...
I have these manual trades. And I want to have an EA to trail these trades. My question is, is this possible? I was wondering to code something using objects from the trailingstop class, is this correct approach?
  Easy trading  (10)
ppl make trading way to hard on them selfs im going to post my trads for this week/ day had late start this week my trades just for thurs ERU/USD +211 GBP/USD +87 USD/CHF +184 Total=482 all trades open and closed within one trading day (like i said ppl make it to hard) i will post all trades from...
  About Alpari Uk  (1)
Hi Friends I am spanish, and Alpari Uk customer, and i dont know when Alpari will offer us the possibility of using MT5, if somebody knows when Alpari Uk will offer us MT5 for a real account... please say me. Regards
Say I type in the editor, SymbolInfoDouble(.... and I want to see the MQL5 reference for this...is there a shortcut? Currently I keep having to go to the tabs, which is very cumbersome... thx!
In the second week of the competition, the Expert Advisor of Sergey Nikitin (VNIK) trading on two currency pairs EURUSD and EURJPY got featured on the very top drawing away from the rest. Multicurrency Expert Advisors always attract attention in the Championship, especially those that show good...
I have created a small EA which has manage to successfully sends a pair of buy/sell stop orders correctly. Now, if any of them gets triggered, the other pending order is deleted. I use the above commands, but they are not working. PositionsTotal() keeps giving me zero, and positionSelect() keeps...
Hi, I'm starting a new thread to share some trade signals. Usage is very simple, just follow the pictures. Example from yesterday: Another signal that is usefull to follow is GOLD In case you have any questions, feel free to ask.
Hi, I cannot understand what's going on in MQL5 with regard to global variable values. According to the MQL5 blurb......... A variable declared outside all functions is located into the global scope. Access to such variables can be done from anywhere in the program.These variables are located in...
void OnStart () { //--- CSymbolInfo *mysymbol= new CSymbolInfo; Alert (mysymbol.Name()); return ; } I tried declaring the csymbolinfo object above, but its still nothing. Any help appreciated
Hello, This is a very strange EA someone sent me, I tested it with the demo account and it works , but only for the EUR/USD and only if using small amounts of money (small amounts as a percentage of the account balance), it only works when there is good volatility, but not too fast.
I have this simple piece, but I found this difference on the tester. Can I use symbolinfo object during tester? Or is it this object only applies to current? #include <Trade\SymbolInfo.mqh>CSymbolInfo mysymbol;Print("Obj Price = ",mysymbol.Ask(), " Price= ", SymbolInfoDouble(Symbol(),SYMBOL_ASK));...
Can anybody help to code the exit? The rules are: Stop Loss is a fixed number of pips (is realised) Take Profit: Take Profit 1 should be a fixed number of pips and close ¾ of the open lots Take Profit 2 should be either a fixed number of pips or should close the trade at a given time at the same day...
[Deleted]
Hi I took the basic code from IBFX scripts ( just like a template) and modified to use with my scalping idea. For some reason ( not surprisingly , since i am not a programmer in mq4) it does not work all the time, getting stuck somewhere. And MT4 does not have a debugger. It works with 1 pair ( i...
I have a library "Logger" that has its main function "Loggit" This is code that comes from MT4: #property library #property copyright "Copyright 2011, Maieutic." #property link "http://www.maieutic.com" #property version "1.00" #include <stderror.mqh> string ErrorDescription(int...
Please give email address for possible but reporting. the mt5 terminal gets closed and the debugging mode exits. build 527 I am having a strange problem. when I step through the code "F10", and reach the line double Y=0.0; in the following loop for( ushort i = 0; i &lt; n; i++)...
Yesterday, I faced the problem. MetaTrader publisher didn't work regular mode. (Correct settings ). However, it started to work when I turned on passive mode. What is a passive mode? And What is the difference? Regards, Josef