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 //+------------------------------------------------------------------+
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 () {
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. //+------------------------------------------------------------------+ //|
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;
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
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 ();
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
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
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.
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
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 //+------------------------------------------------------------------+
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
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
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
So I'm pretty simple. But I tried this and nothing. Just indicator buffer#1 detached??? //+------------------------------------------------------------------+