Hi. I am building the automatic strategy and I need the code to count the number of bars from Forex Trend indicator. And hint would be appreciate. thank you
- Counting Histogram Bars
- Coding help
- New metatrader 4 compatible indicators
matomato: Forex Trend indicator. hint would be appreciate.
- Do you expect us to know what indicator and what version you are referring two?
- If it shows a trend, what does number of bars have to do with that?
- There are no mind readers here.
matomato: I would like to count for example 3 red bars and than do something.
So what's stopping you?matomato: . And hint would be appreciate.
Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
matomato:
It's a -> SilverTrend.mq4 | b//| SilverTrend rewritten by CrazyChart. I would like to count for example 3 red bars and than do something. See the image...
It's a -> SilverTrend.mq4 | b//| SilverTrend rewritten by CrazyChart. I would like to count for example 3 red bars and than do something. See the image...
Intresting, i read nearly the same s... in the german forum
hm I tried with -> if(counted_bars>3) ... but doesn't seems to work.
matomato: hm I tried with -> if(counted_bars>3) ... but doesn't seems to work.
- "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't
start, won't go in gear, no electrical, missing the key, flat tires -
meaningless.
We can't see your broken code.
There are no mind readers here and our crystal balls are cracked.
- Do you really expect an answer? We can't see how you calculate counted_bars.
- You originally said "count for example 3 red bars" yet your post is for more than 3.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register