Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4 > TSD Expert Advisors


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-16-2005, 02:35 AM
vivachinajupiter
Guest
 
Posts: n/a
TSD_MT4_MR_Trade_0_34

Version 0.34 of TSD from Mindaugas
Attached Files
File Type: mq4 TSD_MT4_MR_Trade_0_34.mq4 (16.9 KB, 476 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2006, 10:20 AM
Junior Member
 
Join Date: Nov 2005
Posts: 10
stabil is on a distinguished road
Error TSD

Error experts TSD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-26-2006, 10:21 AM
Junior Member
 
Join Date: Nov 2005
Posts: 10
stabil is on a distinguished road
Error TSD

There has been a critical error
Time : 2006.01.26 12:01
Program : Client Terminal
Version : 4.00 (build: 188, 12 Jan 2006)
Owner : X-Trade Brokers (X-Trader)
OS : Windows XP Professional 5.1 Dodatek Service Pack 2 (Build 2600)
Processors : 1, type 586, level 6
Memory : 523760/180876 kb
Exception : C0000005
Address : 004615CB
Access Type : write
Access Addr : 000005A0

Registers : EAX=06730198 CS=001b EIP=004615CB EFLGS=00010206
: EBX=0122FE44 SS=0023 ESP=0662FF50 EBP=0118EC68
: ECX=00000003 DS=0023 ESI=0234BFE0 FS=003b
: EDX=0000000D ES=0023 EDI=000005A0 GS=0000
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-26-2006, 11:32 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by stabil
There has been a critical error
Time : 2006.01.26 12:01
Program : Client Terminal
Version : 4.00 (build: 188, 12 Jan 2006)
Owner : X-Trade Brokers (X-Trader)
OS : Windows XP Professional 5.1 Dodatek Service Pack 2 (Build 2600)
Processors : 1, type 586, level 6
Memory : 523760/180876 kb
Exception : C0000005
Address : 004615CB
Access Type : write
Access Addr : 000005A0

Registers : EAX=06730198 CS=001b EIP=004615CB EFLGS=00010206
: EBX=0122FE44 SS=0023 ESP=0662FF50 EBP=0118EC68
: ECX=00000003 DS=0023 ESI=0234BFE0 FS=003b
: EDX=0000000D ES=0023 EDI=000005A0 GS=0000
I have no idea. We are testing 025 version and no problem about.
Try re-start windows.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2006, 10:12 PM
awu awu is offline
Junior Member
 
Join Date: Feb 2006
Posts: 7
awu is on a distinguished road
Question TSD code error?

Here is a section of TSD code(in all versions) insider Filter() to update
buy/sell decision variables using WPR filter:

if (Mode == FILTER_WPR) {
Value = iWPR(TradeSymbol, PeriodTrade, WilliamsP, 1);
if (Value < WilliamsH) okBuy = true;
if (Value > WilliamsL) okSell = true;
return ("iWPR: " + DoubleToStr(Value, 2));
}

where WilliamsH was set to -25, WilliamsL was set to -75.

This means if Value is between -25 & -75 then both okBuy & okSell will be
set to true. This doesn't seem to be right.
The right logic may look :
if (Value > WilliamsH) okSell = true
else if (Value < WilliamsL) okBuy = true;

Can someone verify that?
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2006, 06:35 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by awu
Here is a section of TSD code(in all versions) insider Filter() to update
buy/sell decision variables using WPR filter:

if (Mode == FILTER_WPR) {
Value = iWPR(TradeSymbol, PeriodTrade, WilliamsP, 1);
if (Value < WilliamsH) okBuy = true;
if (Value > WilliamsL) okSell = true;
return ("iWPR: " + DoubleToStr(Value, 2));
}

where WilliamsH was set to -25, WilliamsL was set to -75.

This means if Value is between -25 & -75 then both okBuy & okSell will be
set to true. This doesn't seem to be right.
The right logic may look :
if (Value > WilliamsH) okSell = true
else if (Value < WilliamsL) okBuy = true;

Can someone verify that?
Thanks.
I just looked at the code of TSD 0.25 and TSD 0.36 versions. I think that TSD 0.34 should be with the same logic.

According to my understanding of the code the logic is the following:

1. We may choose which indicator to use to estimate the rend and which indicator to use as a filter:

Code:
#define  DIRECTION_MACD 1
#define  DIRECTION_OSMA 2

#define  FILTER_WPR     1
#define  FILTER_FORCE   2
And

Code:
// which indicators to use
int DirectionMode = DIRECTION_MACD, FilterMode = FILTER_WPR;
I spoke with Mindaugas some time ago (he is the coder of almost all the versions of TSD) and he said that we may select the indicator for direction (MACD or OSMA) and indicator for filter (WPR or FORCE) by simple changing in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2006, 06:38 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
2. TSD EA is trading on D1 timeframe taking the direction from W1 and trailing on H4 timeframe:

Code:
// trading periods
int PeriodDirection = PERIOD_W1, PeriodTrade = PERIOD_D1, PeriodTrailing = PERIOD_H4, CandlesTrailing = 0;
We may change it but the original idea was like this (see code above).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2006, 06:42 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
3. We may choose the pairs to trade:

Code:
// currency pairs to trade
string pairs[] = { "AUDUSD", "EURCHF", "EURGBP", "EURJPY", "EURUSD",
                   "GBPCHF", "GBPJPY", "GBPUSD", "USDCAD", "USDCHF", "USDJPY" };
The trading is simple: just attach EA to the any D1 chart (GBPJPY or GBPCHF is preferable). And EA will trade all the pairs simultaniously. If we do not want for some pair to be traded we may simple delete this pair from the code. Remember: attach EA to one D1 chart only and this EA will trade all the pair mentioned in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2006, 06:46 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
4. As we can choose the indicators for direction and filter we may select the settings of the indicators. I think the settings are the same with all the versions:

Code:
// parameters for MACD and OsMA
int DirectionFastEMA = 12, DirectionSlowEMA = 26, DirectionSignal = 9;
// parameters for iWPR and iForce indicators
int WilliamsP = 24, WilliamsL = -75, WilliamsH = -25;
int ForceP = 2;]
Nobody changed it. But we may change in the code. It's no problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2006, 06:50 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,986
Blog Entries: 70
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
5. And there are some trading options which we may change as well:

Code:
int MagicNumber = 2005072001;

bool TrailingStop = true;
int TakeProfit = 100, Slippage = 5, LotsMax = 10, MM = 0, Leverage = 1, MarginChoke = 200;
double Lots = 0.1;

string TradeSymbol, CommentHeader, CommentsPairs[];
int Pair = -1, SDigits;
datetime LastTrade = 0;
double Spread, SPoint, STS, StopLevel;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tsd-expert-advisors/4-tsd_mt4_mr_trade_0_34-a.html
Posted By For Type Date
Alexander Elder System - Forex Trading | MetaTrader Indicators and Expert Advisors This thread Refback 03-17-2008 10:11 AM
Alexander Elder System - Forex Trading | MetaTrader Indicators and Expert Advisors This thread Refback 07-26-2007 06:28 PM
Alexander Elder System - Forex Trading | MetaTrader Indicators and Expert Advisors This thread Refback 06-24-2007 05:12 PM


All times are GMT. The time now is 10:52 PM.



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