• Information
9+ years
experience
18
products
365
demo versions
0
jobs
0
signals
0
subscribers
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
Stephen Reynolds
Added topic How do you test a system across 2 timeframes or more?
I am trying to run a test on the MT4 strategy tester on the 5m chart. I want conditions to be met on both the 5m and 30m charts. It appears to ignore the 30m chart condition so the condition is never true? // Input variables input int KPeriod = 14 ;
Stephen Reynolds
Added topic Why the Warning, empty controlled statement found?
Why does the Warning "empty controlled statement found" come up when using   if (enableCount == true )   within the following code? void OnTick ()     {      double close = Close[ 1
Stephen Reynolds
Added topic Dont understand why ObjectCreate is created only once?
Im trying to get the object OBJ_ARROW_THUMB_UP to appear every time the if condition is true when i test over a few days. Code as follows : input int MaPeriod = 200 ; input ENUM_MA_METHOD MaMethod = MODE_EMA ;   input ENUM_APPLIED_PRICE
Stephen Reynolds
Added topic Trouble moving stop to pivot points?
What Im trying to get my EA to do is move the stop to each previous pivot as price moves into profit but without being slowly trailed.  // Input
Stephen Reynolds
Added topic Cant find and use trendline angle
What I want to do is to create a trendline with angle based on 2 anchor points and then find the angle using ObjectGetDouble() so it can help me do various trading tasks such as finding chart patterns. See the code below : // OnTick() event
Stephen Reynolds
Added topic ObjectCreate() enumeration missunderstanding?
Why is it that within ObjectCreate() parameters when I set enumeration OBJ_TREND it understands anchor points okay and draws the line correctly like so void OnInit () {      // Finding 1st highest high on price (3 bars
Stephen Reynolds
Added topic ObectCreate() function sub window parameter?
In the code below I'm trying to draw a simple object on a sub window : // Input variables input int KPeriod = 14 ; input int DPeriod = 3 ; input int Slowing = 3 ; input ENUM_MA_METHOD StochMethod = MODE_SMA ; input ENUM_STO_PRICE StochPrice =
Stephen Reynolds
Added topic Trouble understanding ArrayMaximum () function?
Im trying to write a short code that finds the highest value of iStochastic from the last 3 bars using the ArrayMaximum () function . void OnInit () {      double s1 = iStochastic ( _Symbol , _Period
Stephen Reynolds
Added topic Cant understand ObectCreate() function sub window parameter?
Hi What im trying to do is get the ObjectCreate () function to draw a trendline between 2 highestHighs on the price chart and stochastic on the stochastic chart. Ive managed to code this so far but don't know why ObjectCreate() doesn't draw any
Stephen Reynolds
Added topic Finding Stochastic Highest/Lowest
Hi, is there anyway of finding the highest and lowest points on an indicator such as stochastic like you can finding the highest and lowest points using iHighest() or iLowest() function on the price chart
Stephen Reynolds
Registered at MQL5.community