Edit Your Comment
Welcome!
Jul 31, 2009 zamanından beri üye
1418 iletiler
Jul 31, 2009 at 17:00
Jul 31, 2009 zamanından beri üye
1418 iletiler
This is the Programming topic discussion.
Create your next automated trading system with the help of the community.
Create your next automated trading system with the help of the community.
Jan 28, 2010 zamanından beri üye
2 iletiler
Jan 28, 2010 at 19:06
Jan 28, 2010 zamanından beri üye
2 iletiler
Hi all,
I have been trying to elaborate more on the EA of Yuriy Tokman called ytg_Multi_Stochastic on M1 timeframe. This elegant EA may show some weaknesses, when ""swings are "beaten" by trends"". I have been trying to fix this problem by searching in two areas:
- Use of MACD (or another arrangement of MAs) to eliminate (ie not to do) some entries.
- Use relation to other three pairs at the moment of a possible entry - this info is not used so far in the EA.
So far, without success.
I wonder, whether this forum could help me with some ideas how to beat weaknesses of the EA ytg_Multi_Stochastic on M1 timeframe.
This EA is publically available at: http://codebase.mql4.com/5653
Thanks a lot in advance.
SAMUEL007
I have been trying to elaborate more on the EA of Yuriy Tokman called ytg_Multi_Stochastic on M1 timeframe. This elegant EA may show some weaknesses, when ""swings are "beaten" by trends"". I have been trying to fix this problem by searching in two areas:
- Use of MACD (or another arrangement of MAs) to eliminate (ie not to do) some entries.
- Use relation to other three pairs at the moment of a possible entry - this info is not used so far in the EA.
So far, without success.
I wonder, whether this forum could help me with some ideas how to beat weaknesses of the EA ytg_Multi_Stochastic on M1 timeframe.
This EA is publically available at: http://codebase.mql4.com/5653
Thanks a lot in advance.
SAMUEL007
Every problem has got it’s Columbus' egg
Aug 06, 2009 zamanından beri üye
386 iletiler
Jan 29, 2010 at 11:47
Aug 06, 2009 zamanından beri üye
386 iletiler
have you tried using rsi looking for oversold/overbought areas as possible trends?
Sleep is for the weak.
Jan 28, 2010 zamanından beri üye
2 iletiler
Jan 30, 2010 at 12:19
Jan 28, 2010 zamanından beri üye
2 iletiler
biz0101 posted:
have you tried using rsi looking for oversold/overbought areas as possible trends?
Thanks for the idea biz0101. This might work when using multiple timeframes. I shall play with that a while.
Regards,
SAMUEL007
Every problem has got it’s Columbus' egg
Jan 18, 2010 zamanından beri üye
3 iletiler
Feb 02, 2010 at 20:59
Jan 18, 2010 zamanından beri üye
3 iletiler
Hello, im very fresh in trading im learn it abaut two year, and have only 3month real trade experiance. Im try to program the ichimoku indicator. Sadly it don't want to work:((. I think beacose i don't speek mql4 language(c++).
KS= Kejin San
TS= Teikan San ....
jelenlegi=the actual
elozo= the one beafore this one
zaroar= close price
zaroarano= the last candle's (the one beafore this one's) close price
Here it is:
extern double KSjelenlegi=26;
extern double TSjelenlegi=9;
extern double Chinkaus=52;
extern double Lots = 0.1;
extern double TakeProfit = 50;
extern double Zaroar = 1;
extern double Zaroarano = 1;
int start()
{
double TSjelenlegi, TSelozo;
double KSjelenlegi, KSelozo;
double SpanA, SpanB, CS;
int cnt, ticket, total;
total=OrdersTotal();
if(total<1)
TSjelenlegi=iIchimoku(NULL,0,9,26,26,MODE_TENKANSEN,0);
TSelozo=iIchimoku(NULL,0,9,26,26,MODE_TENKANSEN,1);
KSjelenlegi=iIchimoku(NULL,0,9,26,26,MODE_KIJUNSEN,0);
KSelozo=iIchimoku(NULL,0,9,26,26,MODE_KIJUNSEN,1);
SpanA=iIchimoku(NULL,0,9,26,26,MODE_SENKOUSPANA,0);
SpanB=iIchimoku(NULL,0,9,26,26,MODE_SENKOUSPANB,0);
CS=iIchimoku(NULL,0,9,26,26,MODE_CHINKOUSPAN,26);
Zaroar=iMA(NULL,0,1,0,MODE_SMA,PRICE_CLOSE,0);
Zaroarano=iMA(NULL,0,1,0,MODE_SMA,PRICE_CLOSE,26);
//+------------------------------------------------------------------+
//vétel(bay)
if(TSjelenlegi>KSjelenlegi && TSelozoZaroarano)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+
TakeProfit*Point,"Ichi",16384,0,Green);
if(ticket>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("VÉTELI poz nyitás : ",OrderOpenPrice());
}
//eladás(sell)
if(TSjelenlegiKSelozo && SpanA>Zaroar && SpanB>Zaroar && CS0)
}
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("ELADÁSI poz nyitás : ",OrderOpenPrice());
}
Please comment, i know its not good but it will... Mat
KS= Kejin San
TS= Teikan San ....
jelenlegi=the actual
elozo= the one beafore this one
zaroar= close price
zaroarano= the last candle's (the one beafore this one's) close price
Here it is:
extern double KSjelenlegi=26;
extern double TSjelenlegi=9;
extern double Chinkaus=52;
extern double Lots = 0.1;
extern double TakeProfit = 50;
extern double Zaroar = 1;
extern double Zaroarano = 1;
int start()
{
double TSjelenlegi, TSelozo;
double KSjelenlegi, KSelozo;
double SpanA, SpanB, CS;
int cnt, ticket, total;
total=OrdersTotal();
if(total<1)
TSjelenlegi=iIchimoku(NULL,0,9,26,26,MODE_TENKANSEN,0);
TSelozo=iIchimoku(NULL,0,9,26,26,MODE_TENKANSEN,1);
KSjelenlegi=iIchimoku(NULL,0,9,26,26,MODE_KIJUNSEN,0);
KSelozo=iIchimoku(NULL,0,9,26,26,MODE_KIJUNSEN,1);
SpanA=iIchimoku(NULL,0,9,26,26,MODE_SENKOUSPANA,0);
SpanB=iIchimoku(NULL,0,9,26,26,MODE_SENKOUSPANB,0);
CS=iIchimoku(NULL,0,9,26,26,MODE_CHINKOUSPAN,26);
Zaroar=iMA(NULL,0,1,0,MODE_SMA,PRICE_CLOSE,0);
Zaroarano=iMA(NULL,0,1,0,MODE_SMA,PRICE_CLOSE,26);
//+------------------------------------------------------------------+
//vétel(bay)
if(TSjelenlegi>KSjelenlegi && TSelozoZaroarano)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+
TakeProfit*Point,"Ichi",16384,0,Green);
if(ticket>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("VÉTELI poz nyitás : ",OrderOpenPrice());
}
//eladás(sell)
if(TSjelenlegiKSelozo && SpanA>Zaroar && SpanB>Zaroar && CS0)
}
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("ELADÁSI poz nyitás : ",OrderOpenPrice());
}
Please comment, i know its not good but it will... Mat
if one picture is equal with 100 worlds one chart equal 1000 picture /MJP/
Aug 06, 2009 zamanından beri üye
386 iletiler
Feb 03, 2010 at 11:04
(Feb 03, 2010 at 11:04 düzenlendi)
Aug 06, 2009 zamanından beri üye
386 iletiler
Mat, is this the complete program?
because you're missing the declaration of these variables: TSelozoZaroarano, TSjelenlegiKSelozo
also, this is not an indicator but an expert advisor since it trades your account.
because you're missing the declaration of these variables: TSelozoZaroarano, TSjelenlegiKSelozo
also, this is not an indicator but an expert advisor since it trades your account.
Sleep is for the weak.
Jan 18, 2010 zamanından beri üye
3 iletiler
Feb 03, 2010 at 13:24
Jan 18, 2010 zamanından beri üye
3 iletiler
yes, sorry i try to make EA from the Ichimoku, it intresting i copy paste the stuff and it > or < beatween the TSelozoZaroarano and the TSjelenlegiKSelozo.
Print(" ",Zaroar);
//vétel
if(TSjelenlegi>KSjelenlegi && TSelozoZaroarano)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+
TakeProfit*Point,"Ichi",16384,0,Green);
if(ticket>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("VÉTELI poz nyitás : ",OrderOpenPrice());
}
//eladás
if(TSjelenlegiKSelozo && SpanA>Zaroar && SpanB>Zaroar && CS0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("SELL order opened : ",OrderOpenPrice());
}
}
}
I want to put in that don't trade when RSI is oversold or overbougt, expect in right direction.
Print(" ",Zaroar);
//vétel
if(TSjelenlegi>KSjelenlegi && TSelozoZaroarano)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+
TakeProfit*Point,"Ichi",16384,0,Green);
if(ticket>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("VÉTELI poz nyitás : ",OrderOpenPrice());
}
//eladás
if(TSjelenlegiKSelozo && SpanA>Zaroar && SpanB>Zaroar && CS0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("SELL order opened : ",OrderOpenPrice());
}
}
}
I want to put in that don't trade when RSI is oversold or overbougt, expect in right direction.
if one picture is equal with 100 worlds one chart equal 1000 picture /MJP/
Aug 06, 2009 zamanından beri üye
386 iletiler
Feb 03, 2010 at 15:28
Aug 06, 2009 zamanından beri üye
386 iletiler
not sure what's going on in your code since you paste bits of it, but measuring rsi is very simple.
check that the rsi is bigger than X value (replace X with value): if (iRSI(NULL,0,14,PRICE_CLOSE,0))>X)
and the same if you want to check it's smaller than value X: if iRSI(NULL,0,14,PRICE_CLOSE,0))
check that the rsi is bigger than X value (replace X with value): if (iRSI(NULL,0,14,PRICE_CLOSE,0))>X)
and the same if you want to check it's smaller than value X: if iRSI(NULL,0,14,PRICE_CLOSE,0))
Sleep is for the weak.
Jan 18, 2010 zamanından beri üye
3 iletiler
Feb 05, 2010 at 09:46
Jan 18, 2010 zamanından beri üye
3 iletiler
......thanks.....😁
if one picture is equal with 100 worlds one chart equal 1000 picture /MJP/

*Ticari kullanım ve istenmeyen e-postalara müsamaha gösterilmez ve hesabın feshedilmesine neden olabilir.
İpucu: Bir resim/youtube urlsi yayınlamak, onu otomatik olarak gönderinize gömer!
İpucu: Bu tartışmaya katılan bir kullanıcı adını otomatik olarak tamamlamak için @ işaretini yazın.