I have no expertise as a programmer!
can anyone help me write an indicator calculations (the difference) the 1 min number of bars by a specific date entered manually .. at the current bar (last bar); the values must be written in the chart and in an external file (txt, csv ..) every 1, 5 min etc ... updated or exported via dde
example: the date 02/03/2016 ,15:00 (manual date) - 03/02/2013 16: 05 (last date) =
65 bars (value to be written in external files or exportable dde)
I read somewhere that you can use a feature called "ibarshift"!?
thanks!dr.feelgood1989
For the difference, you can do it like this :
double difference = Close-Close;
dr.feelgood1989
For the difference, you can do it like this :
double difference = Close-Close;Mladen, thanks for the reply ...
but I do not know where to put the code in metaeditor ..
I do not mean the language.
can you give me an example ??
thank you.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have no expertise as a programmer!
can anyone help me write an indicator calculations (the difference) the 1 min number of bars by a specific date entered manually .. at the current bar (last bar); the values must be written in the chart and in an external file (txt, csv ..) every 1, 5 min etc ... updated or exported via dde
example: the date 02/03/2016 ,15:00 (manual date) - 03/02/2013 16: 05 (last date) =
65 bars (value to be written in external files or exportable dde)
I read somewhere that you can use a feature called "ibarshift"!?
thanks!