Forum

function call interrupted?

I am using arrays and resize them with each new bar by calling a user function to do this. I have the impression that this function is interrupted when a new tick is coming in, with the result that the arrays have incorrect information. Generally visable when changing charts or timeframe and only

iCustom problem?

I have an indicator with 2 input values that gives out a "double" value of 0.0 or 1.0. I am calling this indicator from the expert as follows: TEST=iCustom(NULL,0,"TestInd",Average1,Average2,0,1); if(TEST>0.5) { Opn_Buy=true; Cls_Sell=true; } else { Opn_Sell=true; Cls_Buy=true; } For one or the

historical EUR/USD data for AAAfx

To be able to run a strategy test I need enough data. Default there is only about a month's data with the first test. Is there a possibility to force getting more data? Or any place to find data from this broker

Help! Need ATR with 8 digits after decimal point

I am using the standard ATR function. I notice that the result is rounded to 4 digits after the decimal point. I need however 8 digits after the decimal point. I have tried using NormaLizeDouble but I do not seem to manage to get to 8 digits. Can you help please, Many thanks, Sylvano

Is my expert good enough?

I have made an expert trading system and have done some back testing. I would welcome the opinion of some specialists after looking at the back test results hereafter. First the result (+200%) on an hourly EUR/USD for the last 4.5 months. Initial capital = $1000 trading lot = 0.2. And here the

HELP asked for heikin ashi with sound

I use the basic heikin ashi functuion. I try to make a buy sound when the candles 1 and 2 are of a different color. This seems to work fine now and then, but some times I just get sounds without the proper condition. What am I not doing right? Thanks for helping.... This is the code (just added the

HELP... Insert indicators custom not updated...

I notice that selecting from the menu "Insert - Indicators - Custom", my custom indicator list is not updated compared to what I see in the editor and it is getting bigger and bigger even indicators are deleted and refreshed in the editor. How can I update/refresh the list in the menu? Thanks for

RSI Swing HELP PLEASE!!!

I am completely new to MQL4. But trying to start using MQL4 for FOREX trading, I have an indicator I use in MetaStock, I call RSI-Swing. So, I need to convert it to MQL4. Trying to gain time is there anybody who could help? This is the MetaStock code: peri:=Input("RSI period: ",1,100,34);