Find first bar of the day

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #248856 quote
    occhiostanco
    Participant
    New

    Hi all,

    i need to know data related to first bar of the day, or its BARINDEX

    The code:

    If time = 000000 then

       MyHI = high

       MyLO = low

    Endif

    Return MyHI ashigh”,MyLO aslow

    #248860 quote
    occhiostanco
    Participant
    New

    …. a bit of help about how to insert formatted code in a post will be appreciated too!

    #248861 quote
    Iván González
    Moderator
    Master

    Hello.
    I have moved your query to the English forum. Remember to write in the language of your chosen forum.
    Regarding how to insert code, by default I always post in the forum with the code option, instead of visual.
    Here you can click on the Add PRT Code button to add code (see screenshot).
    regarding your main question:
    You can use intradaybarindex

    if intradaybarindex=0 then
    myhi=high
    mylo=low
    endif
    
    return myhi, mylo
    #248866 quote
    occhiostanco
    Participant
    New

    ok Ivan, thank you

     

    And yeah! INTRADAYBARINDEX

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Find first bar of the day


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by occhiostanco
6 months, 3 weeks ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/14/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...