Custom Period

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

Custom Period

Postby jrichardson83 » Sun Feb 25, 2018 10:28 pm

Question. Is it possible to program a custom period function in an indicator that is not available by default. For example, in the picture below I have two Smoothed ADXs plotted, one set to the default Daily period and one set to Weekly. I'm wondering, would it be possible to program the indie to calculate based on somewhere in between the Daily and Weekly, for example, three or four days?

Daily-Weekly Smoothed ADX.jpg
Attachments
Smoothed_ADX.lua
(8.1 KiB) Downloaded 410 times
jrichardson83
FXCodeBase: Graduate
 
Posts: 228
Joined: Thu Jan 01, 2015 1:03 pm

Re: Custom Period

Postby Apprentice » Tue Feb 27, 2018 2:22 pm

USDSEK D2 (02-27-2018 1820).png

1. Use D2,D3...
2. we can write indicator, with source/time frame selector.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Custom Period

Postby jrichardson83 » Tue Feb 27, 2018 4:59 pm

Apprentice wrote:
USDSEK D2 (02-27-2018 1820).png

1. Use D2,D3...
2. we can write indicator, with source/time frame selector.


Cool, if someone could write it that would be awesome.
jrichardson83
FXCodeBase: Graduate
 
Posts: 228
Joined: Thu Jan 01, 2015 1:03 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 24 guests