View Single Post
  #1076 (permalink)  
Old 11-26-2007, 07:25 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 553
MrPip is on a distinguished road
Quote:
Originally Posted by orion7 View Post
Thank you for posting your crossover alert ind but I am a little confused about the input settings. What I am trying to do is get an alert when there is a crossover of a 7 period ema (applied to close) and a 3 period ema (applied to open).

Would appreciate any help you are anyone else could offer.
The 2MA Crossover indicator needed to have price modes for the MAs.

MA1Mode is the type of moving average, MA1 Price is the type of price from the list.
Same with MA2

Defaults are EMA 3 on open and EMA 7 on close.

Here is the modified version with Price added as an input.

Also try the stochastic indicator. I added code for alert copied from 2MA Crossover. Let me know if it works.

Robert
Attached Files
File Type: mq4 #MTF Stochastic v2.0 Alert.mq4 (7.7 KB, 146 views)
File Type: mq4 2MA CrossoverWithPrice.mq4 (9.0 KB, 132 views)

Last edited by MrPip; 11-26-2007 at 07:29 PM. Reason: explain inputs
Reply With Quote