-
Play videoPlease edit your post.
For large amounts of code, attach it - int lowbar = iLowest(Symbol(), PERIOD_M5, MODE_LOW,215,1);You are mixing apples and oranges.
int highbar = iHighest(Symbol(), PERIOD_M5, MODE_HIGH,215,1);
datetime HighestTime=Time[highbar];
datetime LowestTime=Time[lowbar];
I appreciated your suggestion, but don't help me. I apologize for the posted code incorrectly.
Billyblu68: I appreciated your suggestion, but don't help me.
| I did help you, but apparently you can't be bothered to click on links and learn. |
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
int lowbar = iLowest(Symbol(), PERIOD_M5, MODE_LOW,215,1);
dstart=LowestTime;
or
dstart=HighestTime;
...
I want to modify this indicator by changing the count from from the Top or Low within a range of x bars to Yesterday's High or Low bars. I used iHigh and iLow to obtain this, but the indicator return wrong results. I'm a newbie so I made surely some errors.
Can you help me about this? Thanks in advance for your cooperation.
Regards.