Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

EMA20 +/- 2*ATR10 channels Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
nimble8
Posted : Wednesday, March 20, 2019 9:42:30 PM
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

StockGuy
Posted : Wednesday, March 20, 2019 10:09:23 PM

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

 

nimble8
Posted : Thursday, March 21, 2019 2:41:42 PM
Registered User
Joined: 1/29/2010
Posts: 3

Thanks very much. I'll post some feedback once I've tested the triggers.

 

best

Nimble8

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.