I'm trying to make the indicator send a signal when it arrives on the 8 alternating candle, does anyone know where the error is in the code. Then I would like to place when I get to the 8 candle alternating a graphic sign below or a square like in the photo to be able to analyze past graphics, I am...
[Deleted]
Hi guys! I've developed my own Trading System, but I don't understand this: in the result tab under the Strategy Tester, there are some orders where the columns "Balance" and "Profit" haven't data. I post here an image. What I'm wrong? Thank you
Hello everyone, I am new to MT4, just started to trade with it for 1 month. If i would like MT4 to send alert to me (by email, by alert sound, or by sms to my mobile) when my account balance reach a certain amount of profit or loss (says usd 100 profit or 80 loss), is it available to do so? If yes,...
Hi. I had this EA developed and can't get hold of the developer for help. The EA works great. All it does is opens a opposite directional position on a certain amount of pips on a specified currency. But when I close the position created by the EA and the original 1st position is still open, the EA...
Guten Tag Ich habe zwei fragen und hoffe sie hier beantwortet zu bekommen. 1. Wenn ich einen Expert Advisor Backtesten lasse kann ich bei dem Datum nur zurück bis zum 01.03.2017 alles andere davor gibt mir die Nachricht "no history data avaible" mache ich hier etwas falsch ? 2. Wie macht ihr das...
Hi friends, I've coded to write some variables in different lines in a .CSV file. The file consists of 5 lines. Now I'd like to add some new variable to the end of the second line in my file. I'd like to know if it is possible to add some new variable to the end of the existing line in a file or not...
I'm looking for an ATR dashboard indicator that provides the ATR by hour (HATR) that has output buffers that can be read by another EA. I want to isolate and output the ATR for each individual hour of a day by having it look back a certain number of days. Ideally, the indi would have at least the...
Hi. I recently downloaded this indicator from the elite section and find it really interesting. So now I want to get a bit better understanding of this indicator. It is pretty self explaining but it would be useful to know whats going on when the upper or lower dynamic zone are trending. I.E the...
Hi, Here is my problem. I would like to know how much will cost one lot (100 000 units) for a specific currency pair. For example I have an account in JPY and I want to know how much will cost 1 lot for EURUSD in JPY. Therefore I need to conver JPY to EUR (base currency). Is there a formula...
Hi This error "invalid pointer access" is that I get from this code, any suggestion how to fix it? #include<Arrays\List.mqh>CList lineList;class Line : public CObject {public: string name; string description; double value; };//... stuffdouble p = 100.46;Line *line = lineList...
Guys, I really need your help, I want to create an EA with the following strategy, Open Buy Order when the gap ( in pips) between EMA 20 and EMA 50 is in the range of 5 to 10 pips and the EMA 5 is above all other EMAs, I have tried to create the following code but the orders are opened without...
Any chance that there's a kind person who can help me with the following pls :-) Want some code that closes orders after say 4 bars, regardless of whether the trades are profitable or not. I'm trading hourly bars, so figured if I hadn't hit a profit target or stop by 4 hours, I'd just close the...
Hello, i have a general question tothe Bolliner Bands. when i use the Bands in my EA BBHandle1h=iBands(_Symbol,PERIOD_H1,20,0,2,PRICE_OPEN); is this Band repainting? Main Line, Upper Line, Lower Line? and even, when i do the backtest on M5, is the Expert calculating the H1 Price? thanks amando
Currency : Any Time frame: 1 HOUR Indicators: : StepMa (Kwatr settings changed to 2.0), Macd Dot (12,26,9),Zig Zag, Let's İmprove it
Hi there Was compiling some code which had 'not seen light of day' for long time and [of course] got a few variable not defined errors. They were for stderr.mqh identifiers which I had modified ages ago to get length <=31. (many moons ago too, I shouted politely [hopefully;] at support rea: >31...
Hi https://www.mql5.com/en/docs/standardlibrary/datastructures/clist/clistdelete indicates the benefit of enabling the memory management flag. How can I set it so that the memory used for the deleted element is released. I could not see that in the example code. Thanks
I just started using MQL5 today on MetaTrader 4. I use the app exclusively so I have developed a EA which will push notification to my device when an order changes from a profit to a loss or vice versa. Please let me know what you think, any advice is appreciated!...
[Deleted]
ObjectCreate(NULL,"calc_winOutput",OBJ_EDIT,0,NULL,NULL); ObjectSetString(NULL,"calc_winOutput",OBJPROP_TEXT,"0.000"); ObjectSetInteger(NULL,"calc_winOutput",OBJPROP_BGCOLOR,clrLawnGreen); ObjectSetInteger(NULL,"calc_winOutput",OBJPROP_FONTSIZE,12); ObjectSetInteger(NULL,"calc_winOutput"...
Hi All, Im having trouble with an Auto News filter.Im sending the code - what is wrong is that after installed and no errors occur, when attached to chart generates error, but does not show error code, also the url is added to the menu....
I want to know how I can write code in my EA where I use the data delivered by one indicator (iWPR) to act as the data source for another indicator (iMA). Can anyone please assist? Will be very grateful!
Hi friends, I'm going to do a backtest on my EA using the strategy tester and simultaneously I've put my EA on a demo account to check its operation for the purpose of doing forward test. Now I'd like to analyze the operation of my EA by exporting the detail of the trades existing in the trade...
Hi Is there a way to fire an event when the user manually draws (or changes an existing) either a trend line or horizontal line on the chart? I find doing a for loop over ObjectTotal() inside the OnTick() is too much CPU effort for this task. Thanks
I want to read a csv file on internet.. currently I download it and read it from there, but is there a way to read the file from the internet without downloading it?
Hi The below code gives the error "structure have objects and cannot be copied" any suggestions on how to get it working? class Line { public: string name; double value; }; int OnInit() { Line lines[]; proccessAllLines(lines); return(INIT_SUCCEEDED); }void...
I have MetaEditor version 5 build 1601. I like to have a keyboard shortcut for the Compile button instead of reaching for the mouse. Any suggestions? Thanks
The indicator sets a number of candles to come in favor ex: you want 3 candles of the same color and when you reach the candle 2 it opens an alert. I want to change to open an alert in place of candles of the same color alternating candles. Ex: original indicator: green - green - alert - Green *....
[Deleted]
Init Rant: I made the terrible mistake of going to the Molanis forum and actually asking some questions about their product. It turns out that asking simple questions about their product, gets your post removed by the Administrator for making "commercial announcements." I thought that was
Hey, so this is what I have so far: void OnTick(void) { openedpositions=OrdersTotal(); if ((openedpositions > 0)) { int totalorders = OrdersTotal(); for(int i=0;i<totalorders;i++) // scan all orders and positions. .. { OrderSelect(i, SELECT_BY_POS); if (...
Hi This code failed to print out the price where the horizontal line is drawn, instead it is reporting 0. Any idea how to fix it? Thanks void OnTick() {//---int obj_total=ObjectsTotal();for(int i=0;i<obj_total;i++) string name=ObjectName(i); int objectType = ObjectType(name); double p =...
Hi, I'd like to know if there's a possibility to import orders (in particular sell limit and buy limit orders) into mt4 using Excel or from an external PHP page. It will be good also through a plugin. Thanks

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.