Bar Counter MT4
FREE
Pubblicato:
10 luglio 2022
Versione attuale:
2.2
Non hai trovato un robot adatto?
Ordina il tuo
su Freelance
Vai alla sezione Freelance
Ordina il tuo
su Freelance
Come acquistare un Robot di Trading o un indicatore
Esegui il tuo EA
hosting virtuale
hosting virtuale
Prova un indicatore/robot di trading prima di acquistarlo
Vuoi guadagnare nel Market?
Come presentare un prodotto per venderlo con successo
Ti stai perdendo delle opportunità di trading:
- App di trading gratuite
- Oltre 8.000 segnali per il copy trading
- Notizie economiche per esplorare i mercati finanziari
Registrazione
Accedi
Accetti la politica del sito e le condizioni d’uso
Se non hai un account, registrati

thank you, can you give me 5 stars on review? please test this files.set on you indicator, I think this you can get this confing using it:
result:
download and use this file.set, or just set the paramter time as 09:30
Thank you very much!!
thank you, can you give me 5 stars on review? please test this files.set on you indicator, I think this you can get this confing using it:
result:
download and use this file.set, or just set the paramter time as 09:30
Thanks for creating this indicator. I highly suggest to include an option to choose a color for a specific number/s. For example, I wanted to apply red color on every 5th candle on H4. I really hope that you consider this suggestion.
Again, thank you very much!
Hello!
Thanks for creating this indicator. I highly suggest to include an option to choose a color for a specific number/s. For example, I wanted to apply red color on every 5th candle on H4. I really hope that you consider this suggestion.
Again, thank you very much!
Oh I got this already! Sorry abt that 😅
I just have another suggestion that you may consider:
Add one more specific number with distinct color. For example, I would like to distinguish the 5th, 8th, and 11th candle.
Thank you!
hello, thanks for the contact, you can insert two or more of this indicator on your chart with different inputs combinations
Hi,
I tried your suggestion but I noticed that the indicator doesn't show the highlighted numbers at the same time. It will only show the two numbers from the 1st indicator or the other two from the 2nd indicator but not all 4 of them simultaneously. Please do advice.
Thank you!
On image, we can see the specifics numbers 5 18 and 41
on the first indicator I set your specific number 5 with red color, all of others are disabled

on the second indicator I just disable the odd, even and divisibles numbers and the specific Al Brooks' numbers 18 and 41 continue as defaulttry it and let me know if is all right
On image, we can see the specifics numbers 5 18 and 41
on the first indicator I set your specific number 5 with red color, all of others are disabled
on the second indicator I just disable the odd, even and divisibles numbers and the specific Al Brooks' numbers 18 and 41 continue as defaulttry it and let me know if is all right
Thank you very much for your suggestion! It works as shown. 👍
You're welcome! I'm glad I could help you with your indicator. If you need any further help, feel free to reach out to me anytime. Additionally, if you're interested, I have other indicators that you might find helpful on this page: Indicators for Metatrader
you are welcome
Francisco,
I am new to the community. I am trying this out. Will update and review this. Thanks for sharing this.
Hello helloravi,
Welcome to our community! We're thrilled to have you here. It's wonderful to know that you're exploring and trying things out. Feel free to dive into all the possibilities and resources available. If you have any questions, want to share your experiences, or need assistance, don't hesitate to reach out. We're looking forward to your update and review. Thank you for joining in and sharing your insights with us!
And do not forget to check if my other indicators to metatrader 4 and metatrader 5 can be useful to your strategy :)
Why can't I download this file?
I do not know
Hi i have been looking for a indicator to perform just like this one but i am unable to download it can you please send it over to me via IM thank you very much for your time.
I think you should have your Mql5.com login at your Metatrader 4/5 to donwload indicators from Market
I like it, very nice.
Suggestion 1:
One small suggestion for a new input variable: Start_divisible_group_numbering_with_1 = false; (or true? but false matches your current behavior)
I want to count by 3', but label 1,4,7,... I don't see a way to do that, but with my proposed variable as 'true', it does the trick.
Suggestion 2:
For offset, you have "Distance from the candle (in ticks)" = 6, but the problem is it doesn't scale well with changing timeframes, especially to large ones.
I suggest to offer the user a "Distance from the candle (% of max-min)" = 1.0 (or experiment, and pick a number you prefer).
Just take % of CHART_PRICE_MAX - CHART_PRICE_MIN (which is only the bars one is currently looking at; it need not dynamically update the offset although it could, but that wastes CPU to recalculate the static numbers).
Another way would be something like "% of initial ATR(200)" rather than chart min/max. (Not just 1%, something larger).
Or find the High of iHighest(... #bars), minus the Low of iLowest(... #bars), and take a one-time % of that upon startup.
Either approach would scale large timeframes with bigger offsets, smaller timeframes with smaller offsets. They should look about the same in terms of pixels regardless of timeframe.
Suggestions/Question 3:
Any idea about how much CPU loading this indicator does?
I expect you know plenty, and would draw-once for max bars, then update only upon some "isNewBar()" function true (or a chart 'Refresh').
Here's how I measure performance:
//Global vars:
int count = 0;
long microSum = 0;
At beginning of OnCalculate/start(), I do:
long microStart = GetMicrosecondCount();
// do all your calculations and stuff//
long microEnd GetMicrosecondCount();
count++;
long procTime = microEnd - microStart;
microSum += procTime;
if(count<20) Print("DEBUG pass# ",count," took ",procTime," usec");
In OnDeinit:
if(count>0) Print("DEBUG Average processing time= ",microSum/count," for ",count," passes");
Suggestion 4:
Some others have asked to be able to highlight more than the 2 specific bar numbers you offer. I don't know, but my guess is having a unique color isn't as important as just marking it.
So, you could change 3 lines with "Number 1" to "Number(s) (Set1)". Then "Specific Number(s) (Set1)" = 18 (current default)
... but allow user to say "18 25 33", then you convert the string to an int array, then mark each of the bars 18, 25, 33... the same way.
Same feature for "Number(s) (Set2)" ... =41 (current default)
A slight drawback could be:
I know that changing the current input "int" to "string" types would possibly break existing templates (??). I didn't experiment, but it might still work if number 18 becomes "18". I don't know.