Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Ema Cross


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 (5) Thread Tools Display Modes
  #21 (permalink)  
Old 04-06-2006, 05:54 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 416
firedave is on a distinguished road
Hi codersguru, just a small question. How do you define the MagicNumber variable on your function ? I mean is it some kind of global variable definition ? Thank you in advance
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 04-06-2006, 06:01 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by firedave
Hi codersguru, just a small question. How do you define the MagicNumber variable on your function ? I mean is it some kind of global variable definition ? Thank you in advance
hi firedave,

I define it on the top of the expert code (before the main functions start() , init() and dinint() :

PHP Code:
//--- Global variables
int      MagicNumber 101090;
string   ExpertComment "PriceCross"
to make it in the global scope and the every line in the expert code can use it.

When the contest starts the code will be availabe! I'm sorry for that!
__________________
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!
Reply With Quote
  #23 (permalink)  
Old 04-06-2006, 06:06 PM
Member
 
Join Date: Nov 2005
Posts: 79
lomme is on a distinguished road
Quote:
Originally Posted by codersguru
We can write Loss Protector too!
SL is a loss protector.

You are trading with too much risk.
Maybe thats a good strategy for a contest, but not for real trading.

Btw, will there be a fixed risk ratio (fixed lot size to use) for the contest EAs?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 04-06-2006, 06:15 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by lomme
will there be a fixed risk ratio (fixed lot size to use) for the contest EAs?
No, I think there's no fixed risk ratio in the contest!
__________________
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!
Reply With Quote
  #25 (permalink)  
Old 04-06-2006, 06:22 PM
Junior Member
 
Join Date: Mar 2006
Posts: 27
eagle4x is on a distinguished road
MA Cross

codersguru - when do you expect to be posting the EA? Also, when
you do, would you also submit a file with the corresponding indicators? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26 (permalink)  
Old 04-06-2006, 06:22 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Statement update!

Quote:
Originally Posted by lomme
SL is a loss protector.

You are trading with too much risk.
Maybe thats a good strategy for a contest, but not for real trading.

Btw, will there be a fixed risk ratio (fixed lot size to use) for the contest EAs?
Loss protector I meant is for the all of opened trade!
Anyway my ProfitProtector code has been executes at 150USD level and this is the final statement!
Attached Files
File Type: htm Statement.htm (6.4 KB, 421 views)
__________________
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!
Reply With Quote
  #27 (permalink)  
Old 04-06-2006, 06:56 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by eagle4x
codersguru - when do you expect to be posting the EA? Also, when
you do, would you also submit a file with the corresponding indicators? Thanks.
When the context starts I'll post the EA!
The indicators are always Moving Averages !
__________________
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!
Reply With Quote
  #28 (permalink)  
Old 04-06-2006, 07:02 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking 100USD to 251USD in 6 hours!

100USD to 251USD in 6 hours is not bad ! even the risk!
__________________
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!
Reply With Quote
  #29 (permalink)  
Old 04-06-2006, 10:40 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 416
firedave is on a distinguished road
Quote:
Originally Posted by codersguru
hi firedave,

I define it on the top of the expert code (before the main functions start() , init() and dinint() :

PHP Code:
//--- Global variables
int      MagicNumber 101090;
string   ExpertComment "PriceCross"
to make it in the global scope and the every line in the expert code can use it.

When the contest starts the code will be availabe! I'm sorry for that!
Hi codersguru, thank you for the prompt reply. No problem with your EA, I'm just need the information about global variable definition. Your answer is much satisfy. Again thank you and all the best for you
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30 (permalink)  
Old 04-07-2006, 03:33 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking Statement update!

This my statement update!
100USD into 338USD in less than two days although Bush Statement !
Attached Images
File Type: gif DetailedStatement.gif (4.6 KB, 562 views)
Attached Files
File Type: htm DetailedStatement.htm (14.5 KB, 305 views)
__________________
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!
Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/ema-cross/1585-moving-average-experts.html
Posted By For Type Date
تدبيل الحساب خلال 6 أيام - الصفحة 8 - منتديات المتداول العربي Post #58 Refback 06-08-2008 10:24 AM
PriceCross EA - منتديات المتداول العربي This thread Refback 11-23-2007 10:12 AM
تدبيل الحساب خلال 6 أيام - الصفحة 8 - منتديات المتداول العربي Post #58 Refback 11-15-2007 01:58 AM
Google INTERIA.PL - szukaj: forex contest This thread Refback 08-08-2007 05:43 PM
PriceCross - الصفحة 2 - منتديات المتداول العربي This thread Refback 07-27-2007 03:17 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Average newdigital Indicators - Metatrader 4 370 08-28-2008 06:21 AM
XP Moving Average! codersguru Ema Cross 406 08-04-2008 03:50 AM
list all MA ( moving verage ) Experts here giraia_br Expert Advisors - Metatrader 4 2 10-27-2007 12:20 PM
non lag moving average kidhudi Indicators - Metatrader 4 1 07-26-2006 12:52 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 2 05-15-2006 10:11 AM


All times are GMT. The time now is 04:31 AM.



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