Forum

How to avoid zero plots?

Hello ... Is there a way to avoid zero plots? I am plotting candle sticks around e.g. the 900-1000 range, and when I get a candle where I don't have data for, the candle ohlc all plots at 0. This squeezes all the candles to a 0-1000 range. Is there an option to avoid this? In Sierra there is the

Cumulative bid/ask delta bars.

Hello ... I am working on two scripts which makes it possible to copy over cumulative delta bars from other programs (in my case sierracharts) to MT5. Here is an example screenshot from this morning showing the EURUSD chart with sierra 6E futures delta bid/ask candles

Possible? DRAW_COLOR_CANDLES + DRAW_COLOR_BARS within the same indicator script?

Hello ... Is it possible within the same indicator script to display two data sets, one with DRAW_COLOR_CANDLES and the second set on top with DRAW_COLOR_BARS. Both data sets are within the same 0-100 range, so that's not an issue. If you can point me to some sort of an example script, that would

How to find bar index for ertain datetime?

Hello ... Is there a function that finds the (closest) bar-index for a certain given datetime? Thanks

Problems looping through text file.

Hello ... I am trying to generate bars with data from another program. First step is to read a text file located in \files\ES3.txt, with the content below. The file reads fine, indicated by the comment "Success", however, when I try to loop through the lines it appears the code created an infinite

Color picker / line size selector on the chart.

Hello ... Is there a Color picker / line size selector - script available that allows you to glue a couple of color buttons / size buttons to the chart, to quickly change selected lines? It would be very useful. Thanks

Copying over charts+setting between two MT5 installations.

Hello ... I am using MT5 at two locations. Which particular files can I copy over to carry over charts+settings from one location to another? I have tried to copy over the entire MT5 directory, but then MT5 started with the "factory default"? Thanks in advance for some tips

Displaying correct hours for your time zone ...

Hello ... I have been trying to write a script that displays the correct hours of my time zone, which is at -7h of the server time . I have been partially successful, the problem is that the time labels don't move when a new bar is added, and when I change time frames, some labels don't get deleted

Trend line drawing ...

Hello ... In Sierracharts, when you draw a trend line and you press the ctrl button, it makes a perfectly flat horizontal line . Is there a hotkey for this in MT5 as well? Thanks