Traderji.com - Discussion forum for Stocks Commodities & Forex

AmiBroker Tips

Discuss AmiBroker Tips at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; friends, In this thread let us share some of the AmiBroker Tips or FAQ's. It ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 2nd August 2006, 10:03 AM
Member
 
Join Date: Apr 2005
Location: Saudi
Posts: 841
Thanks: 0
Thanked 2 Times in 2 Posts
srisara is on a distinguished road
Reputation: 22
Default AmiBroker Tips

friends,

In this thread let us share some of the AmiBroker Tips or FAQ's. It should help us in the long term.

1st Tip,

You can have multiple Timeframes chart say Daily and Weekly as two section in the same screen for a Scrip.

What you need to do is a create a simple forumla using formula editor and specifty timeframe was Weekly or Daily.

in1Minute = 60
in5Minute = 5 * 60
in15Minute = 15 * 60
inHourly = 3600
inDaily = 24 * 3600
inWeekly = 5 * 24 * 3600 + 1 = 432001
inMonthly = 25 * 24 * 3600 + 1 = 2160001

EXAMPLE TimeFrameSet( in5Minute ); // switch to 5 minute frame

/* MA now operates on 5 minute data, ma5_13 holds time-compressed 13 bar MA of 5min bars */

ma5_13 = MA( C, 13 );

TimeFrameRestore(); // restore time frame to original

TimeFrameSet( inHourly ); // switch now to hourly

mah_9 = EMA( C, 9 ); // 9 bar moving average from hourly data

TimeFrameRestore(); // restore time frame to original

Plot( Close, "Price", colorWhite, styleCandle );

// plot expanded average

Plot( TimeFrameExpand( ma5_13, in5Minute), "13 bar moving average from 5 min bars", colorRed );
Plot( TimeFrameExpand( mah_9, inHourly), "9 bar moving average from hourly bars", colorRed );




And Now Question:

Can we Open two instances of AmiBoker? Each Instance Opening a different Database?

Regards
Satya

Last edited by srisara; 2nd August 2006 at 10:08 AM.
Reply With Quote
  #2  
Old 2nd August 2006, 04:26 PM
Member
 
Join Date: Dec 2005
Location: Kolkata
Posts: 709
Thanks: 1
Thanked 15 Times in 7 Posts
soumya_b will become famous soon enough
Reputation: 68
Default AmiBroker Tips

Hi Satya,

How to export intraday data in .csv format?

Best Regards,
Soumya
Reply With Quote
  #3  
Old 2nd August 2006, 04:50 PM
Member
 
Join Date: Apr 2006
Location: Bangalore
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
ksganesh100 is on a distinguished road
Reputation: 20
Thumbs up Re: AmiBroker Tips

This is something I found on a discussion board. Tried it and it seems to work. Hope it helps.

Regards,
Ganesh

================================================== ======
The easiest way to export quotes to CSV file is to use the below formula from Automatic Analysis window:
(Analysis -> Automatic Analysis)

Filter=1;
AddColumn(O,"Open");
AddColumn(H,"High");
AddColumn(L,"Low");
AddColumn(C,"Close");
AddColumn(V,"Volume",1.0);


1. Open: Analysis->Formula Editor
2. Paste the above formula into formula window
3. Choose Tools->Send to Auto-Analysis menu in the Formula Editor
4. In Automatic Analysis window select Apply to: All Stocks, Range: All quotations (or any other time range or filter, depending on what you need to export)
5. Press Explore button
6. Press Export button, specify the name and press OK
Reply With Quote
  #4  
Old 2nd August 2006, 05:14 PM
Member
 
Join Date: Dec 2005
Location: Kolkata
Posts: 709
Thanks: 1
Thanked 15 Times in 7 Posts
soumya_b will become famous soon enough
Reputation: 68
Default Re: AmiBroker Tips

Quote:
Originally Posted by ksganesh100
This is something I found on a discussion board. Tried it and it seems to work. Hope it helps.

Regards,
Ganes
it only works for EoD.
It is my posting to the thread 'Fibotrader: An excellent Free TA Software'.
pls be a bit more careful to post.

thanks,
Soumya
Reply With Quote
  #5  
Old 2nd August 2006, 05:23 PM
Member
 
Join Date: Apr 2005
Location: Saudi
Posts: 841
Thanks: 0
Thanked 2 Times in 2 Posts
srisara is on a distinguished road
Reputation: 22
Default Re: AmiBroker Tips

Quote:
Originally Posted by soumya_b
it only works for EoD.
It is my posting to the thread 'Fibotrader: An excellent Free TA Software'.
pls be a bit more careful to post.

thanks,
Soumya
Soumya,

This may not be a perfect method. Neverthless, you can give a try.

In AmiBorker, goto
1. Symbol Menu - > Quote Editor
2. Select the range of records by clicking the 1st record and holding shift key click on the last record.
3. say Ctrl + C and paste it in Excel.


I agree it's not an efficient method.

Satya
Reply With Quote
  #6  
Old 2nd August 2006, 05:49 PM
Member
 
Join Date: Apr 2006
Location: Bangalore
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
ksganesh100 is on a distinguished road
Reputation: 20
Default Re: AmiBroker Tips

Quote:
Originally Posted by soumya_b
it only works for EoD.
It is my posting to the thread 'Fibotrader: An excellent Free TA Software'.
pls be a bit more careful to post.

thanks,
Soumya
For the record, this is from the link below. Dated March

http://www.amibroker.com/kb/2006/03/04/how-to-export-quotations-from-amibroker-to-csv-file/
Reply With Quote
  #7  
Old 2nd August 2006, 07:20 PM
Member
 
Join Date: Dec 2005
Location: Kolkata
Posts: 709
Thanks: 1
Thanked 15 Times in 7 Posts
soumya_b will become famous soon enough
Reputation: 68
Default Re: AmiBroker Tips

Quote:
Originally Posted by ksganesh100
For the record, this is from the link below. Dated March

http://www.amibroker.com/kb/2006/03/...r-to-csv-file/
Yes i know that and also had been acknowledged it in the post.
http://www.traderji.com/50896-post80.html
don't take my word with any bad sense.

thanks & best regards,
soumya
Reply With Quote
  #8  
Old 3rd August 2006, 01:18 AM
Member
 
Join Date: Mar 2006
Location: Pune
Posts: 204
Thanks: 0
Thanked 2 Times in 1 Post
cooltetra is on a distinguished road
Reputation: 24
Default Re: AmiBroker Tips

Quote:
Originally Posted by soumya_b
Hi Satya,

How to export intraday data in .csv format?

Best Regards,
Soumya
Hi Soumya

Just curious!!
Please don't mind my question, but can you tell me why do you want to export intraday data out from AB.
May be I can give it a try if I know the reason or can suggest some alternate solution.

Best Regards
Coool.
Reply With Quote
  #9  
Old 3rd August 2006, 02:50 AM
Member
 
Join Date: Mar 2006
Location: Pune
Posts: 204
Thanks: 0
Thanked 2 Times in 1 Post
cooltetra is on a distinguished road
Reputation: 24
Default Re: AmiBroker Tips

Quote:
Originally Posted by soumya_b
it only works for EoD.
thanks,
Soumya
Just expermented a bit with that forumla and looks like it works for intraday data as well.

Filter=1;
AddColumn(Date(),"Date");AddColumn(O,"Open");
AddColumn(H,"High");
AddColumn(L,"Low");
AddColumn(C,"Close");
AddColumn(V,"Volume",1.0);
AddColumn(OI,"Open Interest",1.0);


It gives some error but does the work of exporting the data.


Best Regards
Coool.
Reply With Quote
  #10  
Old 27th August 2006, 10:24 PM
Member
 
Join Date: Dec 2005
Location: Kolkata
Posts: 709
Thanks: 1
Thanked 15 Times in 7 Posts
soumya_b will become famous soon enough
Reputation: 68
Default Re: AmiBroker Tips

could anyone give the code of "Detremine Price at Specific RSI".
There is a problem in AmiBroker Web Forum.

Thanks in Advance,
Soumya
Reply With Quote
Sponsored Links

Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads for: AmiBroker Tips
Thread Thread Starter Forum Replies Last Post
AmiBroker karthikmarar Your Feedback & Suggestions 8 30th July 2006 12:22 PM
Pls Guide Me How To Use Amibroker coolguru007 AmiBroker 0 16th May 2006 11:29 PM
amibroker uncle sam AmiBroker 0 28th December 2004 06:01 PM


All times are GMT +5.5. The time now is 12:05 PM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com