Show quotes in a certain date range

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #162574 quote
    pableitor
    Participant
    Master

    Let’s say that I open the chart of some instruments but I just want to plot a range of dates, that is, I only want to work with the prices between February 1, 2020 to May 1, 2020. Is there a PRT11 menu for this?  If not, would it be possible to make some indicator to do it?

    #162587 quote
    Nicolas
    Keymaster
    Master

    Possible to do that with an indicator, the below code plot candlestick between 2 dates. Click “hide” on the price settings to disable the default candlesticks of the price chart too.

    start = 20200201
    end = 20200501
    
    if date>=start and date<=end  then 
    drawcandle(open,high,low,close) 
    endif 
    
    return
    pableitor thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Show quotes in a certain date range


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
pableitor @pableitor Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/25/2021
Status: Active
Attachments: No files
Logo Logo
Loading...