Custom Time Frame Candle View

Custom MT4 expert advisors published here.

Moderator: admin

Custom Time Frame Candle View

Postby Apprentice » Fri Dec 28, 2018 8:03 am

Capture.PNG

Will only work on the offline chart.
You will have to load the offline data source manually.
Custom Time Frame Candle View.mq4
(11.26 KiB) Downloaded 741 times

TS2/Lua version.
viewtopic.php?f=17&t=60537
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Custom Time Frame Candle View

Postby logicgate » Fri Dec 28, 2018 2:00 pm

Excellent!! Cheers!
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Custom Time Frame Candle View

Postby lumanauw » Thu Apr 04, 2019 8:43 pm

Hi,

I try this Period Converter indicator (MT4), it works fine for past data, but not working live (not drawing any live/forward data). It stops at data where it is put on the first time.

How to make this Indicator also works on live (forward) data?

Thank you
lumanauw
 
Posts: 4
Joined: Thu Apr 04, 2019 8:37 pm

Re: Custom Time Frame Candle View

Postby TheGMan » Sun Apr 21, 2019 3:02 pm

lumanauw wrote:Hi,

I try this Period Converter indicator (MT4), it works fine for past data, but not working live (not drawing any live/forward data). It stops at data where it is put on the first time.

How to make this Indicator also works on live (forward) data?

Thank you


You need to open the offline chart & use that chart for continual live data. Also, both the main chart you placed the indi on & the offline chart must always be open.
TheGMan
 
Posts: 51
Joined: Sat Feb 16, 2019 5:13 pm

Re: Custom Time Frame Candle View

Postby Jagg1010 » Thu May 16, 2019 6:08 am

same here - offline chart doesn't update
Jagg1010
 
Posts: 7
Joined: Tue Aug 28, 2018 8:03 am

Re: Custom Time Frame Candle View

Postby Apprentice » Fri May 17, 2019 8:02 am

Unfortunately, we can not fix this.
You will have to update your chart manually.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Custom Time Frame Candle View

Postby TheGMan » Fri May 17, 2019 3:32 pm

Jagg1010 wrote:same here - offline chart doesn't update


Hi Jagg

Use this one attached.

It's an indicator & goes in your MT4 indicators folder. After you have added it to your indicators folder simply refresh your indicators list within your navigator or else just shut down & reopen your platform to compile it. It will then be visible in your indicators list.

Drag it to a chart and within the inputs you will see PeriodMultiplier. So whatever time frame chart you drag it on to you simply add a number in that input to multiply that time frame & that will make your desired time frame.

Example: If you put it on a H1 chart and change the PeriodMultiplier to 8 you will have created an 8-hour chart within your Offline Charts. You open Offline charts & find the pair & the new time frame you just created & open that offline chart.

You can make any desired time frame you wish by simply changing the multiplier number.

You can add your custom indicators to the new chart but you will always need to leave the main chart & the offline chart both open at all times in order for it to continuously update.

Enjoy!
Attachments
TimeFrame_Changer.ex4
(18.44 KiB) Downloaded 541 times
TheGMan
 
Posts: 51
Joined: Sat Feb 16, 2019 5:13 pm

Re: Custom Time Frame Candle View

Postby Jagg1010 » Mon May 20, 2019 5:14 am

TheGMan wrote:
Jagg1010 wrote:same here - offline chart doesn't update


Hi Jagg

Use this one attached.

It's an indicator & goes in your MT4 indicators folder. After you have added it to your indicators folder simply refresh your indicators list within your navigator or else just shut down & reopen your platform to compile it. It will then be visible in your indicators list.

Drag it to a chart and within the inputs you will see PeriodMultiplier. So whatever time frame chart you drag it on to you simply add a number in that input to multiply that time frame & that will make your desired time frame.

Example: If you put it on a H1 chart and change the PeriodMultiplier to 8 you will have created an 8-hour chart within your Offline Charts. You open Offline charts & find the pair & the new time frame you just created & open that offline chart.

You can make any desired time frame you wish by simply changing the multiplier number.

You can add your custom indicators to the new chart but you will always need to leave the main chart & the offline chart both open at all times in order for it to continuously update.

Enjoy!

Thank - I know that procedure... but wondering why Apprentice indicator doesn't do the "live update" on the offline chart. It must be possible! Can you have a look in your "TimeFrame_Changer" source code how its done there so we can improve Apprentice's indicator here?
Jagg1010
 
Posts: 7
Joined: Tue Aug 28, 2018 8:03 am

Re: Custom Time Frame Candle View

Postby TheGMan » Mon May 20, 2019 9:03 am

Jagg1010 wrote:Thank - I know that procedure... but wondering why Apprentice indicator doesn't do the "live update" on the offline chart. It must be possible! Can you have a look in your "TimeFrame_Changer" source code how its done there so we can improve Apprentice's indicator here?


Sorry I do not have the MQL4 File.
TheGMan
 
Posts: 51
Joined: Sat Feb 16, 2019 5:13 pm


Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 17 guests