PureBytes Links
Trading Reference Links
|
Thanks Graham
----- Original Message -----
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, January 17, 2005 11:46 AM
Subject: [trading] Re: [amibroker] Displaying correct indicator setting dependant on which
symbol is loaded?
>
> must be written as string
>
> Name() == "JPY A0-FX"
>
>
> On Mon, 17 Jan 2005 11:41:26 +1100, Steve <avalon-ardy@xxxxxxxxxxxxxxx> wrote:
>>
>> I presume that this can't be done then i.e. apply a Plot variable depending on the
>> ticker
>> displayed.
>> I thought there would a IIf(ticker() == JPY A0-FX, plot(2 decimal code),plot(4 decimal
>> code)); but can only see the name() function, which doesn't work in this instance.
>>
>> ----- Original Message -----
>> Sent: Friday, January 14, 2005 7:36 AM
>> Subject: [trading] [amibroker] Displaying correct indicator setting dependant on which
>> symbol is loaded?
>>
>> >
>> > Hi,
>> > I 've a formula that maps the daily open on Forex & places price bands around the
>> > open.
>> > For all 4 decimal crosses the band is set to 0.0005 but for JPY crosses this has to
>> > be
>> > 0.5. How can I have AFL select the right value dependent on which symbol is being
>> > displayed?
>> > eg.
>> > For 4 decimal crosses such as GBP/USD etc
>> >
>> > Plot(dao,"Daily Open",colorDarkBlue,styleNoRescale +8+16); //
>> > Plot(dao + 0.0050,"",colorBlueGrey,styleNoRescale + 8 + 16); //daily Open bands +ve
>> > Plot(dao - 0.0050,"",colorBlueGrey,styleNoRescale + 8 +16);//daily Open bands -ve
>> >
>> > For 2 decimal crosses - USD/JPY etc
>> >
>> > Plot(dao,"Daily Open",colorDarkBlue,styleNoRescale +8+16); //
>> > Plot(dao + 0.50,"",colorBlueGrey,styleNoRescale + 8 + 16); //
>> > Plot(dao - 0.50,"",colorBlueGrey,styleNoRescale + 8 +16);
>> >
>> >
>> > thanks
>>
>>
>> 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/
>
>
>
> 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 --------------------~-->
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/
|