Registered User Joined: 1/29/2010 Posts: 3
|
Hello:
1) I would like to create channels around an ema20 to be exact.
I would like the channel to be described by 2*ATR10 +/-
I would like the 20EMA to be shown also on the chart.
_________________________________________________
2) I would also like to write the boolean expression for when price crosses down through the upper band, and I would like to write the boolean expression for when the price crosses up through the lower band.
Once I have the plots on the chart, I know how to create the boolean expressions for the scan without writing the PCF's for the operation
I intend to use the boolean expressions to create two filters to flag bullish and bearish triggers.
________________________________________________
If you are willing to write the formulae exactly as they should appear in the custom channel PCF form I will greatly appreciate it. If it is possible to include the image of the completed form, that also would be helpful. If not on the blog, feel free to email me the image.
I am unable to decypher how to code the EMA and ATR in the provided boxes on the form. So if you could also can refer me to the place where I can determine the syntax for myself, I promise not to be such a nuisance in the future.
thanks
nimble8
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
1) This can be accomplished by plotting a Custom PCF Channel indicator. The Indicator Line Formula is XAVGC20 and the Channel Width Formula is 2 * ATR10. Also, check the box beside "Plot Center Line".
2) Price crossing down the upper band: XDOWN(C,(XAVGC20 + (2 * ATR10)))
Price crossing up the lower band: XUP(C,(XAVGC20 - (2 * ATR10)))
You can find all of the PCF syntax in the help files: http://help.tc2000.com/m/69445/l/745531-personal-criteria-formula-syntax-table
|
Registered User Joined: 1/29/2010 Posts: 3
|
Thanks very much. I'll post some feedback once I've tested the triggers.
best
Nimble8
|