Simple CLOSE indicator 1second

Forums ProRealTime English forum ProBuilder support Simple CLOSE indicator 1second

Viewing 2 posts - 1 through 2 (of 2 total)
  • #17463

    Hi,

    I am new on the forum and would like to thank all contributors and congratulate the managers.

    I have a very simple question, which I hope, has an answer.

    I would like to code a simple indicator, which would show the CLOSE price EVERY SECOND, considering that if there is not such information available as a candlestick on the graph, the indicator should display the last available 1s CLOSE price.

    Example :

    DAX close @ 11:39:22 = 10 582    (INDICATOR returns 10582)

    DAX close @ 11:39:23 = 10583    (INDICATOR returns 10583)

    DAX close @ 11:39:27 = 10579 (INDICATOR returns 10583 for 11:39:24, 11:39:25,11:39:26 ; and 10579 for 11:39:27)

     

    Hope it’s clear and manageable.

    Thanks in advance,

    BR,

    Thomas

    #17492

    I move your post from French forum to the English one, if you want to talk english, please open your topic in the correct forum next time =)

    There is no “second” instruction in prorealtime coding language, however time is dependent to market moves, if no new tick is received, the chart will not move and the code will not be computed, so if I understand correctly your request, it is the same as displaying the current close such as : “RETURN close”.

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login