Forum

how to return current indicator name in path

Hi i want to define some conditions to remove indicator and i want to put this check that conditions on OnCalculate() function suppose after expired time So for use ChartIndicatorDelete() function i need the name of current indicator name but __FILE__ just return compiled indicator name so if

is it possible to show integer value in data window?

In data window we have Volume and Date that they are not double but for indicator buffer we have to define double but i want to show integer values but in data window it put 4 zero after floating point that i don't want it is it possible to show integer values without floating point and zero's

profit and loss pips calculator indicator before open position

Hi I'm looking for an indicator that calculate stop loss and take profit before opening position just like when we open a position and put tp and sl line and when we move that lines it shows loss or profit in points or dollar over line but i want do same thing before opening a position with