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

[EquisMetaStock Group] Re: drawing lines



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "robcpettit" <robcpettit@xxxx>
wrote:
> Is it possible to draw horizontal lines using an indicator. What Id
> like to be able to do is, when the close is rising draw a horizontal
> line say 5 bars wide under that close. When the close is not rising do
> nothing. I want to be able to draw these lines over the whole history
> of the chart and not ust at todays value. Basically its a stop loss
> signal if I can draw lines I can offset a certain percentage from the
> close. The reason for drawing them over the history of the stock is so
> I can test past sell signals. Thankyou for any advice
> Regards Robert

Hi Robert,

Not sure if this will help but it what I use, very simple, but then so
am I! It is set for a 5 period as standard.

Time:=Input("Periods",1,21,5);
Level:=Input("% below low for stop",0.1,5,2);
LowPrice:=HHV(L,Time);
Stop:=LowPrice*(1-Level/100);
Stop;

regards,

Adrian








------------------------ 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/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

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