Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-22-2006, 12:09 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking Easy iCustom and Alerts!

Hi folks,

I know very much the pain of using iCustom function and thousand of requests asking me about Alerts on crossing an indicator another indicator.

Well, it will not be painful anymore.
Just download this new indicator and wait my description.

Please vote if you like it !
Attached Files
File Type: mq4 Easy_iCustom_and_Alerts.mq4 (11.2 KB, 2538 views)
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm

Last edited by codersguru; 02-22-2006 at 02:28 AM. Reason: Indicator updated!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 02-22-2006, 12:33 AM
Member
 
Join Date: Dec 2005
Posts: 65
jerami is on a distinguished road
Smile Alert and Sound

Thanks Dude..
I has a request. Can u develop an Indicator that can give an alert and Sound from 2 indicator ( Silvertrend and Triggerline).

Condition:- Only when both meet on the same time..

thanx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 02-22-2006, 02:13 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by jerami
Thanks Dude..
I has a request. Can u develop an Indicator that can give an alert and Sound from 2 indicator ( Silvertrend and Triggerline).

Condition:- Only when both meet on the same time..

thanx
You're welcome!

You can use this indictor in your case! Wait the explanation of the indicator and you will know how.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2006, 01:08 PM
Junior Member
 
Join Date: Feb 2006
Posts: 8
jgabin is on a distinguished road
Hi Guru !

When you get a chance to post the explanation, I would be very interested too!

Thanks !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2006, 07:11 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Post Explanation!

Hi folks,
If you get tired of iCustom usage and Alerts embedding, this indicator for you!
You can use this indicator to load the indicators you want using iCustom function but you will not write a line of code. All what will you do is entering the inputs of the indicators you want to load in the Easy iCustom and Alerts input window and when the indicator alerts you.

Parameters:

Alert_On_Crossing
Set this option to true if you want the indicator alerts you when any of the loaded indicators has been crossed.

Pair_1
Set here the currency pair string you want to use with the first indicator. Use "NULL" if you want to work with the current currency.
EX: "EURUSD".

Indicator_Name_1
The name of the first indicator you want to load. This name must be the same as the file name of the indicator without the .ex4 extension.
EX: "Moving Averages" (the original file name is Moving Averages.ex4)

TimeFrame_1
The timeframe (in minutes) of the first indicator you want to load. use 0 if you want to work with the current time frame.
EX: 30


PERIOD_M1 1
PERIOD_M5 5
PERIOD_M15 15
PERIOD_M30 30
PERIOD_H1 60
PERIOD_H4 240
PERIOD_D1 1440
PERIOD_W1 10080
PERIOD_MN1 43200

Line_1
The line of the indicator you are loading that you want to use. It's zero based number which means the first line is 0 and the second line is 1 and the last line is 7 (The maximum value of lines allowed in any indicator are 8 and starts from 0, then the last line is 7).
The most of the indicator uses only one line, so you will use 0 here.

Parameter1_1
Set the first parameter of the indicator you want to load as the first line. The parameters of the indicator are any values declared as external variables.
For example the Moving Averages indicator accepts three parameters:
extern int MA_Period
extern int MA_Shift
extern int MA_Method
So, you have to enter the MA_Period here as the first parameter.

Parameter2_1
The second parameter of the indicator you want to load as the first line.

Parameter3_1
The third parameter of the indicator you want to load as the first line.

Parameter4_1
The fourth parameter of the indicator you want to load as the first line.

Parameter5_1
The fifth parameter of the indicator you want to load as the first line.

Pair_2
Set here the currency pair string you want to use with the second line.

Indicator_Name_2
The name of the second line you want to load.

TimeFrame_2
The timeframe (in minutes) of the second line you want to load.

Line_2
The line of the second indicator you are loading that you want to use.

Parameter1_2
Set the first parameter of the indicator you want to load as the second line.

Parameter2_2
The second parameter of the indicator you want to load as the second line.

Parameter3_2
The third parameter of the indicator you want to load as the second line.

Parameter4_2
The fourth parameter of the indicator you want to load as the second line.

Parameter5_2
The fifth parameter of the indicator you want to load as the second line.

Pair_3
Set here the currency pair string you want to use with the third line.

Indicator_Name_3
The name of the third line you want to load.

TimeFrame_3
The timeframe (in minutes) of the third line you want to load.

Line_3
The line of the second line you are loading that you want to use.

Parameter1_3
Set the first parameter of the indicator you want to load as the third line.

Parameter2_3
The second parameter of the indicator you want to load as the third line.

Parameter3_3
The third parameter of the indicator you want to load as the third line.

Parameter4_3
The fourth parameter of the indicator you want to load as the third line.

Parameter5_3
The fifth parameter of the indicator you want to load as the third line.


Note 1: How to know how many lines (buffers) in an indicator?
Just open the source code of the indicator in MetaTrader and check the line:
#property indicator_buffers 1
The number 1 means 1 line and 2 means 2 line etc (up to 8 lines).


Note 2: How to know how many parameters the indicator accept?
AS I told you before the parameters are the external functions that the indicator uses.
So, Open the indicator source code and check how many external functions it uses.


Note 3: The order of the external functions declaration in the source code of the indicator are the order of the parameters the indicator accept. EX:
extern int MA_Period=13; <-- Parameter 1
extern int MA_Shift=0; <-- Parameter 2
extern int MA_Method=0; <-- Parameter 3


Hope to see your comments!

__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm

Last edited by codersguru; 02-26-2006 at 07:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 02-26-2006, 08:21 PM
Audio's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 139
Audio is an unknown quantity at this point
Exselento, what about an EA maker short cut custom? cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 02-26-2006, 11:08 PM
Junior Member
 
Join Date: Feb 2006
Posts: 8
jgabin is on a distinguished road
Thanks Guru. I didn't understand everything. Can I use this program to make an alert when 2 lines cross from the same indicator ? For example, Stoch%K and Stoch%D
Is it possible to make the alert work only at the close of the bar ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 02-27-2006, 01:09 AM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 480
cockeyedcowboy is on a distinguished road
CodersGuru

I took the liberty and added your explainations to your code. That way when someone goes to use it they dont have to go looking for the documentation or examples That you supplied on how to use your code.

I always try to include documentation at the end of my code, which includes the purpose of the code, its usage, a record of version updates with a list of planed future inprovements along with debuging and coding notes. Its a nice finish touch too. This aids myself, as well as others in the usage of my code. Its a practice I wish more people would use.

I, by no means, am trying to be critical of your work. You of all people, have given of your time for the benefit of others. You do alot of coding here, and I just figured if you were to pick up the ball in this area and run with it, maybe others will take notice and follow your leed and document their code too.



Thanks again, your effects donot go un-noticed.



The CockeyedCowboy


Quote:
Originally Posted by codersguru
Hi folks,

I know very much the pain of using iCustom function and thousand of requests asking me about Alerts on crossing an indicator another indicator.

Well, it will not be painful anymore.
Just download this new indicator and wait my description.

Please vote if you like it !
Attached Files
File Type: mq4 Easy_iCustom_and_Alerts[1].mq4 (18.7 KB, 1295 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 02-27-2006, 01:44 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up Thanks!

Quote:
Originally Posted by cockeyedcowboy
CodersGuru

I took the liberty and added your explainations to your code. That way when someone goes to use it they dont have to go looking for the documentation or examples That you supplied on how to use your code.

I always try to include documentation at the end of my code, which includes the purpose of the code, its usage, a record of version updates with a list of planed future inprovements along with debuging and coding notes. Its a nice finish touch too. This aids myself, as well as others in the usage of my code. Its a practice I wish more people would use.

I, by no means, am trying to be critical of your work. You of all people, have given of your time for the benefit of others. You do alot of coding here, and I just figured if you were to pick up the ball in this area and run with it, maybe others will take notice and follow your leed and document their code too.



Thanks again, your effects donot go un-noticed.



The CockeyedCowboy
CockeyedCowboy,

THANKS! That's Great!
You've read my mind, I have intended to copy the explanation to the source code but you do it. And you do it the way better than what I was intending to do!

Thanks again!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm

Last edited by codersguru; 02-27-2006 at 01:48 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 02-27-2006, 08:36 AM
Audio's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 139
Audio is an unknown quantity at this point
Hi codersguru is there any pacth on for the eazy to add on arrow when the indi cross ? like when the rsi cross 0 ,the arrow appear assoon as the rsi line cross 0 ,or when price cross ma not anew bar but right when the price cross or when fmas cross smas the arrow will appear? cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
alerts, Easy iCustom and Alerts, icustom, TTMStoch


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
danrosu
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
iCustom function homicida Metatrader 4 mql 4 - Development course 100 09-03-2009 03:50 AM
iCustom question .. yaniv_av Indicators - Metatrader 4 16 06-20-2008 05:37 PM
icustom maje Questions 24 12-05-2007 10:26 AM
I need help on creating an Icustom statement for my EA using this indicator as input! iscuba11 Expert Advisors - Metatrader 4 4 09-11-2006 08:18 PM
iCustom() problem billritz Indicators - Metatrader 4 5 08-23-2006 08:22 AM


All times are GMT. The time now is 10:14 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.