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 |

Profile: jsatt11
About
User Name: jsatt11
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Monday, November 26, 2007
Last Visit: Friday, February 3, 2017 1:56:41 PM
Number of Posts: 116
[0.04% of all post / 0.02 posts per day]
Avatar
Last 10 Posts
Topic: help with writing an indicator
Posted: Wednesday, June 22, 2016 4:33:55 PM

Bruce,

 

Thanks for the SF real code for the passband filter indeicator. I created it and it looks like the chart in Ehlers article. I then created the +RMS and -RMS indicators and on each one got complie error on:

Name SPF not declared

Not being a programmer I don't know how to fix this.

 

Jim

 

 

Topic: help with writing an indicator
Posted: Tuesday, June 21, 2016 11:10:42 AM

Would you please write this as a real code indicator for SF5?

Thanks Jim

 

-----------------------------------------------------------------------------------------------------

QUOTE (hotrod)

july 2016 - Super Passband Filter      Stocks and commodities mag.

can you write this indicator as an PCF please for TC2000

 

//Super Passband Filter
// 2016 John F. Ehlers
// TASC JUL 2016
inputs:
Period1( 40 ),
Period2( 60 ) ;
variables:
a1( 0 ),
a2( 0 ),
PB( 0 ),
count( 0 ),
RMS( 0 ) ;
 
a1 = 5 / Period1 ;
a2 = 5 / Period2 ;
 
PB = (a1 - a2) * Close + (a2*(1 - a1) - a1 * (1 - a2))
* Close[1] + ((1 - a1) + (1 - a2))*PB[1] - (1 - a1)
* (1 - a2)*PB[2] ;
 
RMS = 0;
for count = 0 to 49 
begin
RMS = RMS + PB[count]*PB[count] ;
end ;
 
RMS = SquareRoot( RMS / 50 ) ;
 
Plot1( PB, "Super PB" ) ;
Plot2( 0, "Zero Line" ) ;
Plot3( RMS, "+RMB" ) ;
Plot7(-RMS, "-RMS" ) ;
 

Topic: Reference Previous Topic S&C Indicator
Posted: Thursday, January 28, 2016 6:09:02 PM

Bruce,

I see how to do it now.

As usual thanks for your fast and professional support.

Jim

 

Topic: Reference Previous Topic S&C Indicator
Posted: Thursday, January 28, 2016 5:02:02 PM

O.K.  I'm not very familiar with Block Diagrams. If I wanted to change the EMA period for some testing could I easily change the Block Diagram.? 

Topic: Reference Previous Topic S&C Indicator
Posted: Thursday, January 28, 2016 3:24:59 PM

Bruce,

O.K. I understand The EMA is in the RealCode Indicator you attached and I am running.

I am unable to get the 'Edit Realcode' foryour HHS and LLS indicator. 

Any idea why I can't edit it?

Topic: Reference Previous Topic S&C Indicator
Posted: Thursday, January 28, 2016 11:24:51 AM

Sorry for the added Topic but I had problem doing a reply (I'll report to support)

Bruce, I didn't make my last post clear. I did load your attachement and am running it. You commented in your post that:

But I'm pretty sure you would need to apply 20 period exponential moving averages to these to get the desired plots.

It appears to me that your attachment doesn't use the EMA. True? And I don't know how to change it to EMA.

Topic: Convert TC2000 indicators to Real Code Please
Posted: Wednesday, January 27, 2016 8:31:41 PM

QUOTE (Bruce_L)

The first formula could be written as follows.

'|******************************************************************'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com '|*** Copy and paste this header and code into StockFinder *********'|*** Indicator:HHS'|******************************************************************If CurrentIndex >= 20 Then	If Price.High > Price.High(1) Then		Plot = 100 * (Price.High - Price.MinHigh(20)) / (Price.MaxHigh(20) - Price.MinHigh(20))	Else		Plot = 0	End IfElse	Plot = Single.NaNEnd If

And the second formula could be written as follows.

&#39;|******************************************************************&#39;|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com &#39;|*** Copy and paste this header and code into StockFinder *********&#39;|*** Indicator:LLS&#39;|******************************************************************If CurrentIndex >= 20 Then	If Price.Low < Price.Low(1) Then		Plot = 100 * (Price.MaxLow(20) - Price.Low) / (Price.MaxLow(20) - Price.MinLow(20))	Else		Plot = 0	End IfElse	Plot = Single.NaNEnd If

But I&#39;m pretty sure you would need to apply 20 period exponential moving averages to these to get the desired plots. I&#39;ll make an indicator which plots HHS with the moving average applied along with the red, yellow and green lines in a bit.

Bruce Thanks...the tc200 indicator by Patrick Argo did indeed use the exponential average. I&#39;m not sure how to do this for your indicator.

Topic: Convert TC2000 indicators to Real Code Please
Posted: Wednesday, January 27, 2016 3:41:16 PM

Recently a S&C Feb 2016 Traders Tip was published for TC2000 Article Higher Highs and Higher Lows.

I&#39;m using this in TC2000 and need help for the Real Code conversion.

The HHS is:

100 * ABS(H > H1) * (H - MINH20) / (MAXH20 - MINH20)

The LLS is:

100 * ABS(L < L1) * (MAXL20 - L) / (MAXL20 - MINL20)

 

Thanking you in advance.

Jim

Topic: Request Real Code Indicators for Candles,Condensed
Posted: Wednesday, February 11, 2015 3:05:44 PM

Bruce,

It looks like it is working. Thanks! Now on to more testing.

 

Jim

Topic: Request Real Code Indicators for Candles,Condensed
Posted: Tuesday, February 10, 2015 8:42:34 PM

Bruce,

I created the 3 indicators and created a condition per below.

&#39;# MIH = chart.MyIndicatorHO
&#39;# MIO = chart.MyIndicatorOL
&#39;# MIH = chart.MyIndicatorHC
 

If MIH.value = 1 AndAlso MIO.value = 2 AndAlso MIH.value = 3 Then pass

But got same error:

"Protected ReadOnly Property MIH() as WBI CommonBlocks ScriptingLine&#39; has multiple definitions with identicle signatures."