Hi,
is there any way to get the P%F source?
I´d like to modify it to get a P&F chart that is based on recent volatility instead of points/percentages.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        All Trending ChartStyles are proprietary, closed source.
Where is the recent volatility method discussed?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        I just like to have recent ATR as a measure for box size instead of percent.
I think it is used here:
http://www.amibroker.com/library/detail.php?id=348
So, box size would change over time and fit to volatility. Would this be something you would be thinking about to integrate in the already available P&F implementation?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Yes, similar logic would be good for renko and p&f charts.
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Sure, we can consider adding that method, but it won't happen for some time, maybe later this year.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        @Cone
How realistic is this?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Realistic for doing it by the end of the year?  It's hard to say.  I start almost everyday with a plan of things I'd like to do, but I end up working on the things that pop up that need to be done sooner.  This PnF  modification would be at the end of the queue.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        This lookout does not fit to my needs. So I will do it myself.
If only I would not have to start from scratch...
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        What I am trying to do first is to replicate a renko chart and modify it afterwards to make it atr based.
However I am having problems right in the beginning.
With this code I try to set the bar width.
CODE:
Please log in to see this code.
Then I render the bars with this one:
CODE:
Please log in to see this code.
What I get is a chart that is missing the bars I set to zero. Good thus far. However, one the bar after thos bars DrawEllipse paints the chart for every bar that was set to zero, resulting in this:

Why is it painting these multiple ellipses?
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        It would really help if there were a open source of a trending chartstyle.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Please see Robert's reply dated 4/15/2010 10:51 AM. Wealth-Lab is a proprietary, closed source application owned by Fidelity.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        I fully understand. However, I hope that someone could provide his own code of a trending chart style that would give hints in the right direction. 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        one further question I need help with:
currently I draw four lines to paint the bricks of a renko chart to the chartpane. However, I´d like to replace this with Draw.Rectangle.
However, I seem to have a misunderstanding regarding the height parameter:
CODE:
Please log in to see this code.
The DrawLine code works fine. What am I doing wrong with DrawRectangle then?
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        No one any idea on this?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        @Cone
QUOTE:
Sure, we can consider adding that method, but it won't happen for some time, maybe later this year. 
I am pretty sure at this point in time that I am able to create this on my own. So, if I decide to provide this to the community there is no need for you to program this.
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Excellent!
    
    
        
    
    
        
    
    
        Size:  
    
        Color: