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

[amibroker] Re: End Plot



PureBytes Links

Trading Reference Links

Hello Terry,

using null got me a little closer,i am getting line breaks  but it
still isnt plotting correctly. i am pretty new at this so its trial
and error.

aa = HHV(C,9);
b = LLV(C,9);
aa=a-(ATR(9)*2.5);
bb=b+(ATR(9)*2.5);

Vstop=IIf(C>aa,aa,Null);
Vsbot=IIf(C<bb,bb,Null);

Plot (Vstop,"VS",colorRed);
Plot (Vsbot,"VS",colorGreen);

Thank you 

Andy




--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>
> Try a conditional and set it to Null where you want no plot. Something
> along these lines.
> 
> Plot(IIf(VStop > C,Null,VStop),IIf(VStop > C, colorGreen...
> 
> --
> Terry
> 
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of trader11705
> Sent: Saturday, January 21, 2006 07:55
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] End Plot
> 
> Hello,
> 
> Is there a way to stop a plot line and start it in a different place
> on the chart. i am plotting a Volatility Stop and i want it to flip
> above and below the price when the bar closes above and below the VS
> line.
> 
> thanks
> andy
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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