Price Cycle

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

Price Cycle

Postby crazychez » Mon Jan 13, 2014 3:13 pm

Hello Possible to make the following indicator for Trading Syation?
Attachments
elevenEV2.gif
There is no magic to this indicator. It is simply this; I have taken the average of the range, from the close to the low of the last X number of days and divided that into the total range of the last X number of days.

What this shows is the percentage of time the ratio of closes to the range. By doing this we have normalized the indicator if you'd like. Here's the formula:

(MovingAvg (Close - Low , VAR1) / Avg True Range (VAR1)) * 100

This is written in the Genesis code. But if you're a Trade Station user or user of another software, you should be able to quickly program this for yourself.

In mathematical terms, you are taking an X Bar Moving Average of the Close minus the Low and dividing it by the Average True Range of X Bars. Then take that result and multiply it by 100. X is your variable (ie VAR1 in Genesis).Our first chart is a monthly one of the Dollar Index. As you can see when the blue line gets into the zone above the red line. It is time for a decline. By the same token, when we've dipped below the green line and close at or near the low of the monthly ranges, it is time for a buy.
crazychez
 
Posts: 4
Joined: Thu Jan 09, 2014 11:37 am

Re: Price Cycle

Postby Apprentice » Tue Jan 14, 2014 1:05 pm

Requested can be found here.
viewtopic.php?f=17&t=60203
I need one clarification. Can you confirm that the ATR is based on the closing price.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Google [Bot] and 13 guests