Trend

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

Postby Apprentice » Mon Mar 28, 2011 6:08 am

Trend.png


This is my last project.
Unfortunately when choosing the name I was not too creative.
Suggestions are welcome.

Basically, this indicator is checked whether the indicator is above or below the next higher in the series.

The series starts from 2, go to the max, the distance between the two averages is the Step.

For example.
For Step 2, Max 10, series is 2, 4, 6, 8, 10
In total there are five steps, which is Overbought Oversold Level for that setup.

If the trend is equal to 5 is suggested that all indicators are in the up trend phase.
If the trends are -5 suggests that all the indicators are in down trend phase.
What an extreme situation.

To me it seems an interesting idea.
Please give your feedback.

This indicator is quite difficult to calculate.
To speed up the calculation, especially if you have an older computer, reduce the resolution, increase the step that you are using.

Trend.lua
(7.99 KiB) Downloaded 1714 times


For this indicator to work installed Averages indicator from
viewtopic.php?f=17&t=2430&p=5268&hilit=averages#p5268

SimpleTrend.png


These are basically the same indicators.
A simplified version has a range from 0 to 100
A smaller choice of moving averages.
Option of defining the period of calculation, in order to obtain better performance.

SimpleTrend.lua
(4.86 KiB) Downloaded 898 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend

Postby davetherave110179 » Mon Mar 28, 2011 6:53 am

If this is your last Indicator then let me be the first to to say 'Thank you' for all your help and Indicators and Stratagies!

Thank you (again) and good luck. ;)

davetherave110179
davetherave110179
 
Posts: 50
Joined: Wed Feb 09, 2011 6:09 am

Re: Trend

Postby Apprentice » Mon Mar 28, 2011 8:17 am

Latest not Last.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend

Postby luigipg » Mon Mar 28, 2011 12:00 pm

I try to download it but "The selected attachment does not exist anymore".
luigipg
 
Posts: 74
Joined: Sun May 23, 2010 8:01 am

Re: Trend

Postby Apprentice » Tue Mar 29, 2011 3:36 am

I tried to do the same.
Everything was as expected.
Probably it was a temporary problem,
or i did just update the post.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend

Postby sabrumea » Mon Apr 04, 2011 7:10 am

Apprentice, to me it seems an interesting idea too.. i've put it on the chart and try to change the settings.. what do you think yourself what are the most appropriate settings? to me it seems that we can use this indicator to see how long we can stay in trade which is as long as trend remeins in the overbought or the oversold area.. but my perception migh be wrong.. you are the author of the idea.. :) can we use this indicator to enter the trade???
User avatar
sabrumea
 
Posts: 34
Joined: Thu Aug 26, 2010 6:15 pm

Re: Trend

Postby Apprentice » Mon Apr 04, 2011 9:52 am

You can use it for you trading. :)
I do have some specific settings to recommend.
I noticed that you can trade the divergence between the closing price and the indicator.
Or indicator extreme values​​.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend

Postby sabrumea » Mon Apr 04, 2011 10:06 am

oki, recommend the settings then pleeeeease ;) yes, i think we can use it to enter the trade when the trend line reaches the extream value—when it is converging with either up or down line and then diverge again... did i understand right?
User avatar
sabrumea
 
Posts: 34
Joined: Thu Aug 26, 2010 6:15 pm

Re: Trend

Postby sabrumea » Mon Apr 04, 2011 10:13 am

Apprentice, you are right!!! it can be used to spot divergence indeed.. look at this example with gbp/nzd... :) i will keep an eye on your new indicator now :geek: :D
Attachments
divergence.png
User avatar
sabrumea
 
Posts: 34
Joined: Thu Aug 26, 2010 6:15 pm

Re: Trend

Postby Apprentice » Mon Apr 04, 2011 11:18 am

Also you can tr< to use, for example 20 period MA of the trend as the signal line.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 125 guests