How to retain selected symbols?

#1
Hello,

I open 3-4 charts by using File->New->Default chart option.
Then I select different symbols for these charts. e.g. Nifty, Reliance, HDIL etc.

My problem is that when I open amibroker again then it does not retain the previously selected symbols.

What is the solution?

Pj.
 
#2
Hello,

I open 3-4 charts by using File->New->Default chart option.
Then I select different symbols for these charts. e.g. Nifty, Reliance, HDIL etc.

My problem is that when I open amibroker again then it does not retain the previously selected symbols.

What is the solution?

Pj.
Hello,

Go to Tools>>Preferences>>Miscellaneous and in Auto-save, make sure that you have checked on all 3 checkboxes i.e. Preferences, Templates, Layouts. This will ensure that all your layouts and templates are auto-saved and re-opened whenever you open AmiBroker next time.

I hope this helps.

Best regards,

AmiBroker-India
 
#5
Dear Friends
:)
Anyone can provide afl for multiple symbol plotting in single chart for price only

stokinghem
Hello,

You have to use PlotForeign() function to plot another symbol in your chart. Sample code is as below.

OtherTicker = "NSENIFTY";
SetChartBkColor(colorWhite);
Plot(Close, "",colorBlack, styleCandle); //This will plot the symbol you select from Symbols window
PlotForeign(OtherTicker, "\nForeign", IIf(C>O,colorGreen,colorRed) ); //This will plot the hard-coded symbol in your existing symbol's chart


You can use PlotForeign() function to plot any number of external symbols in your existing chart.

I hope this helps.

With regards,

AmiBroker-India
 
#6
dear friend

so nice of you to give quick solution

by this way we can add as many symbol in one chart ? actually my idea to track and visualize most nifty script price wise single scree in RT if you have any ready made formula you can post i am very poor to write afl !

thanks in advance sir

stokinghem:)
 

Similar threads