Forum

Help with Summing Daily DrawDown Data in MQL5 Table

I have an indicator that displays account information along with details about trades made during the current day and previous days. The indicator shows information on both the right and left sides of the chart, reading from the trading history. With my limited programming knowledge, I've added

Bearish candles to close the operation.

Is there any good Samaritan with a big heart who can help me with how to do this? The image speaks for a thousand words, but what I need is that when I open a position, in this case, Sell, if the price moves in favor, it should count the bearish bars. However, if a bullish bar appears, it should not

Bullish and Bearish Bars

Hello. I'm sorry for my English. Can someone help me? I'm new to this, and I'm trying to get the number of bullish and bearish bars forming up to a distance of N bars. I'm doing it like this, but it counts the bars that are before the trade itself, the ones that have already formed. I'm trying to

Highs and Lows in range on different days

Hello everyone. Is there a way to get the maximum and minimum in a range of Hours from the current day to the next day? Example From Current Day Time 15:00 Until Next Day Time 14:00. Thanks for the help