Forum

Timevalues at Strategietestermodus

Hello, If I am in the strategy tester mode, 1 hourchart and I liked to get at the same time courses of 5 the min chart, I can get with Time[0] the current value of the current bar in the hourchart gotten and this current value on iBarsShift () to pass around the bar number of the same bar in 5 the

Variables

Hello, if one changes the period of the chart or enters new values to the indicator, than all variables are put back, but if one simply only switches off the terminals and then switch it on again the variables are not put back again? Who knows the problem and a solution? Eaxmple: bool first=true;

Comparsion Problem

Hello, i try to compare two double numbers with the same values but the querie is false Code: double a,b; a=High-Open; //The Result is 0.0001 b=1.3333-1.3332; //The Result is 0.0001 if(a==b)Print("true"); //Result is false if(a>b)Print("true"); //Result is true if(a<b)Print("true"); //Result is

Indicator values from other timeperiod

Hello, how I can get indicator values from other time periods gotten during the strategy testers runs, with the Livechart that goes simply by just adjusts another period parameter, but with the strategy tester run does not function it. I hope someone know the problem and can help

Problem with Fractalindikator it drwas incorrect signals

Hello, I just tried to build a Fractalindicator that just draws an arrwow if the two bars right from them are formed, that because the usual fractalindiktor from the metatrader wich is shipped in gives often incorrect signals for drwaing a arrow or also to a usual buy or sell signal by a EA Script

Need assistance for reconditions support indicator

Hello in the following picture one can see what I to program wants. One sees the black lines which are Support and resistances lines. I can not program gladly it as indicator however point yet as go, can someone please to help. The number in the Chart are unimportantly those I made pure

Too much distance from real price in Open Orders

Hello, I have a problem with to much distance in open Order with the OrderSend() function . Here a picture: Often there are taken prices 3 pips over the visible bars in the chart. Here ist my Code to open Orders: //my parameters extern double TakeProfit=60.0; extern double Lots=0.01; extern double