Hi: I need to test some math equations before moving on to the bigger picture. Can I use a keyboard input and a text output for testing
Hi I have an indicator that is stopping with a stack overflow error. I thought maybe because i am using a recursive function so i rewrote it removed the recursive function and i am still getting the overflow error. instead of just using an indicator i converted the code to be an EA added the...
[Deleted]
I have a problem i want to calculate the range form X day like NRangeday=3....50 but i want to esclude the sunday how i can do it?? An example if NRangeday=4 i wnat to calculate the 4 previus range so,began to yesteraday 7 july Tuesday , 6 Monday, 3 Friday, 2 Thursday Because the Day of week only...
Summary of Problem/background: I am trying to place a buy stop order when the price hits a certain price, but I only want this to happen once, however I keep producing pending orders. For example if on "EURUSD" , the price reaches 1.06700 and then places a buy stop at 1.06725. How do I ensure this...
hello, can any one add sound alert lines on this indicator, i really need it so much, thanks. //+------------------------------------------------------------------+ //| EMA-Crossover_Signal.mq4 | //| Copyright © 2005, Jason Robinson (jnrtrading)...
Hey guys, i am new to coding and want to identify when the spread of bollinger bands (upper -lower band) reaches a minimum over the last x bars. Can anyone help me write a simple function that returns the corresponding index value? I declared... void OnTick(void) { double LowerBand,UpperBand;...
Good day Fellow Traders, Could anyone please tell me what is the lot size of the Volume data in the History Center? I cannot find this information in the documentation or online. Here is a sample of the data in the Volume column: as small as 1, and as large as 76765. Thank you in advance. Best...
Hi every body, I bought TrendLinex indicator, I receive the buy or sell signal by alert, but it don't place the order automatically, custom service don't response my request, anyone know how set it. Thank you
[Deleted]
Please can someone share an older metatrader version with me. Not branded please. I need the original version. It would be better to provide me with the folder (clear please with no indicators etc) of it. No setup because it automatically updates. Thank you in advance
Hi Everyone! I hope you are fine. I have a weird situation since the last Mt4 update. When a visual test is launched, the balance/equity graph and the journal stays silent until the test is stopped, if using speeds 31 or 32. Is there a way to make it work has usual? For instance, this is during the...
when iv opened to many orders ,one of theme has a drawdown and i want to hedge it,,,,how to prevent repeating the opposite order more than once??thanks for(int cnt=0;cnt<OrdersTotal();cnt++) { result=OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if(OrderType()==OP_SELL...
According to: https://www.mql5.com/en/articles/1490 I want to check that the tester is working correctly and running the CheckModelling mq4 I want to see ,like in the article, the multiple timeframes and how the tester models them. when I run the CheckModelling mq4 in the tester I only see the...
when i put personalized eas and indincators mt4 becomes more and more slow ( because of the repainting maybe??) , i have to format my computer evry whle , how can i do that clear the mt4 and make it fast again whithout formating computer and my indics and eas stay inside ?????
Hi, I am really interested in how you change the 'anchor point' text labels. I have some code, would upload but don't yet have the authors permission to upload yet. I want to edit the code to place all the text labels on the top right of my charts Thanks
Was wondering as I haven't seen any updates to it. It is a real shame it only seems to allow you to connect to servers in its hard coded list, making it impossible to add accounts from different brokers. or am I missing something? thx.
I am currently trying to develop an indicator that plots a candlestick chart of a spread (distance between two currency pairs of choice). To work out open and close for spread is fairly simple as open and close will always happen at the same time so you just subtract open and close...
Hello,fellow traders and well wisher. please, i want to know if anybody has the idea on how to design a website that will purposely be used for managing forex account for traders such that any trade i perform on my masters account, will be automatically carried out on the mt4 account of my...
Good Day I'm a still learner trader would appreciate if someone can please edit the attached indicator to give pop up and email alerts. Thank You
I would like to change stop pending order price of Binary option. and write below code but does not work. Can i modify pending order price of BO or What is wrong here? bool fm; for (int i=0; i < OrdersTotal(); i++) { if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) { if...
This one is odd. Take the following: MqlDateTime tl; Now, I should be able to type "tl." (without the "") and see what the options are (maybe a better word would be "intellisense"). After the update of Windows 10 today, it has disappeared. This only happens on pre-defined structures within MQL4;...
How can I get the candle number on which the vertical line is drawn? Sorry for my English.
i created an ea that use a bridge to open trade on binary.com . I want to implement a martin gale system or a system based on events . so i wrote this if(isWon==1 || contractFound==0){investment=capital*(3/100);} else if(isWon==0 && isExpired==1) { for(int i=0;i<4;i++) {...
hello, this is my 1st question here in mql forum. im new to coding and sorry if my english is bad as the title says, heres the code for(int i=0; i<50; i++) { currentHigh=iHigh(Symbol(),0,i); previousHigh=iHigh(Symbol(),0...
Hi All, Lately my EA's have been running into the OrderSend error 136 a lot of the time. So I have placed my OrderSend code into a loop that repeatedly retries to send the order up to a maximum of X times until the order is filled. Problem is sometimes even after 10-15 attempts I still get the same...
With the following code I cant see why I'm getting order send error 130? When I test on my broker vipromarkets it is bug free but when I take it to auto validation it returns ordersend error 130. Why is it the first code here works okay with no bugs : if(OrderType() == OP_BUY)...
void start() { //Find Moving Averages double fastma, slowma; double total; bool ticket; fastma = iMA ( Symbol (), 0 , 5 , 0 , MODE_EMA , PRICE_CLOSE , 1 ); slowma = iMA ( Symbol (), 0 , 8 , 0 , MODE_SMA , PRICE_CLOSE , 1 ); total = OrdersTotal (); //Start operations if (total < 1 ) {
Hi,guys. It's first time posting the theme. If I broke the rule, plz tell me. I am a C programmer, and I don't know where the entry point is(it's main() in C). For example: //External,variables extern double LotSize = 0.1; ... ... // Global variables int BuyTicket; int SellTicket; ... int...
Hi All, I am creating an E.A based on IADX. When +D1 is greater then -D1 then it will buy and vice versa. my problem is when i integrate this E.A on chart it directly place buy or sell order based on these condition no matter where current trend is, like. if the buy trend is nearly to end no matter...
Hallo, I want to add my "close all trades" script to my indicator, can someone explain how to add the codes to my indicator ? thanks
I posted this elsewhere, there wasn't much interest, so it should be safe to make a thread of it... The PipsChart indicator draws bars based on the pips movement rather than time, to only make a new bar when price moves far enough from the opening price. This is similar to a Point&Figure chart, but...

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.