General - page 1937

Dear Friends, We are looking for a good expert advisor source code for autotrade. Of course, that works and has good yields. If any people can help us or can program an expert advisor for us, send a mail at: kiko AT telyse DOT net. We pay for a good source code. Thanks Kiko
I tested several scripts with Arrays assigment and iam a little confused why them doesnt work (them only gets a cero value), for example: // Channel limit=AllBars-ttPeriod-1; for(i=0; i<limit; i++) Array1[i]=iMA(NULL,0,21,0,MODE_EMA,PRICE_CLOSE,i); for(i=0; i<limit;...
Hi, Im using mt4.177 and I notice that even though (sound) Events are enabled (tools->options->events) none of the sounds play. How do I get these sounds to play automatically? Thanks
Good day all, i am new here and need some help om a code shure could use some help..... I am looking for a seperate advisor code i am goint to have two 5 min charts one for my first advisoor which i have done The second xhart is for the advisor I need this code for what I need it to do is on open...
Dear friends, I started translating some TS indicators/signals/functions to MT4 and i need some advice, how can i manage the numeric series on MT4? For example how could be the XAverage TS function translated to MT4? Thanks for any help. Regards Alejandro Galindo
I'm trying a very simple system. Buy if EMA(5) crosses EMA(13) --> using opening prices Close all open positions at close of current candle or at open of next candle. Opening goes ok but somehow it never closes on the same bar. I know backtesting is flawed but not for simple OHLC data I think/hope.....
Since the last update, the SendEmail function is not working properly. The information that it sends is now corrupt. Here is a transcript of the session by my smtp server. 192.168.2.200 [00000770] Tue, 19 Jul 2005 11:40:02 -0400 Connected 192.168.2.200 [00000770] Tue, 19 Jul 2005 11:40:02 -0400...
  Trailing stop  (3)
Just a quick thing - Do trailing stops still work when when MetaTrader(the program) is closed? I am using the default one (ie NOT using experts). Cheers!
Is it possible to add new pairs to market watch and eventually to charts say like chf/jpy?
parameter "curTrend" value be reset to 5,how can i to avoid this? thx! //+------------------------------------------------------------------+ //| FOLLOWTREND.mq4 | //| Copyright ?2005, MetaQuotes Software Corp. | //| http://www.metaquotes.net |
Is there a way to get the value form indicator window in MT4 language ? Suppose I have template with MA based on ATR - can I get the value of current value (ex. ma(atr(nn), 0) programatically or do I heve to count it again in expoert code using iMAonArray ?? Simon
many people, including myself have multiple charts per currency pair. It would be convenient to have multiple workspaces, each one allowing for multiple charts. For example, I would like to create a tab called GBP and another AUD and each one be able to contains 5 min charts, 15 min and so on
I picked this program up from a forum. It came in MQL and .exp. I wanted to adjust the MQL file to new parameters and after I did I found I had an error. The error reads: 22;16;1;50;some operator expected - token "1". If the first numbers are line numbers, how can I get the editor to add line...
Anyone know of a way to play .wav or .mp3 audio files from within MT4 ? It would be cool to play something like this when the market is acting crazy: http://www.moviequotequiz.com/othersounds/DangerWillRobinson.wav http://www.starships.com/Music/warning.wav http://www.starships...
hello, I am stuck in my attempts to set on the charts symbols instead of execute orders while backtesting. Can someone help with a code snippet that is supposed to draw thumbs up for example when a condition is met? When I replace SetOrder(OP_SELLLIMIT,Lots,v1,3,v1+StopLoss*Point...
I havent seen this before so I am asking it here, can arrows be added to EA for orders just like we use them in the indicators? Does anyone have an example? Thanks EK
i write a simple expert adviser "testTigger",like this //+------------------------------------------------------------------+//| testTrigger.mq4 |//| qiuyg |//|...
Hi Did anybody use iFractals in an expert yet ? ( val = iFractals(NULL, 0, MODE_UPPER,0); ) i can not get any value back form it , only return 0 .
Can someone please explain the IndicatorCounted() function to me in plain english? I have read the limited documentation, but cannot figure it out. Does it simply count the numbers of bars since the last tick? What is the difference between it and Bars? How is it used in init() and in start()? I...
Hello, I have just another question: what should the command ShowDebugWindow(bool) do. I cannot find it in documentation and if I put it in my advisor, nothing special happens. Tried to set true and false. with regards, cori
I've got an optimization I'd like to run, but the 10,737,341,824 combinations want to take 697,682 hours to complete. There's a very good chance, I'll be dead by then. However, is there any way the processing can be distributed amongst 1,000 computers? If there is, I could complete this project in
Hello, I encountered a Problem using input variables in an advisor. In the advisor, variables defines as extern are shown in the inputs tab of the advisor. The input field is defined with a standard value which could be entered but it's not a must. When I set the value in the inputs tab it is
I know how Breakpoints work in other Programming languages, but it seems I am missing here something. If I put for example a breakpoint here if (ActualTime == 0) { // here would be a breakpoint after I pressed F9 } then I would expect the script to stop there. But it does...
I've got a P850 laptop that I don't use much, and I'd like to run 100-hour MT4 optimizations on it. The problem is that MT4 runs the CPU at 100% and after about 5 hours, the system overheats and reboots itself. Does anyone know of a way to force MT4 to run at 50% CPU utilization? Is it possible?
In the MetaTraderAPIExample2 project, I see several instanced of the following: SendOrderInfo soi; soi.volume = m_nLots; soi.cmd = cmd; if(g_pSecs[m_iSec].indirect == FALSE) soi.price = (cmd == OP_BUY ? m_fAsk : m_fBid); else soi.price = (cmd == OP_BUY ? m_fBid : m_fAsk); Can...
Hey people, just wondering, in your 'MarketWatch', there is a clock. Do the seconds tick smoothly? Mine is really jerky and it goes from 13:14:22 to 13:14:42 in a few secs sometimes. thanks
Trying to delete an object inside the deinit() function of expert advisor hangs and force metatrader to shutdown the expert by timeout. MT4 v177 (updated) //+------------------------------------------------------------------+//| JustTesting.mq4...
Wonder if someone can help on that. To draw a specific coloured trendline in a chart (preferably horizontal), and when price is touching this trendline to hv an alert. I know what yu will say. i can draw a trendline and then to put a price alert. Yes but same takes too long time for many pairs,...
My version does not draw in the 0.786 Fib. Line. Why is that?
When I apply an expert to a chart I don't see anthing on the chart Matt