Get Back Your Money

Monday, August 3, 2009

VS_EuroCross_d05 External Variables

Below the list of new external variables that are used in VS_EuroCross_D05.
extern double MinRange =3
Unlike any previous version, now we can use flexible range (distance from MA) to execute the trade. Inside the code, this value will be added with current spread. Thus this is just equal with double spread (Spread on my backtest is 3).
extern bool SpreadFilter=true
If you want to keep using double spread filter, then just set this variable to True.
extern double MinProfit =1
It doesn't mean if you set this variable with 1, then expert will close any orders with 1 pip profit. But since most profitable trades are closed when price hits MA, then the expert will see this variable when price hit MA. Thus if you pay for commission, set this value with 2.
extern bool UseRange =false
Basically it just calculate current range. Set this value to True. My backtest shows better result by using this filter.
extern bool UseTradeRange=false;
I set this value to True, when posting VS_EuroCross_D05 backtest result. Just compare between with FixedTP, the profit factor is equal but VS_EuroCross_D05 has bigger profit then FixedTP.

2 komentar:

Anonymous said...

OpenHour and CloseHour from 22 to 5 are these GMT time? I am testing on Alpari UK so what time should I use?

Anonymous said...

I tested from June'2009 EURGBP and there was a major drawdown on June 5th. Three major losses. Is this normal?

Post a Comment

Risk Warning

Please note that Trading in the Foreign Exchange market might carry potential rewards, but also potential risks. You must be aware of the risks and are willing to accept them in order to trade in the foreign exchange market. Don't trade with money you can't afford to lose.