Forum

Inidicator deinitialisation after timeframe change - how to keep values for graphical object (HLINE)?

Hello all, just wondering, if this is possible in MT5: In an indicator I create a horizontal line . Whenever this line is moved, the new price value is stored and can be obtained from an underlying object. The line's name is created dynamically using the current time. Unfortunately, whenever the

Examples for subclassed trendline?

Hello all, aiming to create an indicator that basically consists of a trendline displaying text at its ends. RayRight and RayLeft should be prohibited (easy). The handling should be just as if it was a regular trendline (difficult). My questions at the moment are as follows: 1) Which time/price

Get all objects programatically?

Hi, is it possible to get a list of all objects in a chart? I'm looking for a solution to remove some , but not all objects on a chart, but do not know the object's IDs - only a constant prefix that is given. Any ideas? Thanks and all the best. Me