I'll start this off with a bit of a confession on my part. I started off about a month & 1/2 ago thinking I'd like to be able to run some study on study functions, in particular MACD studies with other studies as an input source. Prior to this, I have had zero experience with formula writing, efs scripting, Java Script, etc..... Nada, zip. I figured before I could ask any questions I should read what I could, see if I could figure it out myself, or lacking that, at least be able to ask the right questions to be able to get the answers I need. Well it's been over six weeks of going over this stuff and I'm still running into roads blocks so here goes...
I decided the place to start was with modifying the "customMACD.efs" found in the EFS2 Custom folder; got it to how I want it and saved it in the Formula folder. A copy of the changes made are attached as "test1ModEFS2MACD.efs", original with notes of changes being made and why. Attachment "test2ModEFS2MACD.efs" is a cleaned up version minus the notes.
The next step was to pick an efs2 formula I could use as a source for a MACD input. To keep it simple I used the customMA.efs found also in the EFS2 folder, with a minor adjustment, saved as the attachment "EFS2CustomMA.efs" and saved also in the Formula folder. I deliberately set it up as a 1 period SMA so I could easily confirm the final works outputs for accurracy, first with a 1 period, and then later changed to something else.
Now's where I run into trouble. I have found several threads with topics about efsExternal, efsInternal, getseries, etc., and even a few with MACD used in explaining them with samples shown. I must be reading them wrong somehow because it always looks to me in the cases with MACD as if the samples are not really showing study on study using MACD with another efs source. I read them as a study's output being placed in a MACD study, following the PreMain with the source formula really generating the output and that output being passed to the MACD, but no MACD functions taking over and manipulating that output. I think this is often the case with the samples that have been made available. Maybe I just don't see it, I'm not sure.
Any how, I've made several different attempts to get the above mentioned formulas to work together but I'm mostly taking shots in the dark without success. Half the time running the combined formulas results with a program crash. The attachment "MACDofCustomMA.efs" is my last attempt and it will crash the program.
I suspect to correctly combine the formula's is probably pretty easy for someone who knows what they're doing. If so please, don't be bashful, step right up. I will very much appreciate it.
My hope is to be able to grasp this concept of using one formula as a source for another. Thanks in advance to anyone that can help.
I decided the place to start was with modifying the "customMACD.efs" found in the EFS2 Custom folder; got it to how I want it and saved it in the Formula folder. A copy of the changes made are attached as "test1ModEFS2MACD.efs", original with notes of changes being made and why. Attachment "test2ModEFS2MACD.efs" is a cleaned up version minus the notes.
The next step was to pick an efs2 formula I could use as a source for a MACD input. To keep it simple I used the customMA.efs found also in the EFS2 folder, with a minor adjustment, saved as the attachment "EFS2CustomMA.efs" and saved also in the Formula folder. I deliberately set it up as a 1 period SMA so I could easily confirm the final works outputs for accurracy, first with a 1 period, and then later changed to something else.
Now's where I run into trouble. I have found several threads with topics about efsExternal, efsInternal, getseries, etc., and even a few with MACD used in explaining them with samples shown. I must be reading them wrong somehow because it always looks to me in the cases with MACD as if the samples are not really showing study on study using MACD with another efs source. I read them as a study's output being placed in a MACD study, following the PreMain with the source formula really generating the output and that output being passed to the MACD, but no MACD functions taking over and manipulating that output. I think this is often the case with the samples that have been made available. Maybe I just don't see it, I'm not sure.
Any how, I've made several different attempts to get the above mentioned formulas to work together but I'm mostly taking shots in the dark without success. Half the time running the combined formulas results with a program crash. The attachment "MACDofCustomMA.efs" is my last attempt and it will crash the program.
I suspect to correctly combine the formula's is probably pretty easy for someone who knows what they're doing. If so please, don't be bashful, step right up. I will very much appreciate it.
My hope is to be able to grasp this concept of using one formula as a source for another. Thanks in advance to anyone that can help.
Comment