Re: Range and Renko Indicators for MT4

104
mrtools wrote: Sat Sep 21, 2024 4:17 am Code wise cannot tell where it would repaint, could you please show me an example of it doing that.
Yes I can.

I blurred all the nonessential parts of the chart not to distract. As you can see in the image, signal is sent 16.30 but on the chart it appears 16.16 (chart is +1h). It is not the first time I saw this, a few days ago I got 2 signals to my phone which were not shown on the charts when I came back later.

Re: Range and Renko Indicators for MT4

105
mades wrote: Sun Sep 22, 2024 4:18 am Yes I can.

I blurred all the nonessential parts of the chart not to distract. As you can see in the image, signal is sent 16.30 but on the chart it appears 16.16 (chart is +1h). It is not the first time I saw this, a few days ago I got 2 signals to my phone which were not shown on the charts when I came back later.
By any chance do you have alertsOnCurrent to true, that kind of sounds like what is going on there.


Re: Range and Renko Indicators for MT4

107
mades wrote: Mon Sep 23, 2024 3:56 am Nope, that was the first thing I actually checked, it is set to false.
Well far as I can tell the indicator does not repaint but seems the alerts are malfunctioning and only thing different is the chart to front on the alerts, which according to what I know about it, when an alert situation happens it will alert and bring up the chart it is alerting on, anyway commented that out and see if that works, otherwise have no idea.

Re: Range and Renko Indicators for MT4

108
Found this method of filling in the gaps on M1 charts, might be good for Renko. From an FF member Erebus:

As someone who has encountered and suffered from this situation over the years, I have finally found the solution which I will share here, enjoy! Need more HELP, just ask and I can post pictures.

Just FYI as someone who use to do what you describe here; I know the pain you are experiencing trying to download historical data.

There is a better way to get the data from the server from your broker and that is:

Step 1: Open an M1 chart (M for Minute, not Month)

Step 2: Go to History Center (press F2)

Step 3: Navigate to the currency pair and the "1 Minute (M1)" history data for the chart you have open in your terminal (be sure to "double click" the "1 Minute (M1)" selection in history center so it becomes the active selection)

Step 4: Then left click once on any of the data rows in the right-hand window of the History Center (it doesn't matter which one)

Step 5: Click the "Edit" button, this pops up another window titled "Bar" and the default selection is on the "year"

Step 6: Push the down arrow on your keyboard until the year reads something silly like 1970

Step 7: Then select "OK"...this doesn't actually edit the data you selected but rather it creates a new bar with the timestamp and price info you just edited...don't worry about this as you will delete this fake bar in the end

Step 8: Now select "Close" in the History Center

Step 9: Navigate to your M1 chart of interest and then from the terminal menu select "Charts -> Refresh"...this will refresh the chart and attempts to fill any time gaps in the chart data (which now includes your year 1970 data point) with server data

Step 9 continued... Now your chart will have pulled anywhere from 2048 to 65536 M1 bars from your broker's server (not MetaQuotes server) and is usually far more data than you can get the broker to cough up when you try and manually scroll your M1 chart back in time

Step 10: Go back to History Center (press F2) and navigate to your currency pair and its M1 data

Step 11: scroll down the data to the bottom of the list, your will see your 1970 candle there, click it once and then click the "Delete" button in the History Center window

Now you have really quickly downloaded all the broker's M1 data on your currency pair that the broker is going to let you have, much faster than holding down the home or page-up key for minutes and minutes to download even less data. It works with charts of other timeframes as well.
These users thanked the author mrtools for the post (total 4):
Jimmy, Sutatong, Ganesh, RodrigoRT7