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 |

Bullish Divergence using Fisher Transform. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
selfhigh05
Posted : Wednesday, July 25, 2018 3:12:53 PM
Registered User
Joined: 5/12/2016
Posts: 13

I am trying to convert this from stockfetcher to here and having a little bit of trouble understanding how I setup variables in TC2000? SF doesnt have if statements so you have to use a count instead. I want to be able to have many of these of several days and add them all together. ROC is rate of change. Any help would be apprecitated.

 

/* ROC(2) Bullish Divergence Calculation */ 
set{2daylo, count(Fisher Transform(10) decreasing past 1 days, 1)} 
set{ROCdivpos12, count(ROC(4) above ROC(4) 1 day ago, 1)}
set{ROCdivpos22, count(ROC(4) 1 day ago below ROC(2) 2 days ago, 1)} 
set{ROCbulldiv12, 2daylo * ROCdivpos12} 
set{ROCbulldiv22, ROCbulldiv12 * ROCdivpos22} 
 
/* ROC(2) Bullish Divergence Calculation */ 
set{3daylo, count(Fisher Transform(10) decreasing past 2 days, 1)} 
set{ROCdivpos13, count(ROC(4) above ROC(4) 1 day ago, 1)} 
set{ROCdivpos23, count(ROC(4) 1 day ago below ROC(2) 2 days ago, 1)} 
set{ROCbulldiv13, 3daylo * ROCdivpos13} 
set{ROCbulldiv23, ROCbulldiv13 * ROCdivpos23} 
Bruce_L
Posted : Wednesday, July 25, 2018 4:04:02 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

There isn't a way to set up user defined variables in TC2000. I don't really understand the code in your post.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.