Simple CLOSE indicator 1second

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17463 quote
    Toto le Heros
    Participant
    Veteran

    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 quote
    Nicolas
    Keymaster
    Master

    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)
  • You must be logged in to reply to this topic.

Simple CLOSE indicator 1second


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
9 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/29/2016
Status: Active
Attachments: No files
Logo Logo
Loading...