Robert Browne
Robert Browne
Friends 1
Robert Browne
Added topic Help re-engineering indicator
I found an indicator a couple of years again. I don't know whom wrote it but it had this header at top so credit is due here //+------------------------------------------------------------------+
Robert Browne
Added topic Help noob with arrays
So I'm making my first effort into using arrays.  I'm simply trying to store close price at certain times to retrieve later in my code. Is this code going to achieve the desired result or have I ballzed up completely. int OnInit ()   {
Robert Browne
Added topic WindowScreenShot Issue
Good morning all. I use the this code to take screenshot yet when I open the file there are no picture. Can somebody identify my dumb dumb. Many thanks in advance. //+------------------------------------------------------------------+ //|
Robert Browne
Added topic #define, if/else, static vs global variables and functions
Quick couple of questions, hoping someone can help. If I did this #define NoBox 0 #define BoxForming 1 #define ActiveBox 2 #define ActiveTradePattern 3 int GetBoxCondition; int somefunc()   {    if (A==B) GetBoxCondition = NoBox;
Robert Browne
Added topic Strategy tester slowing down during backtesting
From the dairies of the worlds worst programmer So I run the attached code through strategy tester Yet every time I do it slows down each pass just a little bit more. Initially I could do a non-visual test in under 10 minutes. Now it takes an hour
Robert Browne
Added topic for(int pos = orders_total-1; pos >=0; pos--) VS for(int pos = 0; pos < orders_total; pos++)
Hi all Been searching around the forum looking for references in regard to when to use "for - count down" vs "for - count up" statements. I use the following code to check open orders in my bot    int orders_total = OrdersTotal ();
Robert Browne
Added topic Error in strategy tester
So I run this code in strategy tester   //+------------------------------------------------------------------+
Robert Browne
Added topic implicit conversion from 'string' to 'number' error - what have I missed
Hi all   I am running the below code in an EA, the idea is to copy the pattern created inside the bot as a comment on my order. But I get the above error. What have I done wrong?    //Specification Engine Rule 1    if
Robert Browne
Added topic Optimizing in Strategy tester
Hi all I'm running the attached code through strategy tester . Works well in visual mode. Just as nice in non-visual mode. But try and run an optimization test and it doesn't take a trade.  Any chance someone can tell me why?  I do note
Robert Browne
Added topic From the diary of the worlds worst programmer part 2
This is following on from a recent post I built this little indicator with some valued help to measure in my eyes, a pairs "strength". Use it much like an RSI or Stochs. But that's another topic.  
Robert Browne
Added topic Help with arrays and memory
From the diaries of the world's worst programmer So I'm learning about arrays but not being very bright, struggling to understand how they actually populate themselves and how that affects memory allocation and resources. I'm trying to build my own
Robert Browne
Added topic Help with chart screen shot
From the diaries of the worlds worst programmer. So I have implemented the following code in my bot, the idea is to take a screenshot OnTimer and on a button click   //+------------------------------------------------------------------+
Robert Browne
Added topic Looking for direction with custom indicator
I have been working on this great custom indicator that detects ranging boxes. In its barest form, it detects double, triple and so on inside bars and then draws a box  around them.  Since the same price action forms all time frames
Robert Browne
Added topic How to grab values from this custom indicator???
G'day all I had this custom indicator made and for what I want it is a little beauty. It basically draws a box around inside bars, double inside bars, triple inside and so on. But I had it designed to work on smaller timeframes. A couple of things I
Robert Browne
Added topic Coding help with this indicator
Ok so I only just passed coding 101. But its enough for me to do the basics. So I modified a donchian channel indicator so it only adjust levels when a new high or low is made. But it only works once applied to a chart.  Could someone have a
Robert Browne
Added topic Why doesn't my indicator work
So I'm pretty simple. But I tried this and nothing. Just indicator buffer#1 detached???   //+------------------------------------------------------------------+