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

Re: [amibroker] draw stop loss



PureBytes Links

Trading Reference Links

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@xxxxxxxxx>
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 --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/