Crude Alert for Strato's system (modified Tunnel System)
  #1 (permalink)  
Old 10-15-2005, 05:37 AM
Freshman
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
trohoang is on a distinguished road
Thumbs up Crude Alert for Strato's system (modified Tunnel System)

Can someone help me to create a crude alert for the Strato's system?

Here are the specs

1) create an alarm sound whenever ema12 and ema89 on 5 minutes chart is 10 pips within each other (does not have to cross since emas can bounce off each other). The juice indicator must be med to high for the alarm sound to trigger.

2) display the horizonal lines for the last 6 hours highest and lowest quotes (this is a crude way of identifying the asia session high/low or the eur session high/low)

3) create an alarm sound whenever the price is 10pips within the highest or lowest 6 hours quote

Many thanks,
Trong

More information on the Strato's system can be found here:

http://www.strategybuilderfx.com/fo...0664#post130664


This is what I got so far. As you can tell I am a newbie, as wet behind the ears as one can get.


void start() {
double ema12=iMA(NULL,0,12,0,MODE_EMA,PRICE_CLOSE,0);
double ema89=iMA(NULL,0,89,0,MODE_EMA,PRICE_CLOSE,0);
if (((ema12-ema89)> 0.001) && ((ema12-ema89) < 0.001)) {
Alert("EMA12-89 up cross");
// SendMail("alert","EMA12-89 up cross");
}
if (((ema89-ema12)> 0.001) && ((ema89-ema12) < 0.001)) {
Alert("EMA12-89 down cross");
// SendMail("alert","EMA12-89 down cross");
}
}

Last edited by trohoang : 10-15-2005 at 05:40 AM.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading E-Books Download jgrimney Tutorials, Tips & Tricks 46 09-28-2007 07:32 PM


All times are GMT. The time now is 05:06 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now