Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2006, 07:29 PM
everlongh's Avatar
Junior Member
 
Join Date: May 2006
Location: Spring, Texas, USA
Posts: 3
everlongh is on a distinguished road
Stock market feed for MT4

I'm a programmer who's been using MetaTrader 4 now for several months with 6 different brokers for practicing Forex trading and EA development. I was wondering; is there a way for me to program to an api to get MT4 to use Yahoo data for end of day U.S. Stock market analysis? Can anyone tell me if this is possible and how I can do that. Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2006, 03:27 PM
fx-programmer's Avatar
Senior Member
 
Join Date: Apr 2006
Location: europe
Posts: 119
fx-programmer is on a distinguished road
Use this demo

Extract the yahoo file data and use with mq4 by (sample):


// double std=iStdDevOnArray(

handle=FileOpen("YAHOO-BLA-BLA.txt",FILE_CSV|FILE_READ);
if(handle<1)
{
Print("The file is not found out, last mistake", GetLastError());
return(false);
}
if(handle>0)
{

for (int i=0; i<10000; i++)
{

if(FileIsEnding(handle)) break;
FileSeek(handle, pos, SEEK_SET);
str=FileReadString(handle);
//------------------------------------------------
if (StringFind(str, "Cycle", 0)>0)
{
shreach(str);
exitBuy1=exitBuy1+exitBuy;
exitSell1=exitSell1+exitSell;
entryBuy1=entryBuy1+entryBuy;
entrySell1=entrySell1+entrySell;
exBuy1=exBuy1+exBuy;
enBuy1=enBuy1+enBuy;
exSell1=exSell1+exSell;
enSell1=enSell1+enSell;
target1_s=target1_s+target_s;
stop1_s=stop1_s+stop_s;
target1_b=target1_b+target_b;
stop1_b=stop1_b+stop_b;

}
//------------------------------------------------

This is just a sample - not necessarily relevant to your requirement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 07-25-2006, 12:17 AM
everlongh's Avatar
Junior Member
 
Join Date: May 2006
Location: Spring, Texas, USA
Posts: 3
everlongh is on a distinguished road
Thumbs up Thanks...

I was able to get a crude program working off Yahoo data with this...still working on it on the side while developing an ea too. Thanks FXPgmr.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 07-25-2006, 02:16 AM
deepdrunk's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 312
deepdrunk is on a distinguished road
it would be nice if we can import stock data here,i hope someone will make it easy by programming some script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 09-11-2009, 06:04 AM
Junior Member
 
Join Date: Sep 2008
Posts: 4
Livewire is on a distinguished road
would be really nice if someone could do this feeding real time data into MT4 from yahoo/RT Metastock data.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody know the server for stock market? shiningstar Indicators - Metatrader 4 3 05-13-2007 03:28 AM
MT4 and stock quotes? takechance Metatrader 4 1 10-06-2006 04:19 PM
Stock TSV Indicator for Forex WishfulPIPing Metatrader 4 1 05-02-2006 04:04 PM
can Metatrader analysis stock? buzz2002 Setup Questions 1 03-20-2006 05:39 AM


All times are GMT. The time now is 04:08 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.