View Single Post
  #559 (permalink)  
Old 11-30-2007, 01:30 AM
tiger_wong tiger_wong is offline
Member
 
Join Date: Nov 2006
Posts: 94
tiger_wong is on a distinguished road
Quote:
Originally Posted by erdenmensch View Post
@tiger_wong
Here are my settings. What is wrong? I use 100 K account wiht 5000 capital.
Yes, the problem seems is your setting of ProfitTarget. It is a profit target for your floating positions. If you setting 5, then the EA will close all position when total profit is equal or greater than your setting.

Quote:
Originally Posted by duyduy View Post
This is my new setting for FXopen micro account using V2
TradeShort=0
TradeLong=1
UseDPO=0
UseSniper=0
LotSize=1.00000000
LotIncrement=0.50000000
Multiplier=0.00000000
ProfitTarget=100
OpenOnTick=1
Spacing=10
TrendSpacing=1000
CounterTrendMultiplier=1.00000000
CloseDelay=0
CeaseTrading=0
PasueTrading=Pause Trading at Timeinterval
StartTime=0
EndTime=0
QuitTrading=Quit Trading at Time
endDayHourMinute=0
RightSideLabel=1
SessionTarget=300
MaximumBuyOrders=5
MaximumSellOrders=5

V2mod4 still have some bug on Session Target or SL. Still can't figure it out.
DOn't try it on live account.
Yes, duyduy is right. But I think this bug is not harm your trading, it just reduce your profit target a little.
Quote:
Originally Posted by faifarni View Post
Your settings show spacing of 45 but your statement looks like the spacing is much lower than that. Are these the correct settings??

Nick,
I am curious with these two parameters, spacing and trendspacing. So, I try to look the code for this EA and I found logic that use this parameter is

// BUY Trade Criteria
if (HighestBuy > 0 && LowestBuy < 1000)
{
if (Ask <= LowestBuy - (Spacing * Point) || Ask >= HighestBuy + (TrendSpacing * Point))

// SELL Trade Criteria
if (HighestSell > 0 && LowestSell < 1000)
{
if (Bid >= HighestSell + (Spacing * Point) || Bid <= LowestSell - (TrendSpacing * Point))

I think we must be careful when set these 2 parameters because both are used in the logic for buy or sell order. And it seems there is a misunderstanding about spacing and trendspacing. From my understanding, Spacing is used when price is going against our trend prediction and TrendSpacing is used when price is going in the same direction as our prediction.
So, when our prediction is right, the EA won't open another position even if price moving as our prediction because if our setting is 1000, it will wait for 1000 pips above from our previous position.

From my experience when was doing backtest for this EA, it is easier to reach our Profit Target if we set trend spacing not equal 1000 but the good setting for Eur/Usd is about 10-15.

Last edited by tiger_wong; 11-30-2007 at 01:35 AM.
Reply With Quote