MQL4 and MetaTrader 4 - page 1163

[Deleted]
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...
[Deleted]
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???
[Deleted]
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 !...
[Deleted]
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...
  help with expert  (8)
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
[Deleted]
  Historical data  (1)
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):
[Deleted]
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
[Deleted]
Hi I have an EA that is working well, but somethings it will enter trades that should of been ignored by because the condition statements were not met. For example for a particular trade the nearest pivot line must be at least 25 pips plus twice the spread away from the point of entry, in one case...
Hello all I have been having some challenges with what I want to accomplish with my EA. I would like to add an extern option which asks the user if he wants the EA to open one trade per day or multiple times. If user chooses true to open once a day then EA will open only once a day. If not, every...
[Deleted]
Hi everyone, There is a real problem linked with EA design. Most of us design an indicator andthen build an EA to exploit it. But there's an intrinsic problem linked with thatmethod. MetaQuotes shows an indicator by calling the start() method once a candlehas been fully formed, i.e at the CLOSE...
Hello I am trying to understand why/how an indicator (DT-ZigZag-Lauer) returns different results from an EA than when it is attached to a chart. I have checked and re-checked the code (see attachment). If anyone can help, of has an explanation, I would be very grateful
[Deleted]
I am Samson Adewumi from Nigeria. I need someone that can help me build expert advisor. I have the strategies with me. if you can help please contact me on e-mail princeadewumi@gmail.com with subject EXPERT ADVISOR thanks
  Predictive indicators  (164   1 2 3 4 5 ... 16 17)
Please tell me, are there any predictive indicators or scientifically based strategies looking to the future
hello people, iam experienced forex trader and would like to develop this winning strtegy with some traders, hope i can get some interested memberregards baraka
[Deleted]
hello all.. im newbies here wanna ask and help from who expert... can i disable or delay this EA from close post? mean i wanna close it manually... it all... thanks
how to insert the data of metastock to MT4? i hope someone will let me know the step how to insert metastock data to MT4. thank u
This EA is a project that I have been working on for sometime called fz_trade_hedge5. I see a lot of EA that boast results, but sometimes it isn't clear what broker the back-testing results came from. The website for this EA is XXXXXXXX. The site has results page that could be of interest in...
Could someone please help me with my notification code. The code is suppose to email when a trade is entered. During backtest the Print statement always has OrderCnt_0 = OrderCnt_1? Thanks in advance for the help. ---Tom ***Please See Updated Code below this one***** int      OrderCnt_1    =...
Has anybody tried to develop an EA using Trend Lord? I am calling Print("Index 0:", iCustom(NULL,0,"TrendLord",0,0,1)); Print("Index 1:", iCustom(NULL,0,"TrendLord",0,1,1)); Print("Index 2:", iCustom(NULL,0,"TrendLord",0,2,1)); and they return Index 0: 0.0 Indev 1: EMPTY_VALUE Index 2: EMPTY_VALUE...
[Deleted]
  Your most effective strategy?  (123   1 2 3 4 5 ... 12 13)
Hi. Which strategy are you currently using? Don't be greedy. Not many people read this forum. And if someone finds out about your super strategy, it won't stop working)))
  Weird 131 error  (2)
Dear all, I'm finally testing my first EA in real and something weird happens. Every time a new order should be opened a 131 error is got. I'm running it simultaneously in demo and in real. Curiously it works smoothly in demo. All orders are sent fine there, but it doesn't in real. Both accounts are...
Hi everybody, I was trying to build an indicator that calculates the RSI from a CCI indicator. The main problem is that I don’t know why this indicator doesn’t calculates in real time properly. When I open in real time, only the past data is ok, every new tick that is received change dramatically
  Yusuf's floodwaters  (91   1 2 3 4 5 ... 9 10)
In view of the growing popularity of chatterboxing and the rise of Yusuf to a new level of trust among forum members, It was unanimously decided to move the meeting of the Telepath Club to another branch with new meeting rules. The existing one should be renamed to a more appropriate name
[Deleted]
hi, it is well known that the format of the historical data of mt4 is in frame of 1 minute (open,close,high,open) if i have an accurate historical data with a resolution of a tick, can i import it to MT4? can i perform the back-testing on a "real ticks" and not on "generated/modeled ticks"? if the...
  slippage = 0  (1)
Hi everyone, does slippage=0 mean that zero slippage is tolerated or unlimited slippage is tolerated? best regards fx1
[Deleted]
RenkolivechartV3.2 source code: https://www.mql5.com/en/code/9358 I using renkolivechartV3.2 on ikon fx turbo meta MT4 platform, this platform symbol got extra two dot behind currency pair symbol, example: "EURUSD.." I only able to create renko offline chart by enable strange symbol name in this...
  sms solution  (2)
I'm looking for a solution to sent SMS text messages from my EA to my mobile phone ? Has anybody some experience with this? A tip ? A possible solution ? Thanks.