Get Back Your Money

Friday, August 7, 2009

Difference formula for buy and sell signal

There is a single line in my VS_EuroCross_D05 that should be corrected. I forget to link it with the external variable. It make your optimization will not work on long position. However in the short position it work well, as well if your broker offer 3 fixed spread and you use default setting.
It is located on the line 419 setFilter2(currange,3,1,0,0), all these parameter should be linked in the external variable. It is over optimization. Because the entry formula for long position is different with short position. To fix it, just go to the line 398, or find this statement setFilter2(currange,MinRange,MinProfit,UseRange,UseTradeRange) then replace it. This is the correct one. For a system, the Sell signal and Buy signal should be symmetrical.
TheStreet.com 468x60 Best Seller Giveaway

Sponsor link:
MSI U123 10.2” XP Home 3-Cell Netbook (Blue or Red) $319 Free Shipping
Reduce Your Spread at Many Forex Broker

4 komentar:

Anonymous said...

If I understand correctly we must delete setFilter2(currange,MinRange,MinProfit,UseRange,UseTradeRange) line and repleace it with setFilter2(currange,3,1,0,0) line? Sorry if this question sounds silly I'm not a programer.

Anonymous said...

Volatility can you please correct it and upload fixed version so that we don't mess something up. Thanks

Unknown said...

No delete setFilter2(currange,3,1,0,0) and replace with setFilter2(currange,MinRange,MinProfit,UseRange,UseTradeRange)

Syarif said...

Of course, before opening, I will update it.

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.