New version 18 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: HarleyBD
About
User Name: HarleyBD
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Monday, June 30, 2014
Last Visit: Thursday, July 12, 2018 5:50:47 PM
Number of Posts: 29
[0.01% of all post / 0.02 posts per day]
Avatar
Last 10 Posts
Topic: I finally got my own yacht!
Posted: Sunday, June 24, 2018 6:53:41 PM

Don't leave it running unattended.

 

Topic: Heikin-Ashi coding in PCF
Posted: Friday, June 01, 2018 12:02:11 PM

Wow!  You did it again, Bruce.  Like Al G. Ive had too much coffee and sent the request twice.

So for both StockGuy and Bruce  thanks!

 

 

Topic: Heikin-Ashi coding in PCF
Posted: Friday, June 01, 2018 11:39:06 AM

Hi.  I've enjoyed coding in PSF and the discussion on this website for several years now.  It's a great addition to my stock trading.   I've looked at Heikin-Ashi recently and naturally have the question:  "Can we program using the Heikin model in PCF?".  I am asking this question but DO NOT WANT TO ROCK ANY BOATS!

VALUE       Heikin-Ashi Definition

Close  = (Open+High+Low+Close)/4
Open   = (Open (previous bar) + Close (previous bar))/2
High   = Max (High, Open or Close)
Low    = Min (Low, Open or Close)

 

These definitions would put into question the PCF values of C, H, L, O.

Thanks

Topic: Heikin-Ashi coding in PCF
Posted: Friday, June 01, 2018 10:12:04 AM

Hi.  I've enjoyed coding in PSF and the discussion on this website for several years now.  It's a great addition to my stock trading.   I've looked at Heikin-Ashi recently and naturally have the question:  "Can we program using the Heikin model in PCF?".  I am asking this question but DO NOT WANT TO ROCK ANY BOATS!

VALUE       Heikin-Ashi Definition

Close  = (Open+High+Low+Close)/4
Open   = (Open (previous bar) + Close (previous bar))/2
High   = Max (High, Open or Close)
Low    = Min (Low, Open or Close)

 

These definitions would put into question the PCF values of C, H, L, O.

Thanks

Topic: TTM Squeeze
Posted: Thursday, April 19, 2018 3:22:16 PM

 I got it.  Thanks HarleyBD

Topic: TTM Squeeze
Posted: Thursday, April 19, 2018 2:39:52 PM

Hello Bruce, could I also have a copy of the TTM SQUEEZE INDICATOR via TCMail?

Thanks,

HarleyBD

Topic: Super Fast Code
Posted: Saturday, April 14, 2018 3:33:39 PM

Thanks for the reply and I'm sorry for the BAD code.  Here is an example of the code I'm talking about with using nested IIF statements:  (CAM Indicator)

IIF(ADX10.10>=ADX10.10.1 AND MACD12.26>MACD12.26.1,4, IIF(ADX10.10<=ADX10.10.1 AND MACD12.26<MACD12.26.1,3, IIF(ADX10.10>=ADX10.10.1 AND MACD12.26<MACD12.26.1,2, IIF(ADX10.10<=ADX10.10.1 AND MACD12.26>MACD12.26.1,1,0))))

is it faster than this (yes I know that the results can not be the same, but the commands are similar; just in theory)

IIF(ADX10.10<=ADX10.10.1 AND MACD12.26<MACD12.26.1,3,0)the

IIF(ADX10.10>=ADX10.10.1 AND MACD12.26>MACD12.26.1,4,0)

IIF(ADX10.10>=ADX10.10.1 AND MACD12.26<MACD12.26.1,2, 0)

IIF(ADX10.10<=ADX10.10.1 AND MACD12.26>MACD12.26.1,1,0)

When I test the nested IIF code in edit mode, all commands are executed.  Whether they all are executed during realtime running is the question.  

Thanks
 

 

Topic: Super Fast Code
Posted: Friday, April 13, 2018 2:17:45 PM

Hi, I have a general programming question. How can we write quick code?
One sure way is to use fewer commands!  I&#39;m clear about the code: (a*b + a*c) is better written a*(b+c).  There is one less command.

What about nested IIF() statements? Is this code: IIF(a,1,IIF(b,2,IIF(c,3,0) faster that it&#39;s equivalent:
IIF(a,1,0) IIF(b,2,0) IIF(c,3,0)

Just wondering, because I&#39;m scanning all stocks during cribbage.

  Thanks

Topic: Elder Impulse
Posted: Wednesday, February 14, 2018 3:52:18 PM

Hi, Could I have a copy of Bruce&#39;s TCMail with chart?

Thanks

Topic: TTM Squeeze and Wave
Posted: Friday, January 05, 2018 2:23:17 PM

Hi Bruce,

Could I possibly get a copy of your TTM Squeeze indicator for V17 ?

Thanks in advance.