hello traders and programmers
i hope i�m right here to open this new thread , the idea is to post ONLY expert advisor code of ALL INDICATORS what you know for programming and test your own expert advisor .
SORRY FOR MY BAD ENGLISH.......
the form looks like a "FUNCTION" - my first examples :
Indikator: TURBO JRSX:FUNCTION CALLING:Int CheckTurboJRSX()
{
double rsxcurr = 0,rsxprev1 = 0,rsxprev2 = 0;
rsxcurr = iCustom(Symbol(), Period(), "Turbo_JRSX", 17, 0, 1);
rsxprev1 = iCustom(Symbol(), Period(), "Turbo_JRSX", 17, 0, 2);
rsxprev2 = iCustom(Symbol(), Period(), "Turbo_JRSX", 17, 0, 3);
if (rsxcurr > rsxprev1 && rsxcurr > 30 && rsxprev1 < 30) return ( 1) ; //BUY
if (rsxcurr < rsxprev1 && rsxcurr < 70 && rsxprev1 > 70) return ( -1) ; //SELL
return(0);
}-----------------------------------------------------------------------if(CheckTurboJRSX()== 1) {example: open order buy ....}
if(CheckTurboJRSX()==-1) {example: open order sell ....}
Indikator: Parabolic Sar:FUNCTION CALLING:int CheckParabolicSar()
{
double sarCurrent = iSAR(NULL, 0, 0.02, 0.2, 0);
double sarPrevious = iSAR(NULL, 0, 0.02, 0.2, 1);
if(sarCurrent <= Ask && sarPrevious>sarCurrent) return ( 1) ; //BUY
if(sarCurrent >= Bid && sarPrevious<sarCurrent) return ( -1) ; //SELL
return(0);
}note: parabolic sar is standard indicator , it`s not needed to attach for downloading....if(CheckParabolicSar()== 1 {example: open order buy ....}
if(CheckParabolicSar()==-1 {example: open order sell ....}
-----------------------------------------------------------------------
Indikator: Fisher:
EXTERN VARIABLES:extern int FisherPeriod = 5;
extern double UP_Value = 0.25;
extern double DN_Value =-0.25;FUNCTION CALLING:int FisherCheck()
{
double FisherUP = iCustom(NULL,0,"Fisher_Yur4ik",FisherPeriod,1,0);
double FisherDN = iCustom(NULL,0,"Fisher_Yur4ik",FisherPeriod,2,0);
if(FisherUP>UP_Value) return ( 1) ; //BUY
if(FisherDN<DN_Value) return (-1); //SELL
return (0);
}-----------------------------------------------------------------------if(FisherCheck()== 1 {example: open order buy ....}
if(FisherCheck()==-1 {example: open order sell ....}
Indikator: iBullsPower/iBearsPower:
EXTERN VARIABLES:extern int BullBearPeriod=5;FUNCTION CALLING:int CheckiBullsBearsPower()
{
double bull = iBullsPower(NULL,0,BullBearPeriod,PRICE_CLOSE,1);
double bear = iBearsPower(NULL,0,BullBearPeriod,PRICE_CLOSE,1);
if(bull +bear>0) return ( 1) ; //BUY
if(bull+bear<0) return ( -1) ; //SELL
return(0);
}note: iBullsPower and iBearsPower are standard indicators , it`s not needed to attach for downloading....if(CheckiBullsBearsPower()== 1 {example: open order buy ....}
if(CheckiBullsBearsPower()==-1 {example: open order sell ....}
-----------------------------------------------------------------------
Indikator: Support and Resistance:FUNCTION CALLING:int CheckSupportResident()
{
double iTmpR = iCustom(Symbol(),0,"Support and Resistance",0,0);
double iTmpS = iCustom(Symbol(),0,"Support and Resistance",1,0);
if (Close[0]==iTmpR) return ( 1) ; //BUY
if (Close[0]==iTmpS) return ( -1) ; //SELL
return(0);
}-----------------------------------------------------------------------if(CheckSupportResident()== 1 {example: open order buy ....}
if(CheckSupportResident()==-1 {example: open order sell ....}
Indikator: TrendEnvelopes_v2:
EXTERN VARIABLES:extern int SignalCandle =1;
extern int MA_Period =34;FUNCTION CALLING:Int CheckTrendEnvelopes_V2()
{
double TrendEnv_long = iCustom(Symbol(),Period(),"TrendEnvelopes_v2",MA_P eriod,0,SignalCandle); //buy
double TrendEnv_short = iCustom(Symbol(),Period(),"TrendEnvelopes_v2",MA_P eriod,1,SignalCandle); //sell
(TrendEnv_long <9999) return ( 1) ; //BUY
(TrendEnv_short <9999) return ( -1) ; //SELL
return(0);
}-----------------------------------------------------------------------if(CheckTrendEnvelopes_V2()== 1 {example: open order buy ....}
if(CheckTrendEnvelopes_V2()==-1 {example: open order sell ....}
hope this samples help to inspirit this thread..... will add more indicators next time .......
have fun and greetings from austria
forex2006
We invented the invented the ultimate 100% automated Ferox Money machine
ReplyDeleteDon’t let them tell you that Forex Trading is something reserved for experts and rookies don’t stand a chance in these shark infested waters. If you want to bdouble up your income in a few months by using an automated system that doesn’t require a degree in engineering or finance to use, there is no need to look any further. Say goodbye to pseudo-gurus who urge you to follow them blindly with no guarantee for success and risk your savings. Jump on the bandwagon right now, by joining those who make a small fortune each day with these trading robots.
forex robots
forex expert advisors
best forex robots
forex automated system
best forex ea
Hello Everyone,
ReplyDeleteI've created a list of the highest ranking FOREX brokers:
1. Most Recommended Forex Broker
2. eToro - $50 min. deposit.
Here is a list of money making forex tools:
1. ForexTrendy - Recommended Odds Software.
2. EA Builder - Custom Indicators Autotrading.
3. Fast FX Profit - Secret Forex Strategy.
Hopefully these lists are helpful to you.