I'm trying to run mt4 on my mac using playonmac. Every time I try to install I am prompted to enter proxy server details. Surely proxy server shouldn't come into it. Does anyone know how I overcome this problem
Hi, Anybody recommend a good indicator that will place an order on a trend line. Thanks
Hi All, I am writing select data on my trades to a .txt file. My EA operates at the tick level. I calculate the current server time at the minute level = CMinute. At minutes 5,15,30,45,59, I want to "write to file" only once during that minute. I am currently posting, say on CMinute = 15, from 5-30
Hi All, I would like some code or function to get the Factor for any currency pair. I would use the factor to calculate the dollars of Profit/Loss for any given Lot size. For Example: Currency: EURUSD Lot Size: 1.0 Pips Move: +100 CalcDollars = 100 * (Factor @ 1.0 Lot) If calculated Factor = 1.15
Hi... I'm a newbie just starting out to learn MQL4.. I'm trying using an existing OrderClose function to close half of my trades once my order has traveled in my favor 1x the ATR of the bar before the OrderOpentime(I used a iBarshift function), I've get the code to print out the value I was looking
Hi All, I am trying to setup a trailing stop for a grid which includes a series of orders (long and short) for the same cross. At the moment I can manage for the grid to close when a certain profit % has been hit, however what I would like to do is to create a sort of moving profit target loosely
HI im having a bit of problem im facing these errros ';' - unexpected token )' - unexpected token 'stopp' - some operator expected if any one can give hand i will be thankful void opennew(int ordertype){ RefreshRates(); double openprice=0; double closeprice=0; double stopp=0; double
how can i get inform with a notification when the indicator appear
how to open more than 99 chart in the same time
Hello Forum, my newbie understanding is getting me into trouble with this code and I desperately need some help after going in circles for hours. I am trying to adapt the fractals indicator to include additional buffers that draw arrows on the chart when price closes above the current upper fractal...
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from previous close? or
Hi I cant find what Ive missed in this coed. Im trying to add another MA to Williams Alligator but it wont compile. I get three undeclared identifiers What am I missing? THanks + regards /danerius //+------------------------------------------------------------------+ //|
I have spent quite some time studying artificial neural networks in various configurations and representations. Undoubtedly, this is one of the most progressive and promising directions in science (despite numerous drops of interest in it due to subjective and objective reasons). However, to date
Hello Foum, I use different timeframes in an indicator to make some calculations. At the moment I use all timeframes by creating two arrays like these: string Timeframe[] = {"M1", "M5", "M15", "M30", "H1", "H4", "D1", "W1"};int TimeframeNo[] = {PERIOD_M1, PERIOD_M5, PERIOD_M15, PERIOD_M30, PERIOD_H1...
The MetaTrader 4 platform update will be released on Friday, September 13, 2019. The new build features the following changes: MetaTrader 4 Client Terminal build 1220 Fixed occasional slowdown caused by operations with a large number of graphical objects from MQL4 programs. Fixed passing of
hi guys. i'm coding with mql4 and i need to solve this problem. check 2 currency(such as 'usdchf') in terms of different between low and high in 1 hour period and show these differences with bar chart. if price different between of first currency and second currency is positive bar color must be
Hii Guys This is my first ea,.. It should delete any bending orders after hitting the target,.. i surrender ... i do not know why it does not work. any help guys extern double Lot = 0.01;extern double Lot2 = 0.01;extern double LotFactor = 2;extern int StopLoss = 40;extern int TakeProfit = 40;extern
[Deleted]
//----------------------------------------------------------------------------------------------------------------------------//Test system #property strict//----------------------------------------------------------------------------------------------------------------------------int
hello guys I have an MT4 indicator, but this is giving me the following error in the source code, as I'm not a programmer I don't understand any of this, the indicator and the All Stochastic mq4. this and the entire code of the indicator, if anyone knows how to solve these error messages, could you
Hi friends, I was working on an MT4 platform for a long time where I made lots of changes in its default setting such as adding new levels to the defaults levels of Fibonacci and changed the color of the fibo levels and even made changes in the MT4 toolbar such as adding some objects to the default...
Hello, I'm developing an EA that needs partial order closing. In the past I've just split the initial order volume into 2 separate orders, but now I'm trying to actually close a part of the trade calculating the amount of lots to be closed. My main question is, the MT4 tester shows anything
Gents, is there a way to display the data in the comments field (of the individual trade orders) on the corresponding entry, sl and tp lines on the chart? With a number of different strategies on the same instrument, it can be difficult distinguishing which chart lines relate to which EAs when only...
Any reason why email alerts have simply stopped working. I use a gmail address and have checked all settings repeatedly but to no avail. Push notifications are coming through on MT4 iPhone app but emails have just stopped altogether. Any body Help please
Hi, I am trying to get nth prev candle's open and display it on the current candle. But my code does the opposite. Puts the current candle's open on nth candle. Couldn't figure out what I am doing wrong. void start() { int i, Counted_bars; Counted_bars = IndicatorCounted();
Hello, i just started studying MQL4 programing, i am working on my first EA, but it wont open any trades. It is a Scalper for the USDJPY , and the premise is simple, it should launch an order if the price is 15 points above an 8 period MA (it shoul buy) or 15 points below an 8 period MA, it should
HI all, I have a bit of an issue with just one broker as it seems that the last EA attached with a chart reactivates itself after havin been closed whenever MT4 is started. A quick example would help: EA is attached and running on one chart. During the day I stop the EA and detach it from the chart
Hi All, I have an issue with the function below. It is part of an EA. When a certain profit is attained for a grid and for a specific cross, the fuction is called and is supposed to close all the current orders and delete all the pending ones for the specific cross. It seems to be working till a
Hi When the ZigZag indicator was "fixed" from v600, it effectively made it difficult to use this indicator in an EA with strategy Tester and optimization, unless you isolate Backstep and don't include this in the optimization. I use Zigzag in my Ea using icustom to call it. And therefore when
It's weird again. I was testing my EA and then suddenly I couldn't replicate the results on the same time range with the same parameters . I wasn't editing the code, just changing very few parameters. Even optimization gave at best only 75% of the previous profits. Why did this happen? I wish I
I don't understand. I have an EA that is working on one symbol, but not the other. I copied the code from the good one and all I have to do is change the symbol and the magic number. The error happens for both buy and sell. For instance, I got this error: " Buy USDCHF at Price: 0.98184, SL