.
Larry,
Here's a simple EFS that allows you to draw a horizontal line at a set price.
Simple idea for Esignal
(1)Metastock allows you type in "number" for horizontal line.
(2)Esignal requires you to place horizontal line using
"mouse"
(3)Support and Resistance lines are important in trading.
(4)Hope Esignal catches up with Metastock stock and allow
you to insert "number" just like it allows you to insert
a color.
Larry Dudash
PS:Long time Esignal user.
(1)Metastock allows you type in "number" for horizontal line.
(2)Esignal requires you to place horizontal line using
"mouse"
(3)Support and Resistance lines are important in trading.
(4)Hope Esignal catches up with Metastock stock and allow
you to insert "number" just like it allows you to insert
a color.
Larry Dudash
PS:Long time Esignal user.
Here's a simple EFS that allows you to draw a horizontal line at a set price.
PHP Code:
/********************************************************************
Copyright © eSignal, 2003
Title: Horizontal Line at X
Version: 1.0
=====================================================================
Fix History:
=====================================================================
Project Description:
This formula will place a horizontal line at a given price level.
Please note that the price level must be defined in the Edit Studies window
before any lines are drawn. If multiple lines are needed, please create
another instance of the formula.
**********************************************************************/
function preMain() {
setPriceStudy(true);
setStudyTitle("Horizontal Line at X");
setShowCursorLabel(false);
var fp1 = new FunctionParameter("PriceLevel", FunctionParameter.NUMBER);
var fp2 = new FunctionParameter("Color", FunctionParameter.COLOR);
fp2.setDefault(Color.black);
var fp3 = new FunctionParameter("Thickness", FunctionParameter.NUMBER);
fp3.setDefault(1);
}
function main(PriceLevel,Color,Thickness) {
if (PriceLevel == null) return;
addBand(PriceLevel,PS_SOLID,Thickness,Color," ");
return;
}
Comment