Proximus: .It would count how many consecutive BEARISH bars appear before a BULLISH bar disrupts the sequence, and how many consecutive BULLISH bars appear before a BEARISH bar disrupts the sequence;
Then why don't you do exactly that instead of trying to remember the count as bars form.
Usually people who cannot code do not receive free help on this forum, although it could happen if you are lucky. Be patient.
If you show your attempts and describe your problem clearly, you will most probably receive an answer from the community.
If you do not want to learn to code, that is not a problem. You can either look at the Codebase if something free already exists, or in the Market for paid products (also sometimes free).
Finally, you also have the option to hire a programmer in the Freelance section.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
As
is within the Start() function, won't it reset every tick?
Theoretically i dont know but practically the code works very well.
As
is within the Start() function, won't it reset every tick?
No. Bar1Time is declared as a static variable. See documentation for Static Variables.
No. Bar1Time is declared as a static variable. See documentation for Static Variables.
Thanks Thirteen, I find that explanation a bit confusing.
I understand now, so a little bit more added to the knowledge bank.
Please I need a candle stick counter indicator with functions as followed once the bar closes
Please do not hijack old threads.
Forum on trading, automated trading systems and testing trading strategies
Welcome,
Good luck.