MQL4 and MetaTrader 4 - page 897

To post a new topic, please log in or register
Hello to all creative indicator.I have a good contact who gave me the code for the indicator (RMO Rahul Moindar)but I'm not a programmer so if anyone of you could createto use it in the clenched metatrader great. Because this indicator is onlyavailable software "MetaStock" and it is...
Hi I have an EA that uses iATR it seems that on current bars sometimes the EA seems to just stop reading ATR and the ATR value just freezes. For example see the attached image: Now the ATR indicator shows 0.0019 which is correct, the EA shows 0.0017, when the current bar closes, this value corrects...
Run 9 terminal.exe's each from different MT4 folder tree. Each Client Terminal has same profile running: 10 charts. 10 charts: each have simple EA counting ticks (via entry to start() count) and on new bar Comment() the concatenated previous bar's count EG, "10, 25,20,30, .." Summary: total 9 MT4s...
I have a problem calling 2 functions in my ea witch is very weird to me since I can not find anything wrong with this part of the ea here is the function call I have actually very simple. if the check for profit command shows enough profit it will close either buy or sell down. but wrong parameter...
Hi, I want to run a cicle to look for the negative amount of money in open buy/sell orders. Exemple, if I have 3 open buy orders, one losing 20 pips, other losing 50 pips and another losing 33 pips, which means at that point a total of 83 negative pips. How can I get look for that 83 value, and for...
  Help With EA (4)
Hi I use the Amazing EA to trade news events with limited success, but I want to make a change to the EA and my coding skills are sadly lacking. Is this the correct forum to ask for some assistance in making a change to the EA? Currently the EA places stops based on the level of the OCO orders, but...
Hello, I try to code an indicator in a separate window which is displaying a consistent wave between 1 and -1. the length of the waves should be adjustable. Does anybody know such an indicator? It would be great to use it with the dominant cycle and show the market cycles. thank you and best regards...
The search seems to be back online and better than before. Is this a true statement? Or is it just randomly operating?
I am new to the MetaTrader platform itself ; fortunately for me I can get started with enhanced MT5 rather than MT4. To get started I would want to know whether there is a general guidelines/ documentation to get started quickly. Now that I have D/loaded the MT5 Client, I would want to clarify (1a)...
My navigator window is now gone to full width across the bottom of my screen. Does anyone know how I can get it back to the left hand side again.
Hi, the bar chart in MT4 is difficult to see because the look is very thin. Stretching the chart will solve this problem causing a new problem: loosing the big picture. I have tried Heikin Ashi charts, but I don't like them. Is there any indicator that can draw the bars more wider? Thank you
Hi, I'm developing an EA that keeps in variables several "dynamic" parameters. In case of a crash or just a shutdown how should I "save" these parameters? 1-"dump" the variables into a text file and load it at startup/init section? 2-Using global variables? Any sugestions? Best regards Paulo
I read another ea protection question and I got this idea. What if we add to mql option for compilation for example: property protected_compilation account_name 123456 property protected_compilation account_name "John Doe" and based on above informations protection key will be created for ex4 file.....
I need a programmer to create a scanner that will scan multiple currency pairs continuously and alert me when the patterns identified with the ZUPv6 indicator are found: 30 min, 1 hr, 4 hr, and daily timeframes. The GoHan scanner is close to what I want, just needs to be programmed with the ZUPv6...
hi guys, i have got this EA trading profitably for now, but has got a constraint. i want a code that i can add to it so that the EA trades continuously, particullary when i switch off my pc, it works as if the pc is on.
I have an indicator which when first place on chart, much of it does not draw. Then if I remove it from the chart and reload it back on the chart it works. Also if I switch chart period, then switch back, it works. It looks like the required historical bars are not in memory at the first draw....
howdy Is it possible to place a pending order in MT4 based on closing price. I know I can do it based on a price, but would rather not be triggered mid-candle. Is there an EA that allows me to select pending order based on closing price of a candle? cheers honkin
Hello, I've developped an indicator in mql4. However when i call it in an EA, eg: trend = iCustom(NULL, 0, "ATR Stop", 2, 0); bull_stop_loss = iCustom(NULL, 0, "ATR Stop", 0, 0); The values are different when i attach the indicator to a chart and when i use it in a custom EA. Any reason why?
what happens is that is that need make a program that takes an integer for example 1.345678 and remove the value of 78 or another example 2.346798 and remove the 98.
Recently I purchased an EA from a website. The EA or Robot is working fine.I have been getting No results when trying to run the Strategy. Last night a Technician at my Brokerage reset the Demo password. This somehow allowed it to work. This tells me there is nothing in the EA to prevent it from...
Hi I have been learing to code and I learn much by example, I am trying to code a function to show the highest and lowest RSI for the day, here is the code: double Rsi_high;for(int i=0;i<Bars;i++){    double Highest_RSI_ofDay;    if(Time[i]>=iTime(NULL,PERIOD_D1,0)){        if(iRSI(NULL,0,14...
Hello. I've just started using a new MT4 demo. I'm getting an invalid S/L or T/P error on any Market order I try to place, and I receive "invalid parameters" on any Pending order I try to place. Anybody know why???
Hello everybody on this very useful and interisting forum . I think here are the most powerfull people in programming mql4 . I hope everybody understand my english . ok here we go So maybe someone can give me some tips with this one here . First of all - the ea works fine . the only problem is that...
hello wonderful people ! is it possible to make mt4 a startup program? as under msconfig it does not come up under standard settings. if so how ? my problem is my VPS, sometimes it reboots without notice and potentially could leave me hanging with open positions whilst i am having beauty sleep !...
Hello everyone. Much help is needed please :) I programmed this very basic ATR-based spike alert. The premise is that it alerts you when there's a spike. Spike is defined when the ATR of 1 bar is x times the ATR or 60 bars. When that happens, the alert pops up and the sound goes off, also the...
Hi guys, I'm new to this mql4 expert programming. I need some help. I'm trying to do an expert like this: When the Ask price is higher than the smooth average, it waits until it goes down equal to the average and open a buy operation. or when the Bid price is lower than the smooth average, it...
Hi, I am wondering what is the period of the tick chart that pops up when ordering? I am trying to come up with a similar looking chart using another program but I cant seem to find a period that would do the job. Any help is appreciated
Good day, Can anyone let me know where I can aquire an historical database of forex symbols that goes back a few years. Something that is ACCURATE. I need this to test my EA's. Any help will be greatly appreciated Thanx James
I am using the attached code to draw STARC bands. I was wondering whether it was possible to overlay a colour between the upper and lower bands, like this (from another application):
Hello I am trying to define the number of digits in the pair price infront of the decimal, I understand that for digits after the point I can use: Digits But I cant seem to find anything on the digits before the point. Thanks Antony