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
Having looked at the function again I have made a slight adjustment
which may be closer to what you are looking for:
Time:=Input("Periods",1,21,5);
Level:=Input("% below low for stop",0.1,5,2);
LowPrice:=HHV(L,Time);
Stop:=HHV(LowPrice*(1-Level/100),5);
Stop;
Regards,
Adrian
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/
|