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

[amibroker] Re: draw stop loss



PureBytes Links

Trading Reference Links

The color parameter is expected to be a single value, not an array, I 
think. 

But thank you for your help anyway.

--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxxx> wrote:
> How about something like this?
> 
> Color = Iif( Stop != 0, colorBlue, your background color );
> Plot( Stop, "Stop", Color, StyleDots|StyleNoLine );
> 
> Steve
> 
> ----- Original Message ----- 
> From: "archstone2003" <archstone2003@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, June 02, 2005 2:11 PM
> Subject: [amibroker] draw stop loss
> 
> 
> > Hi,
> > 
> > Suppose I have calculated an array for stop losses (for either 
long or 
> > short trade), how do I draw it along with price?
> > 
> > I don't want to draw a continues line, I know how to do that. In 
the 
> > stop loss array, if there is no trade signal (or if ther is no 
open 
> > trade) based on my system, the stop loss value for that day is 0, 
> > otherwise I calcualte a value for that day, how can I draw the 
stop 
> > loss only when it value is not 0?
> > 
> > I tried PlotShape but I couldn't find a shape that is small 
enough for 
> > this drawing purpose -- they are too big to fit with the price 
chart.
> > 
> > Thanks.
> > 
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> >




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/