Forex



Go Back   Forex Trading > Downloads > Indicators - 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
  #21 (permalink)  
Old 04-10-2009, 07:15 AM
Tokarus's Avatar
Senior Member
 
Join Date: Apr 2007
Location: Johannesburg
Posts: 179
Tokarus is on a distinguished road
adjustable beginning of day

Dear Mladen,

Would you consider adding a parameter to your Daily_Data indicator, allowing us to adjust the beginning of day?

I use FXCM MT4 where the new chart day is at 00h00 NYC time, while generally accepted end of trading day is 17h00 NYC time.

See attached picture with daily pivots showing the new levels at 17h00, but daily_data draws daily candle from 00h00.

Thanks, Kris
Attached Images
File Type: gif daily_data.gif (22.9 KB, 515 views)
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
  #22 (permalink)  
Old 04-13-2009, 12:12 AM
Member
 
Join Date: Apr 2008
Posts: 50
okfar is on a distinguished road
Quote:
Originally Posted by pj9100 View Post
Mladen,

I know I am making you a request which you may or may not like. I am a retired person and not a coder. I am one of your admirers of information tools. I am also looking for your Heng Seng indicator .

Now I want to trade without any leverage (so no pressure for me to work under pressure) who buys goods (currencies) and sells when there is a opportunity to make a profit. It will be essential to recognise market cycles top and bottom based on averages and major support and resistance points. It will be stress-less trading I will be going into. Your indicator with the bar is a good indicator. ADX indicator will help decide whether to do range trade or not? I will be grateful if you can suggest a better indicator that the ADX indicator to establish the ranging market .l

Will you please incorporate the information provided by the attached indicator in your Narrow indicator? If you can include yearly percentage change it will be great.
Thank you.
I was make same changes:
- add changable fontsize
- add changable distance from top
- add ADX indicator (timeframe: MN1 - Monthly, W1-Weekly, D1-Daily, H4-4 hou
Attached Files
File Type: ex4 DailyData_v01.ex4 (14.2 KB, 60 views)
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
  #23 (permalink)  
Old 04-13-2009, 12:24 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
DailyData_v01.ex4 (14.2 KB, ) - what's with .ex4 file? don't want to share code (.mq4)?
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
  #24 (permalink)  
Old 04-13-2009, 01:50 AM
Member
 
Join Date: Apr 2008
Posts: 50
okfar is on a distinguished road
Quote:
Originally Posted by fxbs View Post
DailyData_v01.ex4 (14.2 KB, ) - what's with .ex4 file? don't want to share code (.mq4)?
Sorry
Attached Files
File Type: mq4 DailyData_v01.mq4 (11.0 KB, 103 views)
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
  #25 (permalink)  
Old 04-13-2009, 03:00 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
thank you
see, - good, and somebody can use it also and continue further : )))
dd Okfar, prev. post
Quote:
Originally Posted by okfar View Post
DailyData_v01.mq4 (11.0 KB,...
Attached Images
File Type: gif dd101.gif (14.5 KB, 485 views)

Last edited by fxbs; 04-13-2009 at 03:10 AM.
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
  #26 (permalink)  
Old 04-13-2009, 10:10 AM
Member
 
Join Date: Apr 2008
Posts: 50
okfar is on a distinguished road
Version: DailyData_v02.mq4 by okfar (forex-tsd forum nick)
- redefine distance from top (independant from fontsize)
- simplifying the addition unlimit of the indicators and value of info (numeric)


Quote:
Indicators (info) names - number names = number indicators != limit
CHANGE THIS!!!
string indtxt[]={ "Data Period(Hour):", "SMA50-H1:", "EMA21-H1:","SMMA21-H1:", "LWMA21-H1:", "Stoh1-H1:", "Stoh2-H1:", "DayChange(%):", "WeekChange(%):", "MonthChange(%):" };
Quote:
//-----------------------------------
// Indicators (info) calculation)
// value[0] -> first name of indtxt[]
// CHANGE THIS!!!!!

value[0] = DataPeriod/60.0;
value[1] = iMA(Symbol(), PERIOD_H1, 21, 0, MODE_SMA, PRICE_CLOSE, 0);
value[2] = iMA(Symbol(), PERIOD_H1, 21, 0, MODE_EMA, PRICE_CLOSE, 0);
value[3] = iMA(Symbol(), PERIOD_H1, 21, 0, MODE_SMMA, PRICE_CLOSE, 0);
value[4] = iMA(Symbol(), PERIOD_H1, 21, 0, MODE_LWMA, PRICE_CLOSE, 0);
value[5] = iStochastic(Symbol(), PERIOD_H1, 14, 3, 3, MODE_SMA, 1, MODE_MAIN, 0);
value[6] = iStochastic(Symbol(), PERIOD_H1, 8, 3, 3, MODE_SMA, 1, MODE_MAIN, 0);

double OpenTime = 7;
value[7] = 100*(MarketInfo(Symbol(), MODE_BID)/iOpen(Symbol(),PERIOD_H1,TimeHour(TimeCurrent())-OpenTime)-1);
value[8] = 100*(MarketInfo(Symbol(), MODE_BID)/iOpen(Symbol(),PERIOD_H1,24*(TimeDayOfWeek(TimeCur rent())-1)+TimeHour(TimeCurrent())-OpenTime)-1);
value[9] = 100*(MarketInfo(Symbol(), MODE_BID)/iOpen(NULL,PERIOD_MN1,0)-1);

//Number of dispayed digits for indicators (info) indtxt[] -> value[0] -> digit[0]
// default is 2 for all data other data
digit[0]=0;
digit[1]=5;
digit[2]=5;
digit[3]=5;
digit[4]=5;
digit[5]=3;

//----------------------------------------
This is just example of use indicators!!!
Attached Images
File Type: gif dailydata_v02.gif (27.9 KB, 438 views)
Attached Files
File Type: mq4 DailyData_v02.mq4 (12.2 KB, 102 views)

Last edited by okfar; 04-13-2009 at 10:16 AM.
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
  #27 (permalink)  
Old 04-13-2009, 11:22 AM
Senior Member
 
Join Date: Sep 2008
Posts: 106
Fx Referee is on a distinguished road
Good work

Hi,

You guyz are doing a nice job, i know one day i will be a coder too. Nice indicator.

"IF YOU GIVE A MAN A FISH, HE WILL HAVE A SINGLE MEAL BUT IF YOU TEACH HIM HOW TO FISH HE WILL EAT ALL HIS LIFE"
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
  #28 (permalink)  
Old 04-13-2009, 11:11 PM
Member
 
Join Date: Apr 2008
Posts: 50
okfar is on a distinguished road
calculation of day change must be changed something like:

Code:
 int OpenTime = 1;
 int h = TimeHour(TimeCurrent())-OpenTime;
 if (h < 0)
      h += 24;
value[7] = 100*(MarketInfo(Symbol(), MODE_BID)/iOpen(Symbol(),PERIOD_H1,h)-1);
or used without OpenTime (or OpenTime = 0).
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
  #29 (permalink)  
Old 04-15-2009, 05:15 AM
Member
 
Join Date: Apr 2008
Posts: 50
okfar is on a distinguished road
DailyData_v03

Version: DailyData_v03.mq4
- add statistic box
- add OpenTime (start time for daily data if typHist=0
- simplifying the addition unlimit of the indicators and value of info (numeric)
Attached Images
File Type: gif dailydata_v03-1.gif (57.2 KB, 363 views)
File Type: gif dailydata_v03-2.gif (61.0 KB, 366 views)
File Type: gif dailydata_v03-3.gif (48.4 KB, 376 views)
Attached Files
File Type: mq4 DailyData_v03.mq4 (18.2 KB, 127 views)

Last edited by okfar; 04-15-2009 at 02:32 PM.
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
  #30 (permalink)  
Old 04-15-2009, 05:54 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,272
mladen is on a distinguished road
...

Nice work okfar
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

Tags
daily data, DailyData.mq4, Daily Data mladen, Dailydata


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
Daily Data Window cja Tools and utilities 32 11-18-2009 04:03 AM
using custom data and not server data giraia_br Metatrader 4 0 08-26-2007 04:37 AM
daily open high low close from 1M data mbaklur99 Questions 1 08-13-2007 05:09 PM
Forex Data 2001 --> 2005 - TF =1 min, 15 min, Daily....Various Pairs..... De Vinci Tools and utilities 1 05-01-2006 10:31 AM


All times are GMT. The time now is 12:10 AM.



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