Help Required - How To ......

shekharz

Active Member
#1
Hi

I have a VERY STRANGE QUERY but it is very much important for all newbies as well as all the seniors & experts because it can give them an idea "before" EOD that particular stock is going to give a buy/sell signal "after" EOD.

My Query is -

Is there any way out that we can put OHLC data into/through an AFL for anyy particular scrip just before EOD (at around 3:20 PM or in case of commodities, at around 11:20 PM) so that it may give exact signals about whats coming for next day so that we may take position "before" EOD (means the same day) and benefit from the forthcoming Gap Opening.

I am asking this because I use Amibroker both for realtime and EOD and my realtime program gives realtime data backfill for max 60 days which is not sufficient to generate EOD strong signals "before" EOD due to shorter period of days. This backfill (60 days) does not show any signal (sometimes it generates signals but they are not strong enough to act upon), while "after" the EOD, the same AFL generates strong signals but in most days, the next morning the trade cannot be materialized because of Gap Opening.

Please guide if it is possible for one to put OHLC in EOD charts "before" actual EOD, i.e. near around 3:20 PM or in case of commodities, near around 11:20 PM so that we may get strong signals in our charts.

Hope to hear from all seniors & experts upon this query soon ...........

shekharz
 

SavantGarde

Well-Known Member
#3
Hi

I have a VERY STRANGE QUERY but it is very much important for all newbies as well as all the seniors & experts because it can give them an idea "before" EOD that particular stock is going to give a buy/sell signal "after" EOD.

My Query is -

Is there any way out that we can put OHLC data into/through an AFL for anyy particular scrip just before EOD (at around 3:20 PM or in case of commodities, at around 11:20 PM) so that it may give exact signals about whats coming for next day so that we may take position "before" EOD (means the same day) and benefit from the forthcoming Gap Opening.

I am asking this because I use Amibroker both for realtime and EOD and my realtime program gives realtime data backfill for max 60 days which is not sufficient to generate EOD strong signals "before" EOD due to shorter period of days. This backfill (60 days) does not show any signal (sometimes it generates signals but they are not strong enough to act upon), while "after" the EOD, the same AFL generates strong signals but in most days, the next morning the trade cannot be materialized because of Gap Opening.

Please guide if it is possible for one to put OHLC in EOD charts "before" actual EOD, i.e. near around 3:20 PM or in case of commodities, near around 11:20 PM so that we may get strong signals in our charts.

Hope to hear from all seniors & experts upon this query soon ...........

shekharz
Click 'Symbol' and from drop down select 'Quote Editor' once the quote editor opens ...above the existing quotes you will find 'new' row clicking that you can fill whatever data with whatever date you want.....!!!

SG
 

shekharz

Active Member
#4
Get historical stock data and import it to Amibroker.

Here is how to import CSV file to Amibroker: http://www.traderji.com/amibroker/6...ata-expired-futures-contracts.html#post663015

Add one more day in last row to add today's stock OHLC and run your AFL to get signal.
Mr TomJerry

Thanks for your help, but it is a bit lengthy. By the way, I love the way Mr Savant has shown to me, that is very very easy without any hassle.


Click 'Symbol' and from drop down select 'Quote Editor' once the quote editor opens ...above the existing quotes you will find 'new' row clicking that you can fill whatever data with whatever date you want.....!!!

SG
Mr Savant

Thanks very much for valuable information. I have now one more thing to confirm with regard to your reply.

Suppose I fill OHLC data for 14th May at around 3:20 PM (in my EOD Database) to get a signal for a particular stock (Nifty or anything else) and yes, I get the signal and acted accordingly before EOD. Now the question arises, WHAT WILL HAPPEN WHEN I WILL FEED THE "EOD" DATA LATER THROUGH "GETBHAVCOPY". WILL THE DATA I HAVE PUT EARLIER AUTOMATICALLY CONVERT INTO THE NEW DATA PUT FOR EOD OR WILL I HAVE TO FEED THE DATA AGAIN MANUALLY?

P.S. = I got the answer myself with a "test entry", later when we will put new data into it, it will automatically be converted with "new data".

THANKS VERY VERY MUCH MR SAVANT

shekharz
 
Last edited:

SavantGarde

Well-Known Member
#5
Mr TomJerry

Thanks for your help, but it is lengthy and confusing for me at least & of course, I actually don't know HOW TO ADD ONE MORE DAY IN LAST ROW. I love the way Mr Savant has shown to me, that is very very easy without any hassle.




Mr Savant

Thanks very much for valuable information. I have now one more thing to confirm with regard to your reply.

Suppose I fill OHLC data for 14th May at around 3:20 PM (in my EOD Database) to get a signal for a particular stock (Nifty or anything else) and yes, I get the signal and acted accordingly before EOD. Now the question arises, WHAT WILL HAPPEN WHEN I WILL FEED THE "EOD" DATA LATER THROUGH "GETBHAVCOPY". WILL THE DATA I HAVE PUT EARLIER AUTOMATICALLY CONVERT INTO THE NEW DATA PUT FOR EOD OR WILL I HAVE TO FEED THE DATA AGAIN MANUALLY?

P.S. = I got the answer myself with a "test entry", later when we will put new data into it, it will automatically be converted with "new data".

THANKS VERY VERY MUCH MR SAVANT

shekharz
Old data fed manually will get deleted...!!!

SG
 

SavantGarde

Well-Known Member
#6
SIR
how can i convert tpl format to afl format?
.tpl is a Template extension in MT4 ...one will need to see what are the Indicators & settings included by loading the template on a chart....!!!

Depending on the indcators in the Template one may drag similar indicators if availablein Ami and once you have all the Indicators on the chart as per MT4 then one can just save it as Template in Amibroker... think Amibroker template extension is .aly


SG
 

Similar threads