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

Re: [amibroker] Selection using IF



PureBytes Links

Trading Reference Links

I hope this helps:

Scrip=ParamStr("scrip","BHEL");
Graph0=Foreign(Scrip,"C");
Graph0Style=styleLine;
Graph0Color=colorOrange;
Title=scrip;

The last line should give you the indication as to which scrip is selected.
Now you can modify your code accordingly.

Regards,
Ajay


On Tue, 18 Jan 2005 07:18:04 +0530, Prashanth <prash454@xxxxxxxxxxxxxx> wrote:
> Hello,
>  
> If i want to chart ABC for scrip XYZ, CDE for scrip MNO, etc what is the
> function i need to use in order to know which scrip is the currently
> selected one. (ABC, XYA, MNO also being scips / tickers).
>  
> Currently what i tried to do is
>  
> if
> ***********
> A=SetForeign("BHEL");
> Plot(A,"",colorBlue,styleCandle);
> else
> B=0;
> I have given ***** for the coniditon / selection of scrip.
>  
> For Example for doing the same for Index Scrips, I can use ISIndex, but cant
> seem to find the one for Individual Ticker.
>  
> Thanks in Advance
>  
> Regards
>  
> Prashanth
>  
>  
> 
> 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 the Yahoo! Terms of Service.


------------------------ 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/