Hi guys, I have searched this forum and other forums for an EA that will do the following (but I have not found one): As soon as I enter a sell or buy position, it will automatically apply a pre-defined Stop Loss, a pre-defined Trailing Stop, and a pre-defined Take Profit to the current open...
please have a look at this topic over at mq4.com
"MQL4: MT4 Bug?? - iLowest function"
Slawa How to Close trade and Open new one at same Bar???
Example:
Short trade is open already or TotalTrades=1 (OPEN SELL).At the begining of new bar there is signal for long trade.EA first close short trade and after that open long trade but at same BAR(for example M15).
Please help???
Jeff
Hi, do anybody know an elliot waves indikator? If not, perhaps anybody create it? I know an ew-oszillator but its not fine.
Hello every One ive made this EA will u guys take a look @ the results and tell me what u think in this back test thx to all of you
First thing first, I am back to active trading after long breaks starting from January 2007 due to ill health and later bed sores. I have multiple sclerosis and that does trouble off and on. Anyways, our topic of discussion here is trading usd/jpy based on weekly charts. We do know that yen is...
i need a code that would close only the buy position or the close position? i have multiple trades on this.. if (OrderType()==OP_BUY)){ OrderClose ( OrderTicket (), OrderLots (), Ask, 3, Yellow); } i use ticket before but it won't close? when i change the OrderTicker() to ticket but won't close...
Hi all. Here is the EA for the SkyDART manual strategy. Firstly let just mention the people who got this done Waddah Attar - He coded the Waddah Attar Explosion Indicator that forms the base for the EA. SkyDart - He started the manual strategy and was driving the bus. MrPIP - He created the EA...
I need to allocate more than eight buffers/arrays which are always of the same size as the number of bars on the chart. However the number of indexbuffers is limited to no more than eight. Is there any other method to allocate more dynamic arrays whose sizes increase in syn with indexbuffers?
-...
Hi, I wonder whether the market data show in MT4 is a global data or just a broker's, cause sometime I found the volume is only 4 or 2 sth ???
This thread is for high risk takers. If you have a system that can make large sum of money (like $million from $10k) in a short period of time but will be wiped out in one day, please post it here. Here is my reasons. Holy grail is too hard to be found. Let's say one have 50k to invest he can start
There is a bug with MarketInfo where a direct string is used - ie. MarketInfo(Symbol(),MODE_SPREAD) OK MarketInfo(" EURUSD ",MODE_SPREAD) BUG (always returns 0)
the following code draws HLines at yesterday's close prices, but does not change the HLINE ever day, how can I fix it. I need to draw a HLINE indicating yesterday close price. thanks #property indicator_chart_window extern int DD=4; //--- decimal places extern int number_of_days = 50;...
This is a debugger for a problem with OrderSelect.
It will place a BUY STOP and monitor if such an order exists or not.
Upon placing the order, it will enter into a 30 seconds loop to check if the BuyTicket still exists.
Initially it is True as it should be. But manually delete the order and this...
I have been experimenting with a form of hedging (I think it is hedging) and so I am looking for some feedback. I have been doing it for a few weeks now with a lot of success. As always, I am sceptical of short term success. Here is how it goes: Example: Use Metatrader because of "pending orders"...
Hi, I'm looking especially for the CFB indicator. Thanks, Paul
Would some one be kind enough to code a MACD indicator which will look exactly as the here joined picture ? (Hist Blue if > 0 & Red if < 0) TIA Best regards BBF
From my correspondence with mt4. Fellow traders I give unto you this for your delectation. Regards --------------------- You can use 'Period_converter.mq4' script (https://www.mql5.com/en/code/7936) to make nonstandard timeframes. To make M10 period you should: 1. Open M5 chart. 2. Attach the...
What would you do if you found the Holy Grail, either an EA or a trading system? Would you : - Keep it to your self ? - Sell it ? and if so how much how much you would ask for it? - Share with your friends and family ? -wait till you make your first million then share? -wait till you recover your...
This is how to get the swaps for a currency pair:
MarketInfo(Symbol(), MODE_SWAPLONG)
MarketInfo(Symbol(), MODE_SWAPSHORT)
Question is: in what value?
What does this give?
MarketInfo(Symbol(), MODE_SWAPTYPE)
0 = in points umm in PIPS? or in USD? I have 2 brokers using 0. One pays me in USD,...
Hi all I could use some help here. I need to draw a horizontal line indicating the open price of the first bar at 15:00 hour. And another line at said open price plus 10%, could some one help please. I tried to fiddle around but I made a miss. Thank you
Hello Everyone! I am trying to understand how to programme arrays in MQL4. Can you please let me know if my interpretations are correct? int data_z[51];[/CODE]the above declares a single dimension 52 element array of integers with default value 0. [CODE]int data_x[][6]; the above declares declares a...
After the last update I've got often similar message boxes... Also often terminal.exe hangs up absorbing up to 99.8 % of my system resources...
Any idea what's the problem?
Ivo
There has been a critical error
Time : 2007.04.05 18:35
Program : Client Terminal
Version : 4.00...
From my correspondence with mt4, Ive not been able to get it to work, need help. Fellow traders I give unto you this for your delectation. Regards --------------------- You can use 'Period_converter.mq4' script (https://www.mql5.com/en/code/7936) to make nonstandard timeframes. To make M10 period...
The reference ( "MQL4: FileOpen" ) of FileOpen says:
If there is a need to add data to an existing file, it must be opened using combination of FILE_READ | FILE_WRITE.
So I use
hfile=FileOpen(filename,FILE_READ|FILE_WRITE,"\t");
to add data to the existing file.
But, if I re-launch my script,...
Could someone take a look at this indicator; it seems to be buggy, or repainting. It draw spikes above past candles when price is updated (what ever TF). May be someone could provide another version more stable. Thank you very much for your help.
[Deleted]
Hi Guys.. or ladies out there.. Can anyone help to direct me where can i find a multiple timeframe indicatorwhich show up & down trend. For example, a 30M time frame with indicator 15M,1H, 4H & 1W. I did saw it with one in Simba sample picture.. here is the link https://c.mql5...

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.