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 :

https://www.forex-tsd.com/forum/debates-discussions/11192-gold-fx-sniper-s-by-dr-house/page2#comment_412148

 
dr.house7:
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!

 

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

Files:
 

default settings

usd chf on h4

same period

Files:
 

default

eur usd h4

Files:
 

default settings

eur jpy h4

same period

Files:
 
dr.house7:
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

 
aelimian:
What are the settings for both indicators above? Thanks

look at the first post

 

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.

 
dr.house7:
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?

 
aelimian:
How did get the fx sniper's ergodic onto the chart?

same as goldminer, right click on it in navigator window, and select attach to chart.

Reason: