Forex



Go Back   Forex Trading > Downloads > Expert Advisors - 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 08-20-2009, 09:24 PM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
Wink Gold Fx Sniper's by Dr.House

this is my first ea...
i did modify another code

this ea work with only 2 indy's "goldminer 1" and "fx sniper's ergodic"

test it on usd chf usd jpy and eur usd last 3 months on H4

simply open a position when both indy's are agree and close position when fx sniper's is disagree

DEFAULT SETTINGS

EAName "Goldminer System EA"

S1a="---------------- Goldminer1 Settings";

RISK=1;
CountBars1=300;

S1b="---------------- FX Snipers ergodic cci Settings";

pq=2;
pr=3;
ps=3;
trigger=3;

S2="---------------- Money Management";

Lots=0.1;//|-----------------------lots size
RiskMM=false;//|---------------------risk management
RiskPercent=1;//|------------------risk percentage


Martingale=false;//|-----------------martingale
Multiplier=2.0;//|-----------------multiplier martingale
MinProfit=50;//--------------------minimum profit to apply the martingale
BasketProfitLoss=false;//|-----------use basket loss/profit
BasketProfit=100000;//|---------------if equity reaches this level, close trades
BasketLoss=9999;//|-------------------if equity reaches this negative level, close trades


S3="---------------- Order Management";

ExitOnG2=true;//|-------------------exit at opposite fxsniper's
StopLoss=0;//|------------------------stop loss
TakeProfit=0;//|----------------------take profit
HideSL=false;//|---------------------hide stop loss
HideTP=false;//|---------------------hide take profit
TrailingStop=0;//|--------------------trailing stop
TrailingStep=0;//|--------------------trailing step
BreakEven=0;//|-----------------------break even
MaxOrders=100;//|---------------------maximum orders allowed
Slippage=3;//|------------------------slippage
eMagic=2009;//|------------------------magic number


S4="---------------- MA Filter";

MAFilter=false;//|-------------------moving average filter
MAPeriod=20;//|-----------------------ma filter period
MAMethod=0;//|------------------------ma filter method
MAPrice=0;//|-------------------------ma filter price



S5="---------------- Time Filter";

TradeOnSunday=true;//|---------------time filter on sunday
MondayToThursdayTimeFilter=false;//|-time filter the week
MondayToThursdayStartHour=0;//|-------start hour time filter the week
MondayToThursdayEndHour=24;//|--------end hour time filter the week
FridayTimeFilter=false;//|-----------time filter on friday
FridayStartHour=0;//|-----------------start hour time filter on friday
FridayEndHour=21;//|------------------end hour time filter on friday


S6="---------------- Extras";

Hedge=false;//|----------------------enter an opposite trade
HedgeSL=0;//|-------------------------stop loss
HedgeTP=0;//|-------------------------take profit
ReverseSystem=false;//|--------------buy instead of sell, sell instead of buy


ReverseAtStop=false;//|--------------buy instead of sell, sell instead of buy
Expiration=240;//|--------------------expiration in minute for the reverse pending order
Comments=true;//|--------------------allow comments on chart


UPGRADE 1.1

function basket profit loss added

TEMPLATE

you can download template of this image here :
http://www.forex-tsd.com/302367-post24.html
Attached Images
File Type: jpg fx gold sniper's.jpg (333.1 KB, 138 views)
Attached Files
File Type: mq4 EA Gold Fx Sniper's by Dr House.mq4 (15.6 KB, 203 views)
File Type: mq4 FX_Sniper's_Ergodic_CCI_Trigger.mq4 (3.9 KB, 232 views)
File Type: ex4 goldminer1.ex4 (5.7 KB, 224 views)
File Type: mq4 EA Gold Fx Sniper's by Dr House 1.1.mq4 (15.6 KB, 111 views)

Last edited by dr.house7; 09-04-2009 at 09:53 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
  #2 (permalink)  
Old 08-21-2009, 12:05 PM
Member
 
Join Date: Apr 2009
Posts: 32
Meister_Propper is on a distinguished road
Quote:
Originally Posted by dr.house7 View Post
this is my first ea...
i did modify another code

this ea work with only 2 indy's "goldminer 1" and "fx sniper's ergodic"

test it on usd chf usd jpy and eur usd last 3 months

simply open a position when both indy's are agree and close position when fx sniper's is disagree
Thanks for sharing! What are your results so far? Did you optimize the settings? Best regards!
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 08-21-2009, 05:15 PM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
Default settings

on usd / jpy H4
i don't have time for every tick backtest (but results are very similar)

this is from march to 20 august
Attached Images
File Type: gif usd jpy h4.gif (8.6 KB, 742 views)
Attached Files
File Type: zip statement usdjpy.zip (71.1 KB, 35 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
  #4 (permalink)  
Old 08-21-2009, 05:19 PM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
Wink default settings

usd chf on h4
same period
Attached Images
File Type: gif usd chf h4.gif (8.9 KB, 748 views)
Attached Files
File Type: zip statement usdchf.zip (84.1 KB, 18 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
  #5 (permalink)  
Old 08-21-2009, 05:21 PM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
default

eur usd h4
Attached Images
File Type: gif eur usd h4.gif (8.9 KB, 734 views)
Attached Files
File Type: zip statement eurusd.zip (84.7 KB, 21 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
  #6 (permalink)  
Old 08-21-2009, 05:25 PM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
default settings

eur jpy h4
same period
Attached Images
File Type: gif eur jpy h4.gif (8.8 KB, 729 views)
Attached Files
File Type: zip statement eurjpy.zip (78.6 KB, 26 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
  #7 (permalink)  
Old 08-22-2009, 12:35 AM
Senior Member
 
Join Date: Sep 2005
Posts: 290
aelimian is on a distinguished road
Quote:
Originally Posted by dr.house7 View Post
this is my first ea...
i did modify another code

this ea work with only 2 indy's "goldminer 1" and "fx sniper's ergodic"

test it on usd chf usd jpy and eur usd last 3 months

simply open a position when both indy's are agree and close position when fx sniper's is disagree
What are the settings for both indicators above?
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
  #8 (permalink)  
Old 08-22-2009, 09:21 AM
dr.house7's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Italy
Posts: 186
dr.house7 is on a distinguished road
Quote:
Originally Posted by aelimian View Post
What are the settings for both indicators above?
Thanks
look at the first post

Last edited by dr.house7; 08-22-2009 at 09:26 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
  #9 (permalink)  
Old 08-25-2009, 03:53 AM
Senior Member
 
Join Date: Oct 2007
Posts: 235
zomg is on a distinguished road
Thanks for the EA, started testing it. First thing i noticed is that EA doesn't try to open trade after it fails the 1st time. There was Trade Context Busy error on UJ, and it didn't attempt to open the trade again. This trade would be in profit at this time. This can also be bad when closing the trades too i think. Right now 2 trades open in profit. Alpari US demo. Will see how it does in long run.
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 08-25-2009, 04:08 AM
Senior Member
 
Join Date: Sep 2005
Posts: 290
aelimian is on a distinguished road
Quote:
Originally Posted by dr.house7 View Post
this is my first ea...
i did modify another code

this ea work with only 2 indy's "goldminer 1" and "fx sniper's ergodic"

test it on usd chf usd jpy and eur usd last 3 months

simply open a position when both indy's are agree and close position when fx sniper's is disagree

REMEMBER!!

All settings are in the ea file...so you must download it for know inicators parameters

anyway i put also here:




extern string S1a="---------------- Goldminer1 Settings";

extern int RISK=1;
extern int CountBars1=300;

extern string S1b="---------------- FX Snipers ergodic cci Settings";

extern int pq=2;
extern int pr=3;
extern int ps=3;
extern int trigger=3;

How did get the fx sniper's ergodic onto the chart?
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
cci, ea gold fx sniper's, Fx sniper's, gold, goldminer


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
EA for gold newdigital Expert Advisors - Metatrader 4 4 10-27-2009 09:58 PM
Moving House - Free Trading Books xard777 General Discussion 5 03-17-2008 02:23 AM
What can the brokers ( house ) see of my EA icm63 Expert Advisors - Metatrader 4 4 09-22-2007 08:49 AM
E-gold Hacked !!! haba Non Related Discussions 16 04-04-2007 06:13 AM
Gold HighFireTrend Analytics 4 01-15-2007 10:23 PM


All times are GMT. The time now is 12:09 AM.



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