Can someone post the EFS/DDE link script to export the Linear Regression study?
I have created DDE script for a bunch of MAs...Stochs... PSAR.... but am having some real trouble getting this LinReg to work...
I started using this but am being told that the LinReg Study is not defined:
var dde = new DDEOutput("LinReg" + getSymbol());
function preMain() {
setPriceStudy(false);
}
var study = null;
function main() {
if(study==null) study = LinReg;
var vRet = study.getValue(0);
if(vRet != null) dde.set(vRet);
return vRet;
}
I have created DDE script for a bunch of MAs...Stochs... PSAR.... but am having some real trouble getting this LinReg to work...
I started using this but am being told that the LinReg Study is not defined:
var dde = new DDEOutput("LinReg" + getSymbol());
function preMain() {
setPriceStudy(false);
}
var study = null;
function main() {
if(study==null) study = LinReg;
var vRet = study.getValue(0);
if(vRet != null) dde.set(vRet);
return vRet;
}
Comment