PureBytes Links
Trading Reference Links
|
change = iif( barssince(buy)<barssince(sell), c/valuewhen(buy,c)*100,
c/valuewhen(sell,c)*100 );
On Thu, 13 Jan 2005 16:56:20 -0000, joeemmett2000
<joeemmett@xxxxxxxxxxxxx> wrote:
>
>
> I am trying to get the % change from the last buy or sell signal to
> current date.
>
> I found something similar to what I need except it goes to the first
> bar.
>
> WriteVal( BeginValue( DateTime() ), formatDateTime );
> WriteVal( EndValue( DateTime() ), formatDateTime );
> "Percentage change since last signal is " +
> WriteVal( 100 * (EndValue( Close ) - BeginValue( Close ))/BeginValue(
> Close ) ) + "%";
>
> I need to substitute Value and Date of last signal for BeginValue.
>
> Thanks for your help,Joe
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ 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/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/
|