Very Basic Stock Screening VBA Code -Essential for Stock Traders-

Trader11

New Member
Joined
Feb 25, 2011
Messages
25
Hello,

I need help on a VBA code -which I think is a very basic one.

I have cells that display, "BUY", "SELL" or "-" based on some conditions. I would like to create a VBA code so that a corresponding cell would show the date when the signals i.e. "BUY", "SELL" or "-" are triggered for the given cell. When the signal disappears (due to change in the linked condition) the date should disappear as well. As some might have guessed this is for Stock Screening hence I have some hundred rows.

Also I've saw threads that read, "copy this code and paste it to the screen where it says 'view code' and then it should run automatically", for example, but I'm struggling with that. Will I need to click on "Run" function? And how will I apply this code on the column I like.

Thank you so much in advance.
 
Hi Trader11,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I am very new in stock trade just I have started study about ibex35 from Invertia.com getting data in excel using this link http://www.invertia.com/mercados/bolsa/indices/historico.asp?idtel=IB011IBEX35<o:p></o:p>
<o:p></o:p>
Browsing excel question I found this topic interisting reading all post when I reach at post #24 find sample data and I copied in my excel (I am using Excel-2000) and tried to find link to get update TICKER-> NTHOL TI Equity from net and insert formula Formula under M (RSI 14D):
=BDP($A3,"RSI_14D")
Formula under P (DIFF MACD):
=BDP($A3,"MACD2")<o:p></o:p>

As you have describe. <o:p></o:p>
<o:p></o:p>
Now my question is to you which is the link to get data update automaticaly for all TICKER and how to get result with formula BDP. <o:p></o:p>
<o:p></o:p>
Thank you very much for your help in advance.<o:p></o:p>
<o:p></o:p>
Kishan<o:p></o:p>
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi, Trader11,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
To be a user do I have to registered for it ? please tell me where I have to procced.<o:p></o:p>
<o:p></o:p>
Thanks<o:p></o:p>
Kishan<o:p></o:p>
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top