Automatically choose higher timeframe (2 state - TMA)

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Automatically choose higher timeframe (2 state - TMA)

Postby jsw_nz » Wed Dec 05, 2018 10:34 pm

Hi Apprentice

- again thanks for your assistance on a previous query

I have a TMA (Triangulated Moving Average) mq4 file - which I use as a sort of background (2-state) histogram - I use it as a 'background in other words to superimpose other mt4 indicators on top of. In is current version - it supports multi-timeframes - but these need to be set manaully. I was hoping you might code it to choose timeframes 'automatically' - that is... the next higher timeframe - by default.

This would be great - allowing me to create a global template - so when changing times - it would automatically plot the next highest timeframe and display the triangulated moving average - whether it is moving up or down (2 state histogram). I made a simalar request a few months ago - related to a QMP Filter - which you successfully completed. Hoping the same might apply to this request.

Posting the source - and plan again to send PayPal your way
- for your efforts - many thanks in advance

john (jsw_nz)
Attachments
TMA_Centered_BG.mq4
(10.1 KiB) Downloaded 406 times
jsw_nz
 
Posts: 26
Joined: Thu Aug 02, 2018 4:58 am

Re: Automatically choose higher timeframe (2 state - TMA)

Postby Apprentice » Thu Dec 06, 2018 5:35 am

Your request is added to the development list under Id Number 4344
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Automatically choose higher timeframe (2 state - TMA)

Postby Alexander.Gettinger » Thu Dec 06, 2018 10:11 pm

Please, try this version:
TMA_Centered_BG.mq4
(10.24 KiB) Downloaded 416 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Automatically choose higher timeframe (2 state - TMA)

Postby jsw_nz » Sun Dec 09, 2018 2:29 am

Hi Alexander

Thanks for your work - the file works fine - but the colors need to be swapped - I mention this - should others find this useful - so with that tweak - it is good to go for wider distribution.

RE: Donations
- would like to send another donation - not sure who I should send it to (via PayPal) - I got a PM from Mario with this address - "mario.jemic@gmail.com" - but perhaps I can fund you a modest 10USD - let me know - I have already fixed the colour issue using MetaEditor - so this is going to be very helpful - thanks

..will stay tuned on which PayPal address to use

all best
john
jsw_nz
jsw_nz
 
Posts: 26
Joined: Thu Aug 02, 2018 4:58 am


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests