Hello everyone! Just a little question: How can I have the name of the chart in an Alert? Thanks
when a code runs the journal continues to log even after end of test run, please teach me how to stop it after end of exection, thanks.
[Deleted]
Hi there, I need to make a change on a simple expert advisor that is based on 2 slope direction lines. This lines, changes to blue when on uptrend and red when on downtrend. The expert advisor gets a global variable=1 when both uptrend (2 slope=blue) and a global variable=2 when both on downtrend (2...
How come I cannot send 2 orders at the same time: int start() { //---- OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); OrderSend(Symbol(),OP_SELL,1,Bid,3,Ask-25*Point,Ask+25*Point,"My order #3",1622,0,Green); //---- return(0); } Is...
[Deleted]
Why, when I run the strategy tester several times, do the results differ greatly? I'm not changing anything in the EA, or the tester settings. I'm using the "every tick" model on a M1 period, for the GBPUSD. Thanks in advance. Richard
[Deleted]
Hello, please can any one help me to modifiy my expert advisor that is attached. this one place trade and closes too. but sometimes it refuse to place trade even when candlestick has gone over 50 pips. so i want it modified as thus; the ema shuold be changed to 6 and 12 it should place trade for...
[Deleted]
I'm having a problem with digits and was wondering if anyone could help. I'm using the MACD indicator , which provides at least 5 digits (if I convert it to a string I get lots of digits). The problem is, if I do a "greater than" comparison between two values it only seems to use the first 4 digits
Get MetaTrader progam directory with MQL4+WIN-API is possible?
[Deleted]
I've also posted this on another forum: I'm looking for a simple indicator which I'd be happy to pay for if noone can do it for free. It may or may not be possible to code. It could be two indicators in 1 or 2 separate indicators, although I'd prefer the former which I think should be possible. So,...
[Deleted]
Hello, I use Moving Average Exponential lines on the chart (EMA Lines). One line is set at 5 and the second line is set at 13. I would like to know if there is a way to have an alarm sound when the lines cross. Thanks for the help, Fred
[Deleted]
I'd like to have a detailed report generated every 12 hours or so automatically from my EA, and saved with a different name each time: Report1, Report2, Report3... Possible??
Hello everyone, I want to tidy up my EAs and store my functions in libraries. Example: EA contains this: extern int loglevel = 1; int start() { [...] Log(1, "Important message, like errors and stuff"); [...] Log(0, "Warnings, Infos etc."); [...] return(0); } The library contains the log-Function...
[Deleted]
No wonder this robot never lost a trade. To lose a trade, it must first place a trade. I opened a $500 account, and guess what happened. Nothing.
[Deleted]
Hello everyone, I'm trying a demo of metatrader, I need to create a script that automatically close the positions at a certain hour at a market. Someone can help me? (Forgive my English I'm Italian!) Thanks. Ettore.
[Deleted]
Hi! I wrote an EA that works fine until I added a simple line of code with a ObjectSetText function. A few seconds after compiling it, the terminl crashes. If I remove that line of code, everything works fine. Is there any known issue concerning this?
Hello, I am hoping to find some help on this forum; I have been trading fx with average success for the last few months. In December I will be heading to Iraq and I will not have the time, so I hoping to use an automated program… but I have no idea how to write these programs. Is there any other...
[Deleted]
Hello, please can any one help me to modifiy my expert advisor that is attached. this one place trade and closes too. but sometimes it refuse to place trade even when candlestick has gone over 50 pips. so i want it modified as thus; the ema shuold be changed to 15 and 40 it should place trade for...
I have some js "robots" from another type of platform. Is anyone aware of a method to convert js to mq4? I have attached an example file. Thanks!
[Deleted]
Broker use 5/3 digits BUT how code to deal with MODE_POINT = 0 ??? i look at these 11 pairs (and YES, i print out with 8 places ;) . MODE_POINT = 0, MODE_TICKSIZE = 0 usdchf, usdcad, gbpusd, eurchf, audusd, eurusd, eurgbp . MODE_POINT = 0.001, MODE_TICKSIZE = 0.001 audjpy, chfjpy, usdjpy , eurjpy
I wish to place external variables in an array. I have tried this: extern int Int1=0;extern string PString1="";extern string SString1="";extern int Int2=0;extern string PString2="";extern string SString2="";...string a[2][3] = { DoubleToStr(Int1, 0), PString1, SString1,...
[Deleted]
Hi guys, when i´m using alert indicator does exist way for reading that alerts in mql? I dind´t find some solution. It could be very helpful for me. Thanks a lot.
Is there a List of were these are Located, and what are their Definitions thanks
[Deleted]
Is this possible to attach a "Timer or Clock " to a chart and have it open a trading session and then close all trades at the set times? What I mean by this is to attach a "Timer" to a chart separate from and E.A that runs the trading process. What this will do is two thing let you use any E.A
[Deleted]
toHi everyone, I am new to MQL4 and is trying learning the basics of it through Kovalyov's book. Now I have a problem regarding the example EA in the following path : Practical Programming in MQL4->Simple Programs in MQL4->Combined Use of Programs. The example EA, called shared.mq4, is based on...
can any one help in merging the attached two indicators. I need to have a dynamic fibo zigzag based and i need to add the price level to th elevels description by adding script type= 2 as in the other fibo price indicator attached. This tool should redraw itself with the same setting. Please feel...
[Deleted]
I have offline txt data coming into MT4 in a daily format. How do I convert this into weekly data ? Or do I have to he text file Date,o,h,l,c,v conversion manually myself ??? Outside MT4 thanks
[Deleted]
My First EA! 2007: profit 60% 2008.01.01----10.09 profit 160% humicacid2000-777888@yahoo.com.cn lots=0.1 start:$10000 End: $26259
[Deleted]
Hi, I'm trying to backtest EAs and have the following problem: I want to backtest them on Daily candles, so I'm setting "Daily" period in the tester window. I even put PERIOD_D1 in my code (in iClose, iOpen, etc.). But when running backtester it shows it makes trades intradaily instead of daily. Why...
[Deleted]
hello, i would like to know if you can give me reference about how to split string into array from it's delimiter. If you're a PHP Developer, this function is similiar with explode() function.
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.