It is currently Wed Feb 08, 2012 4:38 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Support/Resistance Crossing Indicator
PostPosted: Thu Dec 10, 2009 9:03 pm 
Offline
User avatar

Joined: Tue Jul 14, 2009 2:54 pm
Posts: 242
Location: Glasgow, Scotland
Hi all

This is a bit rough & ready but I wanted to post it before the weekend in case anyone had the time to test it a bit and comment.
This indicator will generate an alert and send an email if required when a candlestick crosses a support/resistance line and closes there. If the candle crosses over and then returns no signal will be generated. It uses the close of the previous candle so even if the price gaps across the line it should still be picked up.

To use this indicator copy the attached file into your \experts\indicators folder and then attach it to a chart in the normal way.

To get a signal when the price crosses Above a resistance line you must name the line in the range ATL0 - ATL9
To get a signal when the price crosses Below a support line you must name the line in the range BTL0 - BTL9
You can draw new lines or rename existing ones as you see fit.

Set the ShowAlerts and MailAlerts flags as required, remember you also need the mail parameters set up in Tools - Options - Email tab.

The indicator will draw a diamond above or below each crossing as appropriate but it only processes data as it comes in so don't expect to see historical alerts as the EMA_RSI indicator shows.

Currently this will respond to all correctly named lines, even if they are not visible in the timeframe you have selected. Once the chart has moved beyond the end of a line it is ignored.

The main purpose of this is not to highlight crosses on charts but to generate an alert to draw the crossing to my attention, eg when I am at work. I am happy to modify based on suggestions if I can. The wording of the alert emails is ripe for editing, it can contain as much info as required (Open, High, Low, Close....)
:!: Please remember that it is 'work in progress' so verify anything it indicates :!:

Anyway, here it is. All comments welcome.

Michael

_________________
“Keep It Simple..... Then execute the simplicity faithfully.”
Vincent


Top
 Profile E-mail  
 
 Post subject: Re: Support/Resistance Crossing Indicator
PostPosted: Thu Dec 10, 2009 9:12 pm 
Offline
User avatar

Joined: Tue Jul 14, 2009 2:54 pm
Posts: 242
Location: Glasgow, Scotland
Here is the indicator to download:
Attachment:
SRCross.ex4 [5.02 KiB]
Downloaded 150 times

Michael

_________________
“Keep It Simple..... Then execute the simplicity faithfully.”
Vincent


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Home Page | About | Contact | Learn More | Products and Services
 
Copyright © 2011 Forexoma.com
All rights reserved.