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

Re: [amibroker] Re: quick way to enter trendline alerts



PureBytes Links

Trading Reference Links

If you want to control style with IIF statements you can plot your 
indicator twice and Null one of them out using some conditional 
statement.
An example:

Cond=BarIndex()>LastValue(BarIndex())-30;
Plot(IIf(cond,C,Null),"",colorBlack,styleCandle);
Plot(IIf(!cond,C,Null),"",colorBlack,styleBar);

JS




--- In amibroker@xxxxxxxxxxxxxxx, "Michael.S.G." <OzFalcon@xxxx> 
wrote:
> Tommasz,
>    But you can not assign with IIF statements like you can with 
Colour.
> 
> Eg.
> Style = IIF ( x > y, 64,256);
> 
> KR
>          Michael.
> 
> 
> 
> At 05:50 AM 24/02/2004, you wrote:
> >Hello,
> >
> >But... styles are already available (styleLine, styleBar, 
styleHistogram, 
> >styleArea, styleCandlestick, styleDots, styleNoLine,
> >styleNoRescale, etc...)
> >
> >Best regards,
> >Tomasz Janeczko
> >amibroker.com
> >----- Original Message -----
> >From: "Michael.S.G." <OzFalcon@xxxx>
> >To: <amibroker@xxxxxxxxxxxxxxx>
> >Sent: Monday, February 23, 2004 12:46 PM
> >Subject: Re: [amibroker] Drawing Tools
> >
> >
> > > Tomasz,
> > >          Just a quick question,
> > > Can you implement "Style" the same way as "Color" for plot 
function?
> > >
> > >          KR
> > >          Michael.
> > >
> > >
> > >
> > > At 10:17 PM 23/02/2004, you wrote:
> > > >Hello,
> > > >
> > > >The layer that is selected has to be VISIBLE (has to have 
checkbox 
> > ticked on).
> > > >
> > > >Best regards,
> > > >Tomasz Janeczko
> > > >amibroker.com
> > > >----- Original Message -----
> > > >From: <mailto:rick300m@x...>Rick Miller
> > > >To: 
<mailto:amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
> > > >Sent: Monday, February 23, 2004 8:36 AM
> > > >Subject: [amibroker] Drawing Tools
> > > >
> > > >My drawing tools stopped working on "some" of my charts. When 
I release
> > > >the mouse button, the line disappears.
> > > >I checked the color and it is not background, I checked 
layers and they
> > > >are selected.
> > > >
> > > >The charts I am having trouble with use STYLEOWNSCALE format, 
does this
> > > >prevent drawing tools?
> > > >
> > > >
> > > >
> > > >--------------------------------------------------------------
-----------
> > > >FIGHT BACK AGAINST SPAM!
> > > >Download Spam Inspector, the Award Winning Anti-Spam Filter
> > > ><http://mail.giantcompany.com/>http://mail.giantcompany.com
> > > >
> > > >
> > > >
> > > >
> > > >Send BUG REPORTS to bugs@xxxx
> > > >Send SUGGESTIONS to suggest@xxxx
> > > >-----------------------------------------
> > > >Post AmiQuote-related messages ONLY to: 
amiquote@xxxxxxxxxxxxxxx
> > > >(Web page:
> > > ><http://groups.yahoo.com/group/amiquote/messages/)
>http://groups.yahoo. 
> > com/group/amiquote/messages/)
> > > >--------------------------------------------
> > > >Check group FAQ at:
> > > 
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://
gro 
> > ups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > >
> > > >
> > > >
> > > >Send BUG REPORTS to bugs@xxxx
> > > >Send SUGGESTIONS to suggest@xxxx
> > > >-----------------------------------------
> > > >Post AmiQuote-related messages ONLY to: 
amiquote@xxxxxxxxxxxxxxx
> > > >(Web page:
> > > ><http://groups.yahoo.com/group/amiquote/messages/)
>http://groups.yahoo. 
> > com/group/amiquote/messages/)
> > > >--------------------------------------------
> > > >Check group FAQ at:
> > > 
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://
gro 
> > ups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > >
> > > >
> > > >Yahoo! Groups Sponsor
> > > >ADVERTISEMENT
> > >
> > 
><http://rd.yahoo.com/SIG=12cde9tvo/M=274551.4550177.5761904.1261774/
D=egr 
> > oupweb/S=1705632198:HM/EXP=1077622099/A=2019528/R=2/*http:
> >//ad.doubleclick.net/jump/N3349.yahoo1/B1282054.27;abr=!ie4;abr=!
ie5;sz=300x250;code=18634;dcopt=rcl;ord=1077535699277372?>
> > > >Click Here
> > >
> > 
><http://rd.yahoo.com/SIG=12cde9tvo/M=274551.4550177.5761904.1261774/
D=egr 
> > oupweb/S=1705632198:HM/EXP=1077622099/A=2019528/R=2/*http:
> >//ad.doubleclick.net/jump/N3349.yahoo1/B1282054.27;abr=!ie4;abr=!
ie5;sz=300x250;code=18634;dcopt=rcl;ord=1077535699277372?>Click
> > > >Here
> > > >[]
> > > >
> > > >
> > > >
> > > >----------
> > > >Yahoo! Groups Links
> > > >    * To visit your group on the web, go to:
> > > >    *
> > > > 
> > 
<http://groups.yahoo.com/group/amibroker/>http://groups.yahoo.com/gro
up/amibroker/
> > > >
> > > >    *
> > > >    * To unsubscribe from this group, send an email to:
> > > >    *
> > > > 
> > <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > > >
> > > >    *
> > > >    * Your use of Yahoo! Groups is subject to the
> > > > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
> > > >
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >Send BUG REPORTS to bugs@xxxx
> >Send SUGGESTIONS to suggest@xxxx
> >-----------------------------------------
> >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
> >Yahoo! Groups Links
> >
> >
> >
> >



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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 
Yahoo! Groups Links

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

<*> 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/