Forex
Google

Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-06-2006, 09:45 AM
webzukunft webzukunft is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
webzukunft is on a distinguished road
Problem Alert in RSI

Please, i need help.
I probe till now a long time, but i can not find a solution.
i only want hear an alert when RSI is down the 30 line, and up the 70 line on close bar.
i maked lines in indicator:

extern bool AlertSet=true;

int start()
{
if (AlertSet==true && RSIBuffer[i] >70)
Alert("Buy ",Symbol()," ",Period());
} return(0);
}

i am not shure with this lenguage.

can someone help me?
thanks a lot
wz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-06-2006, 09:58 AM
ShadowWz's Avatar
ShadowWz ShadowWz is offline
Member
 
Join Date: Nov 2005
Posts: 93
ShadowWz is on a distinguished road
Talking

Hi,

try this:
if(AlertSet==true){
if(RSIBuffer[1]>70 && RSIBuffer[2]<70){
Alert("Buy ",Symbol()," ",Period());
}
else if(RSIBuffer[1]<30 && RSIBuffer[2]>30){
Alert("Sell ",Symbol()," ",Period());
}
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-06-2006, 10:13 AM
webzukunft webzukunft is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
webzukunft is on a distinguished road
thank you

thats looks better.
thank you very much :-)
wz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with .ex4................. EFX General Discussion 4 10-21-2006 07:23 AM
iCustom() problem billritz Indicators - Metatrader 4 5 08-23-2006 07:22 AM
My First EA problem demag Questions 4 02-10-2006 08:18 AM
I've a Problem here hellkas Metatrader 4 6 11-04-2005 12:30 AM
BrainTrading System: Alert Problem newdigital Suggestions for Trading Systems 2 10-30-2005 07:06 PM


All times are GMT. The time now is 10:35 PM.