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

[amibroker] Re: plot vertical lines between days on an intraday chart in IB



PureBytes Links

Trading Reference Links

Thanks Anthony

 i maybe wasn't too clear on what i wanted, what i wanted was to add 
vertical dotted lines between the days to a **custom indicator**, the 
vertical day break line is avaliable in the built-in indicator by 
turning it on or off in the preferences settings.

 but adding the code you provided at the end of my formula (a custom 
indicator) does give me a solid vertical line between the days on my 
intraday charts and for that i thankyou . 

 Don


--- In amibroker@xxxxxxxxxxxxxxx, "ajf1111us2000 <ajf1111@xxxx>" 
<ajf1111@xxxx> wrote:
> Don,
>  
> Amibroker does not have built-in vertical grid lines ( at this 
time ,
> or at least I have not found them ) .....Here is a work around.....
>  
> In indicator builder...go to Built-in formulas....go to 
Price...which
> is the main price chart window... add the following formula above 
the
> line that reads:
>  
> //indicator end---------
>  
> Set the color of the vertical lines to match the color of the grid
> lines in the preferences window....
> 
> Plot(C,"",colorBlack,styleCandle);//this is so the candles plot on 
top 
> 
> Plot(IIf(Day() >
> Ref(Day(),-1),1,0),"",colorWhite,styleHistogram|styleOwnScale);
> 
> Plot(IIf(Month() !=
> Ref(Month(),-1),1,0),"",colorWhite,styleHistogram|styleOwnScale);
> 
> Anthony
> 
> 
> 
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Don <ddsmcl@xxxx>" <ddsmcl@xxxx> 
wrote:
> > 
> >  how to add vertical dotted lines between the days in IB like the 
> > one's that are on the builtin price chart when ck'd in the 
> > preferences settings.
> > 
> >  plot(......,......., etc ) i'm thinking but the help is no 
help ;).
> > 
> >  tks Don


Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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