Hollow Candlestick

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #117603 quote
    MajorBasse
    Participant
    Average

    Is it possible to code a hollow candlestick chart for those of us still at Version 10.4 of ProRealTime?

    #117726 quote
    Nicolas
    Keymaster
    Master

    if you have a black background color on your chart, the custom code below is working nicely to plot hollow candles in place of normal candlesticks.

    if close<open then 
    drawcandle(open,high,low,close) coloured(0,0,0) bordercolor(255,0,0)
    else
    drawcandle(open,high,low,close) coloured(0,0,0) bordercolor(0,255,0)
    endif
    
    return
    MajorBasse thanked this post
    hollow-candlesticks-code.png hollow-candlesticks-code.png
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Hollow Candlestick


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
MajorBasse @majorbasse Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 01/23/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...