[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Identifying Pnf Patterns



PureBytes Links

Trading Reference Links

Delete at the beginning of the code:
GraphColor =  ParamColor("GarphColor",colorLightGrey);

And add below: 


Graphcolor = IIf(direction ==1, ParamColor("X_Color", colorGreen),
ParamColor( "O_Color", colorRed)); 

PlotOHLC(Op, Hi, Lo, Cl,"", GraphColor ,
stylePointAndFigure|styleNoLabel, 0, 0 ,shiftChart);






--- In amibroker@xxxxxxxxxxxxxxx, "dmcleod1981" <dmcleod1981@xxx> wrote:
>
> Is there a way to change the color of the columns i.e. one color for
> x's and another for o's etc. I tried to use the "direction" in an iif
> statement but it didn't work. 
> 
> PS. it works great. It is interesting watching it work backwards in
> the replay mode although it doesn't scale to the time correctly.
> 
> Thanks
> DM
> 
> 
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/