Universal bigger timetrame indicator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Universal bigger timetrame indicator

Postby Alexander.Gettinger » Wed Apr 27, 2011 10:42 pm

This indicator may draw any indicator or oscillator for bigger timeframe than current.
You choose indicator, timeframe and price type (for indicator with tick source).

Download indicator version:
BF_Indicator.lua
(7.19 KiB) Downloaded 1059 times


Download oscillator version:
BF_Oscillator.lua
(7.19 KiB) Downloaded 956 times


The indicator was revised and updated
Last edited by Alexander.Gettinger on Fri Apr 29, 2011 2:30 am, edited 1 time in total.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Universal bigger timetrame indicator

Postby Nikolay.Gekht » Thu Apr 28, 2011 10:13 am

2 all: Please note that this implementation won't work with the indicators which re-calculates historical values. And there is no reason to implement the indicator to support re-calculating indicator because of serious performance harm. BTW, we are developing bigger frame solution for upcoming Marketscope release, so this solution must be good enough until the common solution is provided in Marketscope.

2 author:
1) Since Jan 2011 release there is core.findDate function, which works bit faster than findDateFast function. Please replace.

2) You can use core.FLAG_ONLYINDICATORS or core.FLAG_ONLYOSCILLATORS flags instead of core.FLAG_INDICATOR to let the user choose only indicator in bf_indicator and only oscillators in bf_oscillator

3) You can let the Marketscope manage the source of the indicator depending on the indicator chosen by the user. Just add the following tag:
indicator:setTag("RequiredSourceParam", "IN");
where "IN" is the name of the parameter to choose the indicator (oscillator)
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Universal bigger timetrame indicator

Postby Alexander.Gettinger » Fri Apr 29, 2011 2:30 am

Indicators updated.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Universal bigger timetrame indicator

Postby Apprentice » Wed Mar 08, 2017 5:26 pm

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 61 guests