Inside Bars

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #148754 quote
    Nicolas
    Keymaster
    Master

    So that’s a Doji between 2 big candles, right? I haven’t read the whole topic, but bear in mind that each different request must be posted in different topic, to help us keep the forum clear and to help people finding the good information in the right place, thanks.

    #148774 quote
    gregoire
    Participant
    Senior

    yes Nicolas is a doji between two big candles, the doji can be either green or red, is there a possibility of varying the size of the 2 big candles in order to reduce or increase the signals on the indicator? thank you

    #149007 quote
    gregoire
    Participant
    Senior

    Hello Nicolas Can you help me move forward on this code, I expected a suggestion as you usually do and there … nothing … I thank you…

    #149015 quote
    Nicolas
    Keymaster
    Master
    The below code will find doji with body size of max “DojiPercent” percentage of the whole candlestick range, contained between 2 candles of minimum “CandleBodySize”, which have a maximum difference of “Maxdifference” percent in their body ratio.
    DojiPercent = 50 //percentage
    CandleBodySize = 10 //points 
    Maxdifference = 20 //percentage
    // ---
    
    doji=(abs(open - close) <= (high - low) * (Dojipercent/100))
    body = abs(open-close)
    bodysize = body>=candlebodysize*pointsize 
    
    if bodysize and (max(body,body[2])-min(body,body[2]))/body[2]<=maxdifference/100 and doji[1] then 
     //drawarrow(barindex[1],low[1])
     //backgroundcolor(150,150,150,50)
     drawrectangle(barindex[2],highest[3](high),barindex,lowest[3](low))
    endif 
    
    return
    doji-and-big-candles.png doji-and-big-candles.png
    #149106 quote
    gregoire
    Participant
    Senior

    hi thank you nicolas, I test and see what it gives. thank you

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.

Inside Bars


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
brendab180 @brendab180 Participant
Summary

This topic contains 19 replies,
has 5 voices, and was last updated by gregoire
5 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/10/2018
Status: Active
Attachments: 6 files
Logo Logo
Loading...