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: dsgofman
About
User Name: dsgofman
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Monday, September 18, 2017
Last Visit: Sunday, May 31, 2020 6:29:50 PM
Number of Posts: 20
[0.01% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: ROC % in PCF
Posted: Monday, January 22, 2018 12:22:45 PM

If there is no ROC syntax, is there a way we could manually input the formula?

Topic: If then else arguments
Posted: Monday, November 6, 2017 12:16:52 PM

Yes, but is there a way to plot the historical points as horizontal lines as well for a given amount of bars back?

Topic: If then else arguments
Posted: Monday, November 6, 2017 11:41:26 AM

The 1 / 0 at the end of the formula is what produces the division by zero error so it doesn't return anything when false. If you replace it with zero, you get the following.

IIF((HAVG((V - AVGV20) / 4 / SQR(((V - AVGV20) ^ 2 + (V1 - AVGV20) ^ 2 + (V2 - AVGV20) ^ 2 + (V3 - AVGV20) ^ 2 + (V4 - AVGV20) ^ 2 + (V5 - AVGV20) ^ 2 + (V6 - AVGV20) ^ 2 + (V7 - AVGV20) ^ 2 + (V8 - AVGV20) ^ 2 + (V9 - AVGV20) ^ 2 + (V10 - AVGV20) ^ 2 + (V11 - AVGV20) ^ 2 + (V12 - AVGV20) ^ 2 + (V13 - AVGV20) ^ 2 + (V14 - AVGV20) ^ 2 + (V15 - AVGV20) ^ 2 + (V16 - AVGV20) ^ 2 + (V17 - AVGV20) ^ 2 + (V18 - AVGV20) ^ 2 + (V19 - AVGV20) ^ 2) / 20) + .5, 20)*(-1)+1) + HAVG((C - AVGC20) / 4 / STDDEV20 + .5, 20) < .02, L + 4 * SQR(ABS(SUM((IIF(O < C, H - L, L - H)) ^ 2, 150) - 150 * AVG(IIF(O < C, H - L, L - H), 150) ^ 2) / 150), 0)

Hey Bruce,
I had a quick question about this part of the formula.. Is there a way that I can plot a horizontal line at the value every time it is true?
Topic: PCF's for Triangles
Posted: Wednesday, November 1, 2017 12:11:44 PM

unfortunately though, I am getting un mismatched parenthesis error..

Topic: PCF's for Triangles
Posted: Wednesday, November 1, 2017 12:06:44 PM

unfortunately though, I am getting un mismatched parenthesis error..

Topic: PCF's for Triangles
Posted: Wednesday, November 1, 2017 11:58:57 AM

Looks about right! youre a blessing to the TC community bruce!

Topic: PCF's for Triangles
Posted: Wednesday, November 1, 2017 11:43:56 AM

With that formula I couldnt swap all of the "C"s for the formula i wanted to input.. I was only able to swap the C&#39;s that stood alone. For example the avgc20 piece I cannot switch out the C..

Thanks

Topic: PCF's for Triangles
Posted: Wednesday, November 1, 2017 11:00:12 AM

I wanted to convert AVGL20/AVGL20.20*100 so that I could source it to something else more easily like you did for me before!

Thanks in advance bruce

Topic: If then else arguments
Posted: Wednesday, November 1, 2017 10:55:38 AM

Thanks bruce! perfect

Topic: If then else arguments
Posted: Wednesday, November 1, 2017 10:10:21 AM

Sorry can you swap the Avgline with close on that last part? Would i be able to just change the source from price to something else?