Hollow Candlestick

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

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

    #117726 quote
    NicolasNicolas
    Keymaster
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 NicolasNicolas
6 years, 8 months ago.

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