Is there a way to store the chart's corresponding currency's name into a variable?
[Deleted]
After 2 years of research, this is the results of my strategy. I know that BT is not Real, and i will begin to test in Real But it seem quite good, don't think? Any comment is welcome :) thanx! FXAndre FX Champion 2008 Attached the full report
[Deleted]
Hello, i have a DLL which can make use of callback functions. This custom function is called from DLL on specific events. The callback function must be of stdcall and is of type void. -> static void stdcall CallBackF(string var,double var2,int var3). The DLL function to hook a cb is then called...
[Deleted]
I need history for 2008 and 2009 for backtesting histfile I could sure use the help thanks in advance Mike mikefxtrading24@gmail.com
This seems like it should be the most basic simple thing and I have spents HOURS just trying to find out how to get the CURRENT price of an Active trade that is already selected. Someone PLEASE help me!
[Deleted]
Hello, does anyone know about a method to retrieve a list of symbols (not only opened charts) from within EA or script ? thank you
dear mql coders, i have got an expert advisor which is checking on several points for values on running orders. now im trying to get these orders once each tick and fill the order data to an array which will be available during the rest of the ea process. is there a way to put different data into an
[Deleted]
Hi, Please help me! I'd like to put assumption to an expert. The assumption would be, that what was the previous position achivement. So the next open order depens on previous position closed by SL or TP. Thanks H
Hi! I am in the process of backtesting one of my EAs. I have done this a thousand times before. I have downloaded and fresh installed MT4 from three different brokers, downloaded history data from MetaQuotes in the history center. And set the GMT offset according to the different brokers server time...
[Deleted]
Hi everyone, Would anyone kindly show me if there is such codebase similar to the following idea/requirement: 1. user creates a horizontal Support or Resistance line or diagonal trend line on a particular time frame 2. user decides on how many pips above or below the horizontal/diagonal line must...
Hello, Is it possible to refresh an indicator, lets say every 5 min. from inside the indicator code itself? I cannot program my self so i need some code if it's possible. Thank you for reply in advance.
[Deleted]
Hello, i need to have an EA, which is capable to unload itself from code. how to do this please ?
Hello, I just found that there is an error on simple mathematic calculation like below: Print(" 80/100=" + (80/100)); I couldn't get the answer right 0.8, instead it returns 0. Anyone have face the similar problem?
Hi, I have written an indicator to fire a method when the bar closes. However it seems to be firing over and over once the bar closes. Any ideas, relevant code is below. int start(){ int limit; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0)...
Hello everyone, I give out free signals on my blog and I am wondering if someone can help me write a code which helps my visitors follow signals easily. Typical signals looks like this: Order ID: 1 | Pending | $GBPJPY Sell 136.50 | Stop Loss: 50 Pips | Take Profit: 50-100-150 Pips Order ID: 2 |...
Is there an indicator that would allow me to find out the average price of x number of bars? If I wanted to find out the average price of eurusd on a 1h chart . thanks for the help.
In the image below, I have 3 trades that have read the signal and entered themselves. In a normal bollginger behavior while channeling, these signal would have been considered perfect, however, these are false signals as they are placing buys while the price continues to trend down. Questions: 1....
I would like to get the current Ask price displayed above 10 points from the HIGH of the current bar and Bid price displayed under 10 points from the LOW of the current bar. How to do it? Please add any example if you can and you know how to...
for example eur/usd what currency can i use to calculate the strength of eur and usd? need some help on the calculation to do a EA thanks
[Deleted]
Hello, i like to have script which contains a loop in the main function: while(myCondition=false) { Sleep(2000); } in deinit i set myCondition=true; But when trying to "delete" from Chart, this script is still running. Anyone has an idea ? thank you
Hi, I am new MQ4 developer. I have some question in my code. I need to find last close order from EA. It can look by "OrderSelect(OrdersHistoryTotal()-1,SELECT_BY_POS,MODE_HISTORY);" or not? I don't sure, If select by position on history order. This list will order by close time or not? thank....
In the process of off-topic discussion of some questions about trading systems started in this thread , which some have expressed a desire to continue in a special thread. I suggest that anyone interested should discuss trading patterns here :)
[Deleted]
Hi, I'm trying to improve my money management so I'd like to have a very simple indicator that displays in the chart all the open positions with the next information: 1. Pair (EURUSD, USDJPY, etc.) 2. Profit or Loss as a percentage of the AccountBalance 3. Risk Exposure...
Having programed in other languages I needed a crib sheet to get a check on the syntax of familiar yet unfamiliar coding concepts. Having checked the past answers to this question and found them unhelpful and checked through the book with no speed of joy paused and looked elsewhere. I found this...
[Deleted]
Hello i have a problem with OrderSend() function. I try to open order but EA returns error code 130(wrong StopLoss). I tryed everythig but the situtiation is the same. The most interesting is that when i strat EA on simaltion it works OK. But in real trading function falls. I can't uderstand where...
Dear all, I started working on an EA the other day and I'm blocked at a certain point. I want to do a partial closing on a position using an SL or a TP, but I can't figure out how to do this. For instance, I open a 5 lots position: int ticket=OrderSend(Symbol(),OP_SELL,5.0,Bid,0,0,0,"First trade",0...
[Deleted]
Any clues as to why? I am storing one as the volume. The charts seem to render ok and the History errors just continue piling up.
[Deleted]
Is it possible to run Expert Advisor in MT4 Multiterminal? I can not find Expert Advisor button. Is it possible how?
It is the thread about indicators concerning Mandarine system in general.

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.