New version 17 available now

Download software Tutorial videos
Subscription & data-feed pricing Class schedule

New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: SweetAndSour
User Name: SweetAndSour
Groups: Gold User, Member
Rank: Registered User
Real Name:
Gender: Unsure
Joined: Friday, May 26, 2017
Last Visit: Thursday, November 23, 2017 1:25:51 PM
Number of Posts: 13
[0.00% of all post / 0.07 posts per day]
Last 10 Posts
Topic: HMA Bull Signal used in Ninjatrader
Posted: Thursday, November 16, 2017 1:40:49 PM

Thanks. I'll try it out.


Topic: HMA Bull Signal used in Ninjatrader
Posted: Thursday, November 16, 2017 11:04:24 AM

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.\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)
Topic: Todays candle size (high/low)
Posted: Tuesday, November 07, 2017 1:57:29 PM


I&#39;m looking for a formula to recognize the todays candle size. The size (high/low) should be at least 1.5 times the height of the the highest candle of the previous 5 candles.
Any help is appreciated.
Topic: Traders Dynamic Index - Formula conversion from Ninjatraders
Posted: Wednesday, November 01, 2017 7:19:15 AM

QUOTE (raynd)

E-mailed shared chart...Hope it helps


Hi raynd,

Thanks for your Charts.

Is the TDI configuration in your TDI chart for a daily chart? Can it be used also in a weekly chart?


Topic: Traders Dynamic Index - Formula conversion from Ninjatraders
Posted: Tuesday, October 31, 2017 1:13:29 PM

I wanted to ask whether someone can translate this TDI from Ninjatrader into an Indicator in TC2000?

double stdDevNumber = 1.62;
DYNRSI = RSI(Input, 20, 1); // Input = Dataseries, 20 = Period, 1 = Smoothing
DYNPrice = SMA(DYNRSI, 7);
DYNSignal = SMA(DYNRSI, 25);
DYNAverage = SMA(DYNRSI, 34);
SDBB = StdDev(DYNRSI, 34);
avg = DYNAverage;
stdDevValue = SDBB;
Upper = (avg + stdDevNumber * stdDevValue);
Lower = (avg - stdDevNumber * stdDevValue);
AddLine(Brushes.Gray, 50, "Baseline");
AddLine(Brushes.Gray, 68, "Upper");
AddLine(Brushes.Gray, 32, "Lower");
The 3 lines at the bottom define the lower, middle and upper boundary.
The follow conditions can considered:
- go long, if Priceline > 50
- go short if Priceline < 50
- consider an exit, if Priceline is above 68-5 or below 32+5
- go long if Priceline > Signalline
- go short if Priceline < Signalline
- exit if Priceline crosses Signalline
- trendfilter long, when Priceline > Midband
- trendfilter short, when Priceline < Midband
- add to long, when Priceline > BollingerBand.Upper
- add to short, when Priceline < BollingerBand.Lower
Thanks for your help!


Topic: Custom Volume Histogramm
Posted: Wednesday, September 20, 2017 5:29:29 AM

I wonder whether it is possibile to build a formula which shows a volume histogramm (or a watch list column) with the volume based on 5 minute comparisons for the last 20 days. The values should be presented as relative values (percentage) rather than absolute values.

Thanks for your help!

Topic: Undercut last low and Rally
Posted: Wednesday, September 20, 2017 5:22:44 AM

QUOTE (Bruce_L)

I do not know how you want define consolidation, but the following checks for a 14 period ADX being less than 25. I also do not know how you wanted to stock must be higher than the previous day, so I used the close is higher than the previous close. I used 20 for N trading days.

C > C200 AND ADX14.14 < 25 AND C1 > C2 AND L2 < L3 AND C2 > C3 AND L3 < MINL20.4


Hi Bruce, 

That formula is pretty close to my idea. Just made a small change to make sure that the price is over the sma200:

C > AVGC200 and ADX14.14 < 25 AND C1 > C2 AND L2 < L3 AND C2 > C3 AND L3 < MINL20.4

It seems to give me a much closer result than just a rising sma200.

Topic: Undercut last low and Rally
Posted: Tuesday, September 19, 2017 3:46:43 AM

Within the past few months i&#39;ve seen a lot of stocks which are in a consolidation range, undercutting the lowest low and then finally setup to a new high und running through into new high ground. The idea behind that is the following:

Stock must be in an uptrend (sma200 is rising)

Stock must be in a consolidation range/area

3 days a go, stock must make a new low for the past N trading days

2 days a go, the low must be lower and the close must be higher than the day before

1 day a go stock must be higher than the previous day

 Usually there is also a volume pattern behind that but that&#39;s something i have to sort out first.

What would be the appropriate PCF Formula for such a setup?


Topic: Indi Calculation - Make no match transparent
Posted: Friday, September 15, 2017 8:20:21 AM

I hav a question:

I would like to build a PCF formula. My base is the following one:

UP = (rsi(close,8) > rsi(close,14) and rsi(close,14) > rsi(close,19) and close > sma(close,9)) ? green : transparent

In PCF i have the following:

(RSI8.1 > RSI14.1) and (RSI14.1 > RSI19.1) and (c > AVGC9)
Is this correct and how can i make a "no match" transparent?
Topic: Pocket Pivotal Point PCF Indicator
Posted: Thursday, September 14, 2017 2:57:58 PM

QUOTE (Bruce_L)

You could use the formula as written as the Boolean Formula in a Custom PCF % True Indicator with the Plot Style set to Histogram.

The histogram values will be either 0 or 100 (so all the way at the top or all the way at the bottom). If you want it to plot at different heights, we would need to know at what height you want it plotted.

If you wanted to plot it in the same pane and scale as volume with the value being either zero or volume to just change the color of the histogram bar, you could use a Custom PCF Indicator instead of a Custom PCF % True Indicator. You will want the Plot Style set to Histogram using the following Formula.

IIF(C > C1 AND V > MAX(ABS(C1 < C2) * V1, 10) and (XUp(C,AvgC10) or XUp(C,AvgC50)), V, 1 / 0)


Hi Bruce

Thanks for your hint.

Using your formula in a Custom PCF Indikator gives me a "divide by zero" error. Any ideas?