Welcome to the Traders Laboratory Forums.
Technical Analysis The technical discussion forum for traders.

Reply
Old 09-22-2010, 02:01 PM   #1

Join Date: Jan 2008
Location: SHROPSHIRE, UK
Posts: 33
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Mt4 Indicator Trendlines

Does anyone know a coder who would be able to code a trend line on an indicator?
A simple example attached.
Thanks
Attached Thumbnails
Mt4 Indicator Trendlines-example.gif  
TEAMTRADER is offline  
Reply With Quote
Old 09-22-2010, 02:02 PM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Mt4 Indicator Trendlines

Quote:
Originally Posted by TEAMTRADER »
Does anyone know a coder who would be able to code a trend line on an indicator?
A simple example attached.
Thanks
if you can define the criteria of the trendline,
it can be coded.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 09-22-2010, 03:56 PM   #3

Join Date: Jan 2008
Location: SHROPSHIRE, UK
Posts: 33
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Re: Mt4 Indicator Trendlines

The objective is to have a series of diagonal lines superimposed on indicators.
There are two criteria.
The easier of the two is a line that has a starting point based on the indicator numerical value above/below a set value, eg, 95 - 185.
So a 'support' line would be below zero starting at an adjustable value from -95 to -185 and a resistance line above zero starting at an adjustable value from +95 to +185. It will go over/under the closing values of the indicator.
The other criteria for the line is based on price and where there are price highs and lows.
The superimposed indicator could also show a vertical line on the indicator itself so the lines can also have a start point based on price.
For example, taking the CCI indicator, the parameters would need to be user set for the 'period' setting, to the levels (values) from which the line would start.
Is that enough information or do you want to get more?
TEAMTRADER
TEAMTRADER is offline  
Reply With Quote
Old 09-22-2010, 05:30 PM   #4

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Mt4 Indicator Trendlines

Quote:
Originally Posted by TEAMTRADER »
....
Is that enough information or do you want to get more?
TEAMTRADER
All I can see is a blurb of something...

you need to convey your idea in a logical step-by-step fashion.
because the computer cannot read your mind,
it can only take instructions
and you have to give the instruction as if you are drawing the line by hand.

try writing your ideas one at a time,
write them out in steps...
one line at a time,
one idea/step per line,
if you have more than one idea in a single line,
the computer won't understand you.

eg...
if this bar's high is higher than previous bar's high, then
I would consider a peak is made.
if a peak is made, then
starting drawing a line at the peak.

.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 09-23-2010, 04:32 AM   #5

Join Date: Jan 2008
Location: SHROPSHIRE, UK
Posts: 33
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Re: Mt4 Indicator Trendlines

I thank you for your reply.
IF I am successful I will post it over the weekend.
TEAMTRADER
TEAMTRADER 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
New MT4 Indicators TEAMTRADER Beginners Forum 7 11-04-2009 11:51 AM
Volume Spread Analysis for MT4 FOREXflash Forex Trading Laboratory 25 05-31-2009 09:52 AM
Best Way Connect TradeStationProStation200 I to MT4? fapbob Tools of the Trade 0 04-21-2009 09:55 PM
How to import indicators and templates into MT4 walterw Beginners Forum 6 09-27-2007 05:33 AM

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