3x_+DI.efs, 3x_ADX.efs, 3x_-DI.efs
EFSLibrary - Discussion Board
File Name:
- 3x_+DI.efs
- 3x_ADX.efs
- 3x_-DI.efs
Description:
Identify the start of a trend with DMI by BC Low, CMT
Formula Parameters:
3x_+DI.efs
- 3X + DI Color 1: green
- 3X + DI Color 2: blue
- 3X + DI Color 3: olive
3x_ADX.efs
- ADX Color 1: green
- ADX Color 2: blue
- ADX Color 1: olive
3x_-DI.efs
- 3X - DI Color 1: green
- 3X - DI Color 2: blue
- 3X - DI Color 3: olive
Notes:
The related article is copyrighted material. If you are not a subscriber of Stocks & Commodities, please visit www.traders.com.
Download File:
3x_+DI.efs
3x_ADX.efs
3x_-DI.efs
3x_+DI.efs, 3x_ADX.efs, 3x_-DI.efs
EFS Code:
3x_+DI.efs
/********************************* Provided By: eSignal (Copyright c eSignal), a division of Interactive Data Corporation. 2012. All rights reserved. This sample eSignal Formula Script (EFS) is for educational purposes only and may be modified and saved under a new file name. eSignal is not responsible for the functionality once modified. eSignal reserves the right to modify and overwrite this EFS file with each new release. Description: Identify the start of a trend with DMI by BC Low, CMT Version: 1.00 13/09/2012 Formula Parameters: Default: 3X + DI Color 1 green 3X + DI Color 2 blue 3X + DI Color 3 olive Notes: The related article is copyrighted material. If you are not a subscriber of Stocks & Commodities, please visit www.traders.com. **********************************/ var fpArray = new Array(); function preMain() { setStudyTitle("3X + DI CLUSTER"); setCursorLabelName("PDI5", 0); setCursorLabelName("PDI8", 1); setCursorLabelName("PDI14", 2); var x=0; fpArray[x] = new FunctionParameter("gPDI5Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X + DI Color 1"); setDefault(Color.green); } fpArray[x] = new FunctionParameter("gPDI8Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X + DI Color 2"); setDefault(Color.blue); } fpArray[x] = new FunctionParameter("gPDI14Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X + DI Color 3"); setDefault(Color.olive); } } var bInit = false; var bVersion = null; var xPDI5 = null; var xPDI8 = null; var xPDI14 = null; function main(gPDI5Color,gPDI8Color,gPDI14Color) { if (bVersion == null) bVersion = verify(); if (bVersion == false) return; if(!bInit) { xPDI5 = pdi(5,5); xPDI8 = pdi(8,8); xPDI14 = pdi(14,14); addBand(20,PS_DASH,1,Color.maroon,0); addBand(30,PS_SOLID,1,Color.maroon,1); addBand(70,PS_SOLID,1,Color.maroon,2); addBand(90,PS_DASH,1,Color.maroon,3); setDefaultBarFgColor(gPDI5Color, 0); setDefaultBarFgColor(gPDI8Color, 1); setDefaultBarFgColor(gPDI14Color, 2); bInit = true; } var vPDI5 = xPDI5.getValue(0); var vPDI8 = xPDI8.getValue(0); var vPDI14 = xPDI14.getValue(0); if ((vPDI5 == null) || (vPDI8 == null) || (vPDI14 == null)) return; return new Array(vPDI5,vPDI8,vPDI14); } function verify() { var b = false; if (getBuildNumber() < 779) { drawTextAbsolute(5, 35, "This study requires version 8.0 or later.", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "error"); drawTextAbsolute(5, 20, "Click HERE to upgrade.@URL=http://www.esignal.com/download/default.asp", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "upgrade"); return b; } else { b = true; } return b; }
3x_ADX.efs
/********************************* Provided By: eSignal (Copyright c eSignal), a division of Interactive Data Corporation. 2012. All rights reserved. This sample eSignal Formula Script (EFS) is for educational purposes only and may be modified and saved under a new file name. eSignal is not responsible for the functionality once modified. eSignal reserves the right to modify and overwrite this EFS file with each new release. Description: Identify the start of a trend with DMI by BC Low, CMT Version: 1.00 13/09/2012 Formula Parameters: Default: ADX Color 1 green ADX Color 2 blue ADX Color 1 olive Notes: The related article is copyrighted material. If you are not a subscriber of Stocks & Commodities, please visit www.traders.com. **********************************/ var fpArray = new Array(); function preMain() { setStudyTitle("3X ADX CLUSTER"); setCursorLabelName("ADX3", 0); setCursorLabelName("ADX4", 1); setCursorLabelName("ADX5", 2); var x=0; fpArray[x] = new FunctionParameter("gADX3Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("ADX Color 1"); setDefault(Color.green); } fpArray[x] = new FunctionParameter("gADX4Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("ADX Color 2"); setDefault(Color.blue); } fpArray[x] = new FunctionParameter("gADX5Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("ADX Color 3"); setDefault(Color.olive); } } var bInit = false; var bVersion = null; var xADX3 = null; var xADX4 = null; var xADX5 = null; function main(gADX3Color,gADX4Color,gADX5Color) { if (bVersion == null) bVersion = verify(); if (bVersion == false) return; if(!bInit) { xADX3 = adx(3,3); xADX4 = adx(4,4); xADX5 = adx(5,5); addBand(20,PS_DASH,1,Color.maroon,0); addBand(30,PS_SOLID,1,Color.maroon,1); addBand(70,PS_SOLID,1,Color.maroon,2); addBand(90,PS_DASH,1,Color.maroon,3); setDefaultBarFgColor(gADX3Color, 0); setDefaultBarFgColor(gADX4Color, 1); setDefaultBarFgColor(gADX5Color, 2); bInit = true; } var vADX3 = xADX3.getValue(0); var vADX4 = xADX4.getValue(0); var vADX5 = xADX5.getValue(0); if ((vADX3 == null) || (vADX4 == null) || (vADX5 == null)) return; return new Array(vADX3,vADX4,vADX5); } function verify() { var b = false; if (getBuildNumber() < 779) { drawTextAbsolute(5, 35, "This study requires version 8.0 or later.", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "error"); drawTextAbsolute(5, 20, "Click HERE to upgrade.@URL=http://www.esignal.com/download/default.asp", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "upgrade"); return b; } else { b = true; } return b; }
3x_-DI.efs
/********************************* Provided By: eSignal (Copyright c eSignal), a division of Interactive Data Corporation. 2012. All rights reserved. This sample eSignal Formula Script (EFS) is for educational purposes only and may be modified and saved under a new file name. eSignal is not responsible for the functionality once modified. eSignal reserves the right to modify and overwrite this EFS file with each new release. Description: Identify the start of a trend with DMI by BC Low, CMT Version: 1.00 13/09/2012 Formula Parameters: Default: 3X - DI Color 1 green 3X - DI Color 2 blue 3X - DI Color 3 olive Notes: The related article is copyrighted material. If you are not a subscriber of Stocks & Commodities, please visit www.traders.com. **********************************/ var fpArray = new Array(); function preMain() { setStudyTitle("3X - DI CLUSTER"); setCursorLabelName("NDI5", 0); setCursorLabelName("NDI8", 1); setCursorLabelName("NDI14", 2); var x=0; fpArray[x] = new FunctionParameter("gNDI5Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X - DI Color 1"); setDefault(Color.green); } fpArray[x] = new FunctionParameter("gNDI8Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X - DI Color 2"); setDefault(Color.blue); } fpArray[x] = new FunctionParameter("gNDI14Color", FunctionParameter.COLOR); with(fpArray[x++]) { setName("3X - DI Color 3"); setDefault(Color.olive); } } var bInit = false; var bVersion = null; var xNDI5 = null; var xNDI8 = null; var xNDI14 = null; function main(gNDI5Color,gNDI8Color,gNDI14Color) { if (bVersion == null) bVersion = verify(); if (bVersion == false) return; if(!bInit) { xNDI5 = ndi(5,5); xNDI8 = ndi(8,8); xNDI14 = ndi(14,14); addBand(20,PS_DASH,1,Color.maroon,0); addBand(30,PS_SOLID,1,Color.maroon,1); addBand(70,PS_SOLID,1,Color.maroon,2); addBand(90,PS_DASH,1,Color.maroon,3); setDefaultBarFgColor(gNDI5Color, 0); setDefaultBarFgColor(gNDI8Color, 1); setDefaultBarFgColor(gNDI14Color, 2); bInit = true; } var vNDI5 = xNDI5.getValue(0); var vNDI8 = xNDI8.getValue(0); var vNDI14 = xNDI14.getValue(0); if ((vNDI5 == null) || (vNDI8 == null) || (vNDI14 == null)) return; return new Array(vNDI5,vNDI8,vNDI14); } function verify() { var b = false; if (getBuildNumber() < 779) { drawTextAbsolute(5, 35, "This study requires version 8.0 or later.", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "error"); drawTextAbsolute(5, 20, "Click HERE to upgrade.@URL=http://www.esignal.com/download/default.asp", Color.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, null, 13, "upgrade"); return b; } else { b = true; } return b; }