Bert / Publications
Forum
iClose and Ilow not uptodate?
My EA is handling different instruments (eg. EURUSD and USDCAD and AUDUSD...) and within my EA I also use H1 and M1 periode. To be sure to have the latest possible values into the history I already use arraycopy rates at every tick for every instrument and used periods (M1and H1) For usdcad M1 I use
How to check if my EA is running in a chart from a specified Profile
I want to check if my EA is running in a specified Profile ....if so then I want to do some things in other charts, within that Profile. But I really don't see any Chart operation what could check that. I also did not find any information when I search for profiles. Hope somebody can point me in the
looks iClose had old information on-board
Hi, I made an expert and now run into a problem. In my code I use: if (( iClose (Pair,PERIOD_M1,1) < ArrayLevel[1][i]) && iClose(Pair,PERIOD_M1,0) >= ArrayLevel[1][i]) this if-statement was true and actually it couldn't be true. I know this because of my logging: the arraylevel[1][i] => had the
Search with ArrayBSearch in array created with ArrayCopyRates (MqlRates)
Hi, I'm facing the following problem: I'm creating a multiple-timeframe indicator In the weekly I found a high at a specified weekly_time bar Now I want to plot this High on the correct place in the Daily-chart So I want to search in the daily-chart between the found weekly starttime-endtime
getting compleet dataset from multiple timeframes in oncalculate()
Hi, In the onCalculate() I have the compleet data set from the current chart with: int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[]
iLowest does not give the right shift...
In OnCalculate() I have a ArraySetAsSeries with reverse order .... ArraySetAsSeries (open, false ); ArraySetAsSeries (high, false ); .... Then I want the Lowest Value over a specific range. I do this with: x=low[iLowest( NULL , 0 ,MODE_LOW,IdLastBullish-IdLastBearish,IdLastBearish)] But this is not
behavior EA on tester is diferent then on demo
Hello, In my tester the EA I created is working as I wanted. Know on demo I see that the results after a ew OnTick occured are different. Well in the new OnTick part. I first fill two array's (values from some indicators...360 bars back) get the incoming new tick and put it in a array. After that I