File Name: elliottwavecountalert.efs
Description:
Generating an alert when a primary Elliott Wave is completed
Formula Parameters:
Number of Bars 300
Wave 4 Overlap 0
Wave 1-3 Ratio 50
Mavg1 5
Mavg2 35
Alternate Long Term
Notes:
Download File:
elliottwavecountalert.efs
EFS Code:
[php]
/*********************************
Provided By:
Interactive Data Corporation (Copyright © 2010)
All rights reserved. This sample eSignal Formula Script (EFS)
is for educational purposes only. Interactive Data Corporation
reserves the right to modify and overwrite this EFS file with
each new release.
Description:
Generating an alert when a primary Elliott Wave is completed
Version: 1.0 24/05/2011
Formula Parameters: Default:
Number of Bars 300
Wave 4 Overlap 0
Wave 1-3 Ratio 50
Mavg1 5
Mavg2 35
Alternate Long Term
**********************************/
var fpArray = new Array();
function preMain() {
setPriceStudy(true);
setStudyTitle("Elliott Wave Count Alert");
setCursorLabelName("Recent Wave", 0);
setCursorLabelName("Trend", 1);
var x=0;
fpArray[x] = new FunctionParameter("nNumBars", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Number of Bars");
setLowerLimit(1);
setDefault(300);
}
fpArray[x] = new FunctionParameter("nPct4Overlap", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Wave 4 Overlap");
setLowerLimit(0);
setDefault(0);
}
fpArray[x] = new FunctionParameter("nPct1LenOf3", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Wave 1-3 Ratio");
setLowerLimit(1);
setDefault(50);
}
fpArray[x] = new FunctionParameter("nMavg1", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Mavg1");
setLowerLimit(1);
setDefault(5);
}
fpArray[x] = new FunctionParameter("nMavg2", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Mavg2");
setLowerLimit(1);
setDefault(35);
}
fpArray[x] = new FunctionParameter("gAlternate", FunctionParameter.STRING);
with(fpArray[x++])
{
setName("Alternate");
addOption("Agressive");
addOption("Short Term");
addOption("Long Term");
setDefault("Long Term");
}
Description:
Generating an alert when a primary Elliott Wave is completed
Formula Parameters:
Number of Bars 300
Wave 4 Overlap 0
Wave 1-3 Ratio 50
Mavg1 5
Mavg2 35
Alternate Long Term
Notes:
Download File:
elliottwavecountalert.efs
EFS Code:
[php]
/*********************************
Provided By:
Interactive Data Corporation (Copyright © 2010)
All rights reserved. This sample eSignal Formula Script (EFS)
is for educational purposes only. Interactive Data Corporation
reserves the right to modify and overwrite this EFS file with
each new release.
Description:
Generating an alert when a primary Elliott Wave is completed
Version: 1.0 24/05/2011
Formula Parameters: Default:
Number of Bars 300
Wave 4 Overlap 0
Wave 1-3 Ratio 50
Mavg1 5
Mavg2 35
Alternate Long Term
**********************************/
var fpArray = new Array();
function preMain() {
setPriceStudy(true);
setStudyTitle("Elliott Wave Count Alert");
setCursorLabelName("Recent Wave", 0);
setCursorLabelName("Trend", 1);
var x=0;
fpArray[x] = new FunctionParameter("nNumBars", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Number of Bars");
setLowerLimit(1);
setDefault(300);
}
fpArray[x] = new FunctionParameter("nPct4Overlap", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Wave 4 Overlap");
setLowerLimit(0);
setDefault(0);
}
fpArray[x] = new FunctionParameter("nPct1LenOf3", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Wave 1-3 Ratio");
setLowerLimit(1);
setDefault(50);
}
fpArray[x] = new FunctionParameter("nMavg1", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Mavg1");
setLowerLimit(1);
setDefault(5);
}
fpArray[x] = new FunctionParameter("nMavg2", FunctionParameter.NUMBER);
with(fpArray[x++])
{
setName("Mavg2");
setLowerLimit(1);
setDefault(35);
}
fpArray[x] = new FunctionParameter("gAlternate", FunctionParameter.STRING);
with(fpArray[x++])
{
setName("Alternate");
addOption("Agressive");
addOption("Short Term");
addOption("Long Term");
setDefault("Long Term");
}