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: stockscience
About
User Name: stockscience
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Sunday, June 26, 2011
Last Visit: Friday, December 28, 2018 8:43:38 PM
Number of Posts: 128
[0.04% of all post / 0.03 posts per day]
Avatar
Last 10 Posts
Topic: s/r average
Posted: Monday, July 23, 2018 1:57:04 PM

Thanks!

Topic: s/r average
Posted: Monday, July 23, 2018 12:13:01 PM

Hi Bruce:

           I am interested in a PCF which counts the number of  previous bars  (up to 200) whose high is within  5 percent ATR20.0 of the current high.

          Similarly for lows versus low...

Topic: s/r average
Posted: Monday, July 2, 2018 3:20:10 PM

Hi Bruce:

       I would be interested in the average closing price of all previous bars (n=200) that contain the current price.

Topic: adx segment
Posted: Monday, June 18, 2018 6:06:18 PM

Nice....   Thank you.

 

QUOTE (Bruce_L)

Please try the following:

SUM(IIF(ADX14.14 \ 10 <> ADX14.14.1 \ 10, C, 0), 200) / CountTrue(ADX14.14 \ 10 <> ADX14.14.1 \ 10, 200)

Nice....   Thank you.

Topic: adx segment
Posted: Monday, June 18, 2018 2:12:29 PM

Thank you.  I will settle on my rough average...

Topic: adx segment
Posted: Monday, June 18, 2018 1:32:39 PM

I see...

The best

I can get  is this:  b=

 iif(xup(adx14.14,10,1) or xdown(adx14.14,10,1) or 

           xup(adx14.14,20,1) or xdown(adx14.14,20,1) or xup(adx14.14,30,1) or xdown(adx14.14,30,1) or xup(adx14.14,40,1) or xdown(adx14.14,40,1) or xup(adx14.14,50,1) or xdown(adx14.14,50,1) or xup(adx14.14,60,1) or xdown(adx14.14,60,1) or xup(adx14.14,70,1) or xdown(adx14.14,70,1) , c, 0.0)
 
and then dividing by  countrue  (b,200) we can get an average.

 

 

QUOTE (Bruce_L)

No, I can&#39;t really think of a practical way to do this.

Topic: adx segment
Posted: Monday, June 18, 2018 9:31:11 AM

HI Bruce:

       Is it possible to write a PCF that gives the last price at which ADX has crossed an

integer multiple of 10?

 

     

Topic: ha color change count
Posted: Thursday, May 31, 2018 9:15:17 PM

Thanks!

Topic: ha color change count
Posted: Thursday, May 31, 2018 3:43:20 PM

Hi Bruce:

         I would be interested in the number of heiken ashi color changes over the last n (say 21) periods.

Topic: Questions about Heiken-Ashi Formulas
Posted: Monday, May 21, 2018 3:10:01 PM

Thank you. Great Job. But I think there is a missing ")" at the end.

QUOTE (Bruce_L)
Please try the following indicator formula.

SGN(XAVG(O1 + H1 + L1 + C1, 3) - HAVG(O + H + L + C, 21)) + SGN(GREATEST(4 * H, XAVG(O1 + H1 + L1 + C1, 3)) - MAX(GREATEST(4 * H1, XAVG(O2 + H2 + L2 + C2, 3)), 2))