|
|

楼主 |
发表于 3-12-2008 10:36 PM
|
显示全部楼层
原帖由 callmedante 于 3-12-2008 10:29 PM 发表 
以下是我使用smalldragon提供的tradesimulator測試的結果
測試速度是23倍
不過實際玩demo就沒有這麼神了,我想這跟我個人的心理因素有關
因為demo要學會等待
tradesimulator的速度卻可以調得很快
以下是htm檔 ...
我不能下載rapidshare的file,不要緊。。。聽説yast77不是打算做這個EA嗎? |
|
|
|
|
|
|
|
|
|
|
发表于 3-12-2008 10:51 PM
|
显示全部楼层
原帖由 mancai 于 3-12-2008 10:36 PM 发表 
我不能下載rapidshare的file,不要緊。。。聽説yast77不是打算做這個EA嗎?
我把連接改成sendspace了
我也在等著yast77的完整版出現,以我目前的功力還無法靠自己寫出來 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 3-12-2008 11:48 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 4-12-2008 12:04 AM
|
显示全部楼层
bool OpenBuySignal()
{
double rsi1 = iCustom(NULL, 0, "RSIs_mtf", 0, 14, 0, 0, 0, 2500, "a", "b", 0, 0);
double rsi_shifted1 = iCustom(NULL, 0, "RSIs_mtf", 0, 14, 0, 1, 0, 2500, "a", "b", 0, 1);
//double fractal1 = iCustom(NULL, 0, "FractalVolty_v1", 1, 1, 1, 0, 0);
double stoch1 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 0);
//double stoch_shifted1 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 1);
//double stoch1_240 = iCustom(NULL, 0, "MTF_Stochastic", 240, 8, 2, 2, 0, 0, 0, 0);
//double stoch_240_shifted1 = iCustom(NULL, 0, "MTF_Stochastic", 240, 8, 2, 2, 0, 0, 0, 1);
if (rsi_shifted1<32.5000)
{
return (true);
}else{
return (false);
}
}
bool OpenSellSignal()
{
double rsi2 = iCustom(NULL, 0, "RSIs_mtf", 0, 14, 0, 0, 0, 2500, "a", "b", 0, 0);
double rsi_shifted2 = iCustom(NULL, 0, "RSIs_mtf", 0, 14, 0, 1, 0, 2500, "a", "b", 0, 1);
//double fractal2 = iCustom(NULL, 0, "FractalVolty_v1", 1, 1, 1, 0, 0);
double stoch2 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 0);
//double stoch_shifted2 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 1);
//double stoch2_240 = iCustom(NULL, 0, "MTF_Stochastic", 240, 8, 2, 2, 0, 0, 0, 0);
//double stoch_240_shifted2 = iCustom(NULL, 0, "MTF_Stochastic", 240, 8, 2, 2, 0, 0, 0, 1);
if (rsi_shifted2>rsi2 && rsi2>67.5000)
{
return (true);
}else{
return (false);
}
}
bool CloseBuySignal()
{
double stoch3 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 0);
if (stoch3 > 70.0)
{
return (true);
}else{
return (false);
}
}
bool CloseSellSignal()
{
double stoch4 = iCustom(NULL, 0, "MTF_Stochastic", 0, 8, 2, 2, 0, 0, 0, 0);
if (stoch4 < 30.0)
{
return (true);
}else{
return (false);
}
}
2008.12.03 15:58:28 2008.09.01 04:00 MTF_Stochastic EURUSDm,M5: object name passed to ObjectFind function cannot be an uninitialized or empty string
我加入MTF_stochastic就出現這個error,stoch不能這樣寫的嗎? |
|
|
|
|
|
|
|
|
|
|
发表于 4-12-2008 12:14 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 4-12-2008 12:16 AM
|
显示全部楼层
原帖由 mancai 于 4-12-2008 12:04 AM 发表 
2008.12.03 15:58:28 2008.09.01 04:00 MTF_Stochastic EURUSDm,M5: object name passed to ObjectFind function cannot be an uninitialized or empty string
我加入MTF_stochastic就出現這個error,sto ...
会不会是你给的parameter不对? |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 4-12-2008 12:33 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 4-12-2008 01:48 AM
|
显示全部楼层
看不出哪里出错,不妨试下用MT4自带的stoch indicator代替。 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 4-12-2008 08:13 AM
|
显示全部楼层
原帖由 my_life_my_way 于 4-12-2008 01:48 AM 发表 
看不出哪里出错,不妨试下用MT4自带的stoch indicator代替。
我打算用MTF stoch来代替MTF MACD的 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 4-12-2008 08:22 AM
|
显示全部楼层
Parameters:
symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
%Kperiod - %K line period.
%Dperiod - %D line period.
slowing - Slowing value.
method - MA method. It can be any ofMoving Average method enumeration value.
price_field - Price field parameter. Can be one of this values: 0 - Low/High or 1 - Close/Close.
mode - Indicator line index. It can be any of the Indicators line identifiers enumeration value.
shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Moving Average calculation method used with iAlligator(),iEnvelopes(), iEnvelopesOnArray,iForce(), iGator(),iMA(), iMAOnArray(),iStdDev(), iStdDevOnArray(),iStochastic() indicators.
It can be any of the following values:
| Constant | Value | DXXXXXn | | MODE_SMA | 0 | Simple moving average, | | MODE_EMA | 1 | Exponential moving average, | | MODE_SMMA | 2 | Smoothed moving average, | | MODE_LWMA | 3 | Linear weighted moving average. |
Indicator line identifiers used in iMACD(), iRVI()and iStochastic() indicators.
It can be one of the following values:
| Constant | Value | DXXXXXn | | MODE_MAIN | 0 | Base indicator line. | | MODE_SIGNAL | 1 | Signal line. | Indicator line identifiers used in iADX() indicator.
| Constant | Value | DXXXXXn | | MODE_MAIN | 0 | Base indicator line. | | MODE_PLUSDI | 1 | +DI indicator line. | | MODE_MINUSDI | 2 | -DI indicator line. | Indicator line identifiers used in iBands(),iEnvelopes(), iEnvelopesOnArray(), iFractals()and iGator() indicators.
| Constant | Value | DXXXXXn | | MODE_UPPER | 1 | Upper line. | | MODE_LOWER | 2 | Lower line. |
应该对的啊。。。 |
|
|
|
|
|
|
|
|
|
|
发表于 4-12-2008 03:49 PM
|
显示全部楼层
原帖由 mancai 于 4-12-2008 08:13 AM 发表 
我打算用MTF stoch来代替MTF MACD的
那你试过用built-in的stoch indi没有? |
|
|
|
|
|
|
|
|
|
|
发表于 21-12-2008 01:17 AM
|
显示全部楼层
原帖由 howdanny 于 20-12-2008 08:03 PM 发表 
想试试这个fabturbo可是要150美金。
有免费的吗?还是它可以几个人share的?
在它的網站能夠拿到$10折扣,所以總數是$139。
這里有人share‘免費版’,你找找看吧。 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 5-12-2008 08:04 AM
|
显示全部楼层
原帖由 my_life_my_way 于 4-12-2008 03:49 PM 发表 
那你试过用built-in的stoch indi没有?
可以了,原来stoch是这样code的。。。
double sto15 = iCustom(NULL,PERIOD_M15,"#MTF Stochastic v2",TimeFrame15,KPeriod,DPeriod,Slowing,MAMethod,PriceField,MODE_SMA,0,MODE_MAIN,1);
发现stoch比MACD更好,因为没有repaint问题。 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 5-12-2008 10:49 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 5-12-2008 10:56 AM
|
显示全部楼层
放弃merdekarama EA了,因为repaint很厉害
而且SL太大了,只要把SL放小,就输到脸青青 |
|
|
|
|
|
|
|
|
|
|
发表于 5-12-2008 11:01 AM
|
显示全部楼层
回复 59# mancai 的帖子
mancai I support u Fxlover EA. Teach me when the next Northern Forex Meeting  |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 5-12-2008 11:22 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 5-12-2008 11:42 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 5-12-2008 12:00 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 7-1-2009 09:26 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|