MQL4 and MetaTrader 4 - page 1323

//+------------------------------------------------------------------+ //| 2MACross.mq4 | //| Copyright © 2010, Andrew Young| //+------------------------------------------------------------------+ #property copyright "Andrew Young" #include <stdlib.mqh> //---- INPUT PARAMETERS extern bool...
[Deleted]
  pls help  (2)
pls can someone tell me the code for new bar? Actually i know of this: void Fun_New_Bar() { static datetime New_Time=0; New_Bar=false; if(New_Time!=Time[0]) { New_Time=Time[0]; New_Bar=true; } } But my problem is that i dont know if it is correct or not, and if it is correct, how am i going to...
I am in need of two indicators. The first is the difference between +DI and -DI for a 21 period timespan and calculated as a histogram. The second is a stochastic with periods between 3 and 21 that is plotted so that its color changes when its slope changes. I hope there is someone out there that
[Deleted]
Does somebody know, where to get IDDownloader or recent Dynastore 1.7 for MT4, which simulates eSignal data in real time for softwares compatible with eSignal data.(using MT 4 data).
[Deleted]
  If else variable  (2)
Hello mql guru's, Is it possible to use an "if/then" condition for creating a variable? This is what I need: double Var32 = if (Var17 < Var18) Var18 - Var17; else Var17 - Var18; of course this won't compile, but how can I get the data I need into a variable form? I'm obviously a newbie, and Thanks...
[Deleted]
I need help, please. I try to import simple library file GBSend double OutPutBid(double A, double B) { double C; C= A+B; GlobalVariableSet("AAA",C); return(C); } and I get an error: Start function not found and cannot be run and the EA #import "GBSend.ex4" OutPutBid(double A, double B);...
Hello All I am seeking a collaboration with a trader who has advanced programming skills. I have developed Gann Style indicators that have proven succesfull in price Time/ Price projection and wish to share my knowledge in exchange for programming this into a coded indicator. Please contact me
Please can anyone help with this idea.I will like to get a particular value(price) at a particular bar say bar[1],such that the price at which if price hit will result in treand line break occur can be returned using iCustom(...........).your suggestion will highly be valued thanks
  Closeing Problems, Please help  (81   1 2 3 4 5 ... 8 9)
Hello to all Hope that the syntax is better than before. For the last week, I have been reading the Codersguru. The program below, although does not have any errors, the compiler will log only one order. But my code will not close it. The program states ---
It seems I get 138 errors on different inputs of dates May-June gives many 138 errors March-April doesn't I find this somewhat strange
Hello there. I am in the beginning stage of learning the MQL4 language but no where close to being able to program a couple of what should be simple formulas. I am in need of two indicators. The first is the difference between +DI and -DI for a 21 period timespan and calculated as a histogram. The
i have made custom indicator. I want to check the value from my custom indicator in EA. Please tell me how to reference custom indicator in EA. my email is vical9000@gmail.com thanks.
[Deleted]
This is making me crazy. I'm using Alpari's MT. I keep getting 130 errors. Not *always* just most of the time. See how an order worked ok at 2:25 in the example below. I had wanted to set TP and SL to 0 (ie, not set) but that didnt work. So I put an outrageously large range instead. Same...
forex ea only any ea you want to catch This is my ea blog . If somebody Interested in ea . you can visit my blog . Some intersting ea in it . that's url forexea.blog.com
I am doing a backtest run of my EA together with my indicator, the indicator alone runs properly, however, when i call the custom indicator function in the EA and backtest it an error occur for my indicator: "invalid integer number as parameter 1 for TimeToNumber function" the following is the only...
I write expert advisors. One day I met one dishonest customer. I was working on these experts about three days, and didn't get any money. So I feel free to place these experts here, in the public domain. I don't know whether they are profitable or not. I didn't test, because I'm not interested...
[Deleted]
Can anybody help, I have previously been backtesting a scalping strategy (well kind of). Before I had a stop loss of 6 points and it backtested fine. For some reason it has now stopped adding in the stop loss and take profit levels if I have anything less than an eight point stop loss. Anybody...
Here's the problem... I'm trying to build a custom indicator. I am using the Heiken Ashi indicator but it already uses up 8 buffers. I would like to put arrows on the chart where a potential trade signal will be how do I achieve this? I've tried creating a separate CI altogether and using iCustom...
[Deleted]
Hello guys, I hope you can help me here, I am trying to convert a string (which I know represents a double) into a double. string filename = "comms/signalmt4.txt"; int file = FileOpen(filename, FILE_READ, ' '); if(file>0) { ordertype = FileReadString(file); lowrange =...
[Deleted]
Can anyone tell what uses object imm32.dll int MT4 simulator. Or am I getting false positives from Avast before I waste a day figuring this out. I am getting a virus notification every third or forth simulator run object: imm32.dll infection Win32:Rootkit-gen [Rtk] Process: C...
Hi, Suppose I am calling a function which will need 3 variables already defined in the start-function. Is there any reason for using theese variables when calling the function to replace them with function-defined variables? For example, I have double Price, datetime Time and bool LongTrades == true...
New article Drawing Indicator's Emissions in MQL5 is published: In this article, we will consider the emission of indicators - a new approach to the market research. The calculation of emission is based on the intersection of different indicators: more and more points with different colors and...
[Deleted]
can someone please help me? i recently downloaded the breakout panca eagle but the green area is just a thin line and not like the original. is it maybe a setting that i don't know of or is it the server (i am using the FXCM MT4 platform)
Hi! I hope that somebody can help to provide an example to use the zlib.dll for zip and unzip of files under mql4. I saw that there is a unzip32.dll in WINDOWS\SYSTEM32, but I don't understand how to use that too. Thanks!
[Deleted]
Phy!!!!! what's up with this, The EA is a year old and undergoing some optimization. As a result I was running some of my old exit criteria and when I hit a SAR and try to close order I get the ERROR 145. No problem with this the while loop takes care of the requote BUT NO This is the strategy...
[Deleted]
Is there any information available on how to use a set of functions in a DLL to do custom writing or paiting of the chart window? Here is what I am trying to do: I want to create graphic objects/display custom graphics using gdi32 calls such as DrawText, BitBlt etc. Is there sample code available...
[Deleted]
hi there, there's a post which shows how to cycle trough open chart windows: https://forum.mql4.com/29660#269533 but i want to switch to a specific chart window. is this possible somehow? i've tried sending WM_MDIACTIVATE and WM_MDIMAXIMIZE but it doesn't have an effect. any ideas? thanks!
Hi, you can put these options of Forex AI_v4.0 EA in TheMasterMind3( time filter )v1.1d.mq4? Options in-Forex AI v4.0 work on ECN Broker but the original stoploss in TheMasterMind3 (time filter) v1.1d.mq4 not work on ECN Broker! I have attached the 2 Expert Advisors Thanks and Regards. extern string
Hi, I am using this switch in my initialization function to set currency quotes for automatic lot-size calculation. Unfortunately it always returns 1.01 as in case #7. What is wrong here? --- int init() { string BaseCurrency = StringSubstr(Symbol(),0,3); string CrossCurrency =...
Make 50-500% with forex managed accounts. Email me or contact me on skype for more details. email: ikondubai@yahoo.com skype: shaijudeen1 Here is a live report of what I can do!! You can follow for as long as you like. http://4xtrader1.mt4stats.com/