Forex



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
 
Thread Tools Display Modes
  #21 (permalink)  
Old 04-06-2006, 06:54 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #22 (permalink)  
Old 04-06-2006, 07:01 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
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #23 (permalink)  
Old 04-06-2006, 07: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #24 (permalink)  
Old 04-06-2006, 07:15 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
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #25 (permalink)  
Old 04-06-2006, 07:22 PM
Member
 
Join Date: Mar 2006
Posts: 48
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #26 (permalink)  
Old 04-06-2006, 07:22 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
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, 483 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #27 (permalink)  
Old 04-06-2006, 07:56 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
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #28 (permalink)  
Old 04-06-2006, 08:02 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
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #29 (permalink)  
Old 04-06-2006, 11:40 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #30 (permalink)  
Old 04-07-2006, 04:33 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
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, 995 views)
Attached Files
File Type: htm DetailedStatement.htm (14.5 KB, 342 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!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
forex, MaChannel, manual, moving average, pips, profitable system

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
Moving Average newdigital Indicators - Metatrader 4 640 11-01-2009 07:33 AM
XP Moving Average! codersguru Ema Cross 425 10-24-2009 04:07 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 03:05 PM
list all MA ( moving verage ) Experts here giraia_br Expert Advisors - Metatrader 4 2 10-27-2007 01:20 PM
non lag moving average kidhudi Indicators - Metatrader 4 1 07-26-2006 01:52 PM


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



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