Registered User Joined: 5/26/2017 Posts: 25
|
Hi Trainer,
I'm using a HMA Swing Setup in Ninjatrader for a few years now and works pretty well. It was described in the Stocks & Community Magazine in January 2010.
http://technical.traders.com/archive/articlefinal.asp?file=\V28\C012\229GARN.pdf
Now i would like to use it within TC2000 as well. Is there a chance to convert that into a PCF Formula/Condition?
That's the Enter Long condition:
if (Close[0] > SMA(50)[0]
&& IsRising(HMA(4))
&& RSI(HMA(9), 9, 1)[0] < 50
&& Close[0] > Close[59])
The Exit Long condition is the folliwng one:
if (RSI(HMA(9), 9, 1)[0] > 90)
Thanks...
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following for the Enter Long condition.
C > AVGC50 AND HAVGC4 > HAVGC4.1 AND 100 * XAVG(IIF(HAVGC9 > HAVGC9.1, HAVGC9 - HAVGC9.1, 0), 17) / XAVG(ABS(HAVGC9 - HAVGC9.1), 17) < 50 AND C > C59
And the following for the Exit Long condition.
100 * XAVG(IIF(HAVGC9 > HAVGC9.1, HAVGC9 - HAVGC9.1, 0), 17) / XAVG(ABS(HAVGC9 - HAVGC9.1), 17) > 90
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 5/26/2017 Posts: 25
|
Thanks. I'll try it out.
Krgds
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|