Trend Duration

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

Trend Duration

Postby Apprentice » Fri Jul 27, 2018 9:41 am

EURUSD m15 (07-27-2018 1442).png

Based on request.
viewtopic.php?f=27&t=66308
Will show the number of periods for which price has consecutively closed above or below a moving average.
Trend Duration.lua
(3.9 KiB) Downloaded 550 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36478
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend Duration

Postby isamegrelo » Fri Jul 27, 2018 10:04 am

Could you make strategy from this indicator?
isamegrelo
FXCodeBase: Initiate
 
Posts: 114
Joined: Mon May 29, 2017 3:36 pm

Re: Trend Duration

Postby Apprentice » Mon Jul 30, 2018 10:10 am

Can you specify the strategy rules?
For simple Price / MA cross, you could use one of this two strategies.
viewtopic.php?f=31&t=2403
viewtopic.php?f=31&t=64535
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36478
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 166 guests