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

Re: [EquisMetaStock Group] Writing an Indicator



PureBytes Links

Trading Reference Links

is this what you want ?

q1:=Input("set entry price",0,99999,99);
q2:=Input("set max pain treeshold in %",1,99,5);
q3:=Input("if long press 1, if short press 0",0,1,1);
k0:=If(q3=0,-1,1);
k1:=q1;
k2:=q1*(1-(k0*(q2/100)));
k1;k2;


--- mickie_pitts <jaguarvp@xxxxxxxxxxxxxxxx> wrote:
> I would like to write an Indicator for stock entry
> price.
> 
> I would like for it to ask the "Entry Price", "Long
> or Short" and 
> then plot a horzional green line for LONGS and a red
> line for 
> Shorts.  Also display a yellow line as a stop
> indicator.  The stop 
> indicator would be a % of the Entry price.  Would
> need to program 
> that in say a 5%.
> 
> Thanks for anyones help.
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/