• Information
7+ years
experience
48
products
130
demo versions
0
jobs
0
signals
0
subscribers
Stephen Reynolds
Added topic Objects drawn bammy when i change timeframe?
Hi, on the attatched code can someone help me see why when i change timeframe it messes around with the objects. So i always have to take indicator off the chart then place back on again to get the objects drawn as their meant to. 
Stephen Reynolds
Added topic Critical errors i cant find?
Hi, i sent the attached code to be published but the moderator has stated the following : Programs should not contain critical errors that lead to immediate termination: division by zero going beyond array boundary using an incorrect  object
Stephen Reynolds
Added topic Why OrderModify() error 1?
Hi, in the EA ive attached im stuck on why i keep getting OrderModify() error 1 and why the EA closes the order before stop is hit
Stephen Reynolds
Added topic Problems with back test on tick
Hi, with the code i send as attatchment im happy with except i dont know why it tests too slow when tested on tick test. Im thinking it might be because ive laid out everything within the OnTick event handler and so is overworking the CPU in my PC
Stephen Reynolds
Added topic Need help figuring how to make the following code work On Tick tester?
Record Session High  = A current candle closes higher than the previous candles up to 6 bars back. The following code has been made to count the candlestick record session highs up to 8 and then start drawing objects on each candle to mark the
Stephen Reynolds
Added topic My bar count attempt, have i written to much code just to count bars?
I was trying to find a way of counting bars only after a condition is true. I have coded this so it can recognise any timeframe and adjust to suit.   void OnTick () {      // Version 1      bool periodm1 =
Stephen Reynolds
Added topic Difficulty in attempt of Multi Timeframe Indicator
Ive been trying to make the following code draw a double smoothed stochastic of the 30m chart while on the 5m chart but always get a critical error and not sure why? I have tried to put PERIOD_M30 enumeration in 2nd parameter of iHigest() and
Stephen Reynolds
Added topic Is it possible to get Indicator info into an EA?
I recently purchased an Indicator from Market that I really like but I prefer it as an EA. Is there any way to code an EA to read an Indicator you place onto a chart
Stephen Reynolds
Added topic Why do I get OrderSend error on UK100?
Why in the following code do I get OrderSend error 131 on UK100 but not on EURUSD?   // Input
Stephen Reynolds
Added topic Dont understand why I cant here PlaySound()
In the following Indicator I fail to see why I cant here the PlaySound sounfile ive assigned to the SoundFile object? Also it appears to overun my CPU? // Turning Pivot Alarms On/Off Input Variables input string SoundFile = "alert.wav" ;
Stephen Reynolds
Added topic Cant see how to draw objects on all previous bars
Im trying to see why it is that the following Indicator code only creates objects on strategytester as and when each bar closes. But when I place the Indicator onto a chart it doesn't draw any previous objects? #property indicator_chart_window
Stephen Reynolds
Added topic ObjectCreate on Indicator problem
Why is it that when I place my Indicator onto a chart it only shows the objects on current day. But when I run it on tester it displays all previous days? int OnCalculate ( const int rates_total
Stephen Reynolds
Added topic cant understand "possible use of uninitialised variable" error
When i use these 2 similar codes to find candle patterns how come the 1st one has no errors on lowerShadow or upperShadow objects yet the 2nd one shows error on mainBodyBear, mainBodyBull, midBody objects. I cant figure it out? //------------- //
Stephen Reynolds
Added topic I cant understand this error in using structure
In the following code i always see error     ' MqlDateTime ' - struct or class already defined  I cant see why?  struct MqlDateTime {    int year;           // Year
Stephen Reynolds
Added topic Why cant I see upper and lower keltner lines on chart?
In the following code im trying to simply create keltner channels but i cant see why it doesnt display the upper and lower lines on the chart.  input int Keltner_Period=20; input double Keltner_ATR=1.5; input int Keltner_MaMode=MODE_SMA; //
Stephen Reynolds
Added topic Problem knowing how to write yesturday's high close opens continuously as indicator?
In the following code im trying to create an indicator that writes the previous days close, high and lows so as it displays all previous days on chart at once instead of only one at a time.  The code below writes close, high and low okay but its
Stephen Reynolds
Added topic Problem with / division operation?
In the code below I'm trying to count upto 36 bars then find the ratio of bull candles to bear candles and returns to log. But, the code returns 1 all the time. Ive tried + and % they work the way they are supposed to but not /. I cant see why this
Stephen Reynolds
Added topic OrderClose error 4108 I cant see why?
Im testing the EA ive attached when on strategy tester I test over a short period of between 01/09/2015 to 15/09/2015 there are no error codes and the EA appears to work okay. But, when i test on longer periods from between 04/05/2015 to
Stephen Reynolds
Added topic OrderModify error? I cant see why?
I have shown below 2 different codes that each do the same task of moving my stop to breakeven after price has gained profit of 200pts (at 0.1 lots). While the first code works like I want without any problems, I cant see why the second code although
Stephen Reynolds
Added topic OrderDelete error 4108?
With the code below the instructions are as follows : After 10 bars it opens both a buy and sell pending orders each 200 points from the close price at 10th bar. Then, when price closes higher than one of the pending order price points it closes the