Transformation Request Vortex Indicator in PCF Formula Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
 Posted : Thursday, October 12, 2017 10:34:26 AM
Gold Customer

Joined: 9/30/2011
Posts: 426
I would like to convert the following Vortex Indicator to PCF Formula with Up Signal

AVG (ABS (H - L1), 14) / IIF (ATR14> 0, ATR14, 1)

Thank you and goodbye
Raider45
Bruce_L
 Posted : Thursday, October 12, 2017 10:47:54 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,183

Note that the following formulas are alternate calculations for the Vortex Indicator and will not match the version built into TC2000.

I am not sure what you mean by an "Up Signal", but if you mean the value is greater during the current bar than the previous bar.

`AVG(ABS(H - L1), 14) / IIF(ATR14 > 0, ATR14, 1) > AVG(ABS(H1 - L2), 14) / IIF(ATR14.1 > 0, ATR14.1, 1)`

If you mean the +VI is above the -VI.

`AVG(ABS(H - L1), 14) / IIF(ATR14 > 0, ATR14, 1) > AVG(ABS(L - H1), 14) / IIF(ATR14 > 0, ATR14, 1)`

If you mean something else, we would need further clarification as to your particular definition of "Up Signal" as regards the Vortex Indicator.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
 Posted : Thursday, October 12, 2017 12:13:29 PM
Gold Customer

Joined: 9/30/2011
Posts: 426
Thank you !

Best regards

raider45
 Posted : Sunday, October 22, 2017 4:34:23 AM
Gold Customer

Joined: 9/30/2011
Posts: 426
Like the Down version of the following Vortex Indicator, with + VI below -VI

AVG (ABS (L - H1), 14) / IIF (ATR14> 0, ATR14, 1) AVG (ABS (H - L1), 14) / IIF

Thank you and goodbye.

Raider45
Bruce_L
 Posted : Monday, October 23, 2017 11:15:46 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,183

+VI is below -VI:

`AVG(ABS(H - L1), 14) / IIF(ATR14 > 0, ATR14, 1) < AVG(ABS(L - H1), 14) / IIF(ATR14 > 0, ATR14, 1)`

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/17 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 17 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos 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.