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

[EquisMetaStock Group] Re: Code for %price increments



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "superfragalist" <j3ttt@xxxx> 
wrote:
> Has anyone seen any code for creating an expert or indicator that 
> will identify when a price moves up x% from the entry price and 
then 
> moves up x% again from the previous x% increase.
> 
> Jack

Hi Jack,

Try this indicator:
-----------------------------------------------------------------
{Percentage Crossover w/Input}
Percentage:=Input("Enter the percentage threshhold;",0.1,20,3.0);
base:=(100-Percentage)/100;
top:=(100+Percentage)/100;
If((C*base)>PREV,C*base,If((C*top)<PREV,C*top,PREV))

-----------------------------------------------------------------

Regards,

Tim


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/BefplB/TM
---------------------------------------------------------------------~->

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/