Welcome to the Traders Laboratory Forums.
Automated Trading Black box systems, strategy automation, algorithmic trading, etc...

Reply
Old 05-25-2010, 04:20 PM   #1

Join Date: Feb 2009
Location: Bucharest
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Help Request for Writing an Indicator

Hey all,

I find myself in a awkward situation.

I have to finish my final paper for my economics degree, and for the second part i have to make a technical indicator. I thought that i could pull it off, but i was wrong.

If someone could help me to program in MQL4 an indicator that calculates the ratio between the average trend over a period and the existing trend, on one hand, and the ratio between the average speed of the trends in a period and the speed of the existing trend, on another, it would be great.

The speed of a trend, i consider to be:
(Close0-CloseT)/Number Of bars

Close0 is the close price of the first bar in the trend and CloseT is the close price of the last bar in the trend.

I've atached the progres i've maid so far.

If someone could take a look and help me in any way, i would be extremely grateful.

Excuse all my tiping and gramatical errors, and thanks in advance for all the help.
Attached Files
File Type: mq4 test.mq4 (3.1 KB, 8 views)
amos1988 is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Setup NYSE Tick Indicator in Multicharts? rajatheroyal Technical Analysis 0 05-20-2010 03:59 PM

All times are GMT -4. The time now is 11:06 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.