| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anybody know the server for stock market? | shiningstar | Indicators - Metatrader 4 | 3 | 05-13-2007 02:28 AM |
| MT4 and stock quotes? | takechance | Metatrader 4 | 1 | 10-06-2006 03:19 PM |
| Stock TSV Indicator for Forex | WishfulPIPing | Metatrader 4 | 1 | 05-02-2006 03:04 PM |
| can Metatrader analysis stock? | buzz2002 | Setup Questions | 1 | 03-20-2006 04:39 AM |