|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (3) | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
Quote:
Try re-start windows. |
|
|||
|
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. |
|
|||
|
Quote:
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 Code:
// which indicators to use int DirectionMode = DIRECTION_MACD, FilterMode = FILTER_WPR; |
|
|||
|
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; |
|
|||
|
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" };
|
|
|||
|
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;] |
|
|||
|
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; |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |