ESPL: Jurik Moving Averages
|
Q: I have become somewhat enamored with the Jurik Moving Averages.....which I am presently using with E-signal charting.....now here is the catch....I am wondering if you have ever thought about implementing that sort of a moving average in Ensign....I realize it is somewhat proprietary and that the Jurik people request a yearly fee to use it....however they tell me they can no longer get it to work with the upgraded Ensign product but that it will work nicely with E-signal.....so that brings me back to my original question....is there a way to create an indicator in Ensign that will mimic the Jurik moving averages? Thanks and let me know, since I love Ensign and do NOT like having to refer to E-signal's chart for that one item.....Please let me know what you think
A: You need to tell me what the Jurik MA formulas are. Of recent interest has been the following MA which we implemented in our ESPL, and I do not know if this is what you are using or not. Need to see your formulas. The DYO cannot do the summation loop, so I have shown you an implementation using ESPL. Put the script in the ESPL editor, and then apply to a chart using the ESPL Run button number 51.
Q: Howard....you are the best.....what a nice indicator that is....almost exactly like the Jurik I was trying on E-signal....and better yet it is now in Ensign....a quick question though....if I want to place a second line...say the first at a value of 8 and the second at 13....how do I do that....I checked the second value and it does not come up on the chart...if it's not possible, not a big deal....since I have the first value set at rising/falling.....thanks again....you are always there helping...much appreciated...
A: Here is an example with 2 such averages in ESPL. On the ESPL study property form you would set 1st Value to an 8 and 2nd Value to a 13. The lines use the colors and styles of the Line 1 and Line 2.
Q: I have the ESPL script exactly as you prescribed and the moving averages now intersect....I have it all in a template, but when I move the chart left to right using that template or change time there exists quite a lag or delay in that the chart will for the most part disappear and slowly then come back....it is only with the ESPL in the template that I notice this phenomenon...is this unique to having a ESPL study in the template and I will need to deal with it, or is it something that can be corrected here at my end....thanks again.
A: ESPL runs slower than built in study calculations. You can make this script a bit faster by calculating only for the visible bars instead of for the whole chart file. Change the FOR loop's BeginBar to be BeginBarLeft Also, you might consider using a smaller Max Bar setting on the chart. A big file takes longer to calculate on than a smaller file. 20,000 bars is 10 times longer to calculate than 2,000 bars.
Last modified 8/9/08 12:58 PM
|