Forum

copybuffer basic problem

Ok, here is the thing. Very simple but maybe I dont understand the concept of copybuffer in mql5 (I am new to it). Well, I understand that after you define a handle in OnInit(), and then you use the CopyBuffer() method, you copy elements from the first array to the second. However in my code that

my indicator doesnt execute in the past

Hello: Below you have my start function. The problem I am having with this Custom Indicator is that It apparently doesnt process in all the chart´s bars, but only in some bars before the present. It just tries to know if price is above, below or inbetween ichimoku cloud . If it is below it returns

Ichimoku from MT4 to MT5 (help needed: SenkouspanA[-26 ] ??)

Hello I like the Ichimoku indicator. Now I dont understand how to use the Future Cloud, it is the senkou span A (-26) and senkou span B (-26)... as you know, different to other indicators the Ichimoku is shifted 26 periods ahead of the current price. In old metatrade 4 it was like: iIchimoku(NULL

Very simple indicator (but doesnt work)

Hello, lets do this: I am new to MQL and want to make a simple indicator. Just draw an arrow over a Candle which mathAbs(Open - Close )>0.70 ... This is in USD / JPY This is what I have and doesnt work: //+------------------------------------------------------------------+ //|

Help with Fann 2 Mql!!

Hi I am programming a Neural Network but I have the following problem: I run it once, and I get some results, then I run it again, with the same data and I get absolutely different results (in testing). It is apparently training over and over again and is not erasing the previous data (at least I

Write in the first file, but wont write in the second one... Journal: Invalid handle 0 in Filewrite

It just write the first line for the second file: "indicadores2.csv". Thanks in advance for any help

Negative Balance but very High Equity

Hello I am new to forex and very new to forex programming. Testing ( backtesting for now ) my new Robot, which focus in very long trends hunting, I found that in its trading sometimes the Balance gets Negative but at the same time the Equity is very Positive however it continues going on testing

Please give me feedback on this Robot Performance

Hello, this is my first Robot and would like to have some feedback on its Results (since I do not have Experience). It trades Euro vs USD and uses RSI for signals. I can see it goes to 81,000 (from a US 1000 deposit in 1999) but it goes back to 18000 at the end of October 2009. Some data: Pair: Euro

"the shift" of a Bar

I am sorry for asking this question maybe I have a translation problem, but surely it is going to be one of the most stupid questions ever asked. I want to know what is "the shift" of a Bar? Could anyone explain me the concept in other words? Thanks in advance

FileWrite doesnt write

Hello I am trying to make an Ea that write to a CSV file but I have been trying and dont find where is the error. This is my first mql4 Code, so I hope you can help. I dont know if it has anything to do but I get 4105 as Error Code. It compiles, also the world "open" that I placed inside the if of