Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Envelope Channels
Template
Top Channel
(1 + w / 100) * AVGCx
Bottom Channel
(1 - w / 100) * AVGCx
Center Line
AVGCx
Channel Width
w / 50 * AVGCx
Where x is the Period of the Envelope Channels.
Where w is the Width % setting of the Envelope Channels.
The template is based on the Average Type being set to Simple.
Change AVG to XAVG if the Average Type is Exponential.
Change AVG to FAVG if the Average Type is Front Weighted (v17+).
Change AVG to HAVG if the Average Type is Hull (v17+).
Related Topics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/30/2015 Posts: 197
|
I am totally lost as to what a complete formula with Top Channel and Bottom Channel would be written
if you where writing to say to Say that C was inside the Channel, for example using VWAP and a width of 0.08
Thanks
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
Using the form Bruce provides.
If you wanted a 5 SMA center line with an 8% envelope it would be
Upper: (1+8/100)*AVGC5
Lower: (1-8/100)*AVGC5
I dont use VWAP, but I dont think it can be created in the PCF language.
Thanks
|
|
Registered User Joined: 4/30/2015 Posts: 197
|
so maybe
((C < (1+.08/100)*AVGC5) AND
(C > (1-8/100)*AVGC5))
|
|
Registered User Joined: 4/30/2015 Posts: 197
|
(((C < (1+.08/100)*AVGC5) AND
(C > (1-.08/100)*AVGC5)))
|
|
Registered User Joined: 4/30/2015 Posts: 197
|
QUOTE (Aces4Me)
(((C < (1+.08/100)*AVGC5) AND
(C > (1-.08/100)*AVGC5)))
Bruce is there a way to substitue VWAP for AVGC5
|
|
Registered User Joined: 4/30/2015 Posts: 197
|
I PREFERRED VWAP (NOT MOVING) - dont think can be done however
In that cause will probably have to be moving vwap
AVG((O + H + L + C) * V, x) / 4 / AVGVx
(AVG((O + H + L + C) * V, 10) / 4 / AVGV10)
is so is this using moving vwap 10 period correct
(((C < (1+.08/100)*(AVG((O + H + L + C) * V, 10) / 4 / AVGV10)
) AND
(C > (1-.08/100)*(AVG((O + H + L + C) * V, 10) / 4 / AVGV10)
)))
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you need a formula, there isn't a way to do so. That said, you can apply 1-period envelope channels to the plain VWAP indicator and it will plot lines at Width (%) above and below the VWAP.
You can then click on the envelope channels and select Create Scan Condition to create conditions based on those envelope channels.
Your formula should work to check for price being inside such envelopes applied to a 10 period Moving VWAP indicator.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |