Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
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 10-12-2006, 03:31 PM
Member
 
Join Date: Oct 2006
Posts: 59
Jovager is on a distinguished road
One alert is good and not the second

From this alert :

extern int kstoch=14;
extern int dstoch=3;
extern int ssstoch=3;

double Stoch;
double Stochsignal;



int start()
{

Stoch=iStochastic(NULL,0,kstoch,dstoch,ssstoch,MOD E_SMA,0,MODE_MAIN,0);
Stochsignal=iStochastic(NULL,0,kstoch,dstoch,sssto ch,MODE_SMA,0,MODE_SIGNAL,0);


if(Stoch>85)
{

Alert ("Stochastiques > 85 - Surveiller Signaux de Vente - ",Symbol());
}


if(Stoch<15)
{

Alert ("Stochastiques < 15 - Surveiller Signaux Achat - ",Symbol());
}
}

return(0);
---------------------------------

I have made this :

extern int kstoch=14;
extern int dstoch=3;
extern int ssstoch=3;



double Stoch;
double StochSignal;
double H4;
double M1;
double MACD;
double MACDSignal;

int start()
{

Stoch=iStochastic(NULL,M1,kstoch,dstoch,ssstoch,MO DE_SMA,0,MODE_MAIN,0);
StochSignal=iStochastic(NULL,0,kstoch,dstoch,sssto ch,MODE_SMA,0,MODE_SIGNAL,0);
MACD=iMACD(NULL,M1,12,26,9,PRICE_CLOSE,MODE_MAIN,0 );
MACDSignal=iMACD(NULL,M1,12,26,9,PRICE_CLOSE,MODE_ MAIN,0);


if(Stoch>StochSignal && MACD>MACDSignal)
{

Alert ("Condition d'Achat - ",Symbol());
}


if(Stoch<StochSignal && MACD<MACDSignal)
{

Alert ("Condition de vente - ",Symbol());
}
}

return(0);

-------------------

The first is good, but the second don't alarm.

Do you see why?

Thanks for help.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
good old BB fxbs Non Related Discussions 3 04-26-2007 03:48 AM
Is this EA any good? Autopilot Expert Advisors - Metatrader 4 3 02-14-2007 05:27 PM
How do you know you have a good EA? ra300z Metatrader 4 1 09-08-2006 03:40 AM
I'm only asking for 1 good EA halfasleep Expert Advisors - Metatrader 4 8 08-20-2006 05:18 PM
Let's see how good you are! pete7 General Discussion 1 08-05-2006 08:09 PM


All times are GMT. The time now is 09:52 PM.



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