PureBytes Links
Trading Reference Links
|
Can't help with original question, but have one of my own :)
What does the formula "Day()%5==0;" actually mean?
----- Original Message -----
From: "kaveman perth" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, October 22, 2004 8:32 AM
Subject: [trading] [amibroker] Exrem and Equity
>
> I have a formula that uses the exit price based on
> HighestSince(Buy,H-xxx). I have noticed that using exrem or equity the
> buy signals don't show in explore or on charts, but any value based on
> them is affected
> I notice that the exit price which by its definition should only ever
> rise, not fall, until the sell signal occur. But at subsequent buy
> signals the exit price does fall even though these are not shown when
> you are using equity(1) or exrem(buy,sell)
> Has anyone come across this, and has a method to actually remove the
> unwanted signals
> Here is a small sample code to demonstrate
>
> Buy = Day()%5==0;
> Exit = HighestSince( Buy, H-3*ATR(14) );
> Sell = Cross( Exit, C );
>
> //Buy = ExRem( Buy, Sell );
> //Sell = ExRem( Sell, Buy );
> Equity(1);
>
> Plot(C,"",colorBlack,styleBar);
> PlotShapes(shapeUpArrow*Buy,colorGreen,0,L,-10);
> PlotShapes(shapeDownArrow*Sell,colorRed,0,L,-10);
> Plot( Exit, "Exitprice", colorViolet,styleDots|styleNoLine|styleNoRescale);
>
> Filter = 1;
> AddColumn( Buy, "Buy", 1 );
> AddColumn( Sell, "Sell", 1 );
> AddColumn( Exit , "ExitPrice", 1.3);
> AddColumn( exit<Ref(exit,-1) AND Buy==0, "check", 1);
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|