Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2006, 12:55 PM
mwriter's Avatar
mwriter mwriter is offline
Junior Member
 
Join Date: Feb 2006
Posts: 3
mwriter is on a distinguished road
Question trend line help

Hi guys,

I'm really new to coding/scripting in general so i'm going to have lots of noob questions *bear with me please!*

in any case. I was trying to create a simple "indicator". I was trying to write an expert advisor to identify trend line points (you need two points for trend lines)

pls correct me if i'm wrong here:

1. if say i wanted to two highest highs from the last 100 bars. do i assign all the highs from 100 bars and do a sort on the array values?

2. is it possible to keep drawing trend lines from the 2 highest highs (for example). bearing in mind i'm trying to keep only one trend line on the main window at all times. meaning i have to delete the old one. also that means i have to draw a trend line by defining to variables as the 2 defined coordinates, is that even possible?

i will appreciate any help at all on that matter because i've only just picked up mql a couple of weeks ago. so i'm quite sure everyone else is more experienced than me haha.

thanks in advance everyone.

Regards,
Joseph aka Mr. Writer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-06-2006, 03:15 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,160
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Good avatar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-06-2006, 11:14 PM
mwriter's Avatar
mwriter mwriter is offline
Junior Member
 
Join Date: Feb 2006
Posts: 3
mwriter is on a distinguished road
Talking

haha erm thanks?

haha that has to be one the most hilarious replies i've ever received from forums.

-joseph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-07-2006, 06:12 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,160
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by mwriter
haha erm thanks?

haha that has to be one the most hilarious replies i've ever received from forums.

-joseph
I wanted to say that will try to help with this indicator or any.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-07-2006, 07:35 AM
mwriter's Avatar
mwriter mwriter is offline
Junior Member
 
Join Date: Feb 2006
Posts: 3
mwriter is on a distinguished road
Question

haha thanks. so any pointers for the questions i brough up? in any case no one seems to notice the question. did i post it in the wrong place?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-07-2006, 08:07 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,160
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by mwriter
haha thanks. so any pointers for the questions i brough up? in any case no one seems to notice the question. did i post it in the wrong place?
Read this post Swing Turning Point Indicator - Help needed
I collected all the requests and send to some programmers already.

I am helping sometimes coding something.
But I want to finish some statements first.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trend line alerts raff1410 Expert Advisors - Metatrader 4 0 06-20-2006 09:28 AM
Any MT4 indicators similar to Bell Warning Line (BWL)? [for riding the trend] ycomp Metatrader 4 1 02-21-2006 04:11 AM
Simple Trend Line Break astro Questions 6 12-21-2005 03:18 PM


All times are GMT. The time now is 06:21 AM.