Home
    Product
    Support
    Purchase
    Company

Advanced trading software: technical analysis and neural networks

Empowering wise traders

 
Support Center
Publications
Tradecision FAQs
Improvian Consulting
Contact Support Team
Knowledgebase
Collection of Indicators
Custom Indicators
Custom Studies
TASC Traders' Tips
Active Trader Strategies
Golden Trading Rules
Traderís Quiz
 

Traders' Tips from TASC Magazine
Trend Continuation Factor Position

For interpretation refer to the March 2002 issue of Technical Analysis of STOCKS & COMMODITIES magazine.
var
  pc:=0;
  nc:=0;
  pcf:=0;
  ncf:=0;
  ptcf:=0;
  ntcf:=0;
  TFC:=0;
end_var

if ROC(C, 1, POINTS) > 0 then
  pc:=ROC(C, 1, POINTS);
else
  pc:=0;

if ROC(C, 1, POINTS) < 0 then
  nc:=Neg(ROC(C, 1, POINTS));
else
  nc:=0;

if pc = 0 then
  pcf:=0;
else
  begin
    pcf:=pc;
    if historysize>0 then pcf:=pcf + this\1\;
  end;

if nc = 0 then
  ncf:=0;
else
  begin
    ncf:=nc;
    if historysize>0 then ncf:=ncf + this\1\;
  end;

ptcf:=CumSum(pc, 35) - CumSum(ncf, 35);
ntcf:=CumSum(nc, 35) - CumSum(pcf, 35);

if ptcf > 0 then
  TFC:=1;
else
  if ntcf > 0 then
    TFC:=-1;
  else
    if historysize>0 then
      TFC:=this\1\;
    else
      TFC:=0;

return TFC;


Download to import into Tradecision.

How to use this indicator in Tradecision:
  1. Click Download.
  2. Save this indicator in a safe location on your hard drive.
  3. Open Tradecision and in the Tools menu click Indicator Builder.
  4. In the Indicator Builder dialog, click Import, locate the saved file and then click OK.
The indicator will be added to the Custom Indicators list.
 
 
Site Map   |   Terms of Use   |   Privacy Policy   |   Risk Warning
Forex, equities or futures trading involves substantial risk of loss and is not suitable for all investors.
Copyright © 2001-2017 Alyuda Research, LLC.  All rights reserved