Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4 > TSD Expert Advisors
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-16-2005, 03: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, 507 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2006, 11:20 AM
Junior Member
 
Join Date: Nov 2005
Posts: 11
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 01-26-2006, 11:21 AM
Junior Member
 
Join Date: Nov 2005
Posts: 11
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 01-26-2006, 12:32 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2006, 11: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2006, 07:35 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2006, 07:38 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2006, 07:42 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2006, 07:46 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2006, 07:50 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump


All times are GMT. The time now is 11:32 PM.



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