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 |

customizing chart plots Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tdlc007
Posted : Monday, March 31, 2014 2:59:54 PM
Registered User
Joined: 2/13/2014
Posts: 37

Is there a way  to plot your chosen indicator on the chart as a dot in such  way that the dots are attached to the candle directly (either to the top or bottom of the candlestick) as oppose to the dot floating above the candle in the chart

 

thanks

Bruce_L
Posted : Monday, March 31, 2014 3:20:40 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

If you plot a Custom PCF Indicator in the same pane and scale as price, then yes it is possible to do so. The key is to have the Custom PCF Indicator return the high when you want it to plot at the high and the low when you want it to plot at the low.

For example, the following Custom PCF Indicator will plot a dot at the high if the close is above both the open and previous close or plot a dot at the low if the close is below both the open and previous close as long as it is plotted in the same pane and scale as price history with the Plot Style set to dots.

ABS(C > O AND C > C1) * H + ABS(C < O AND C < C1) * L

It will also plot a dot at zero when neither requirement is true, but you will not normally see this dot for most symbols if calculate scale from price only is checked for the price history indicator.

Adding and Moving Indicators
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
tdlc007
Posted : Friday, July 18, 2014 12:56:11 PM
Registered User
Joined: 2/13/2014
Posts: 37

Hi Bruce

 

Wondering if you can help me again with this

 

So if I wanted to plot the custom pcf indicator as written below in the same pane and scale it with price so that it plots a dot right above or below  the candle stick if it is true, how would I do this? I have tried scale with price/symbol and I don't see the dot, but if I scale by itself I see a floating dot where it is true..however I want to see it attached to the candle. I also did try the example pcf indicator you had outlined in your reply to me on March 31st and when I scaled it with price/symbol, it did attach the dots to the candlestick as I like it to. 

 

Thanks

 

V >= 2 * MAXV10.1 AND H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) AND V > 0 AND H > L

Bruce_L
Posted : Friday, July 18, 2014 1:09:14 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Put the formula in an ABS() function and multiply it be the value where you want it plotted. So if you wanted it plotted at the high, you would use the following as the Formula in a Custom PCF Indicator (not a Custom PCF % True Indicator).

H * ABS(V >= 2 * MAXV10.1 AND H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) AND V > 0 AND H > L)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
tdlc007
Posted : Friday, July 18, 2014 2:08:01 PM
Registered User
Joined: 2/13/2014
Posts: 37

Thanks Bruce...that worked

 

Now if I wanted to add these two indicators to the previous one I just cited, so that when all 3 return true it will be plotted as a dot on the candlestick similar to the one above how would I do so

 

V > 7 * AVGV60.1

and

H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) and C > O AND C >= C1

 

 

 

I tried to no avail

 

H * ABS ( V >= 2 * MAXV10.1 AND H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) AND V > 0 AND H > L)

and
 

H * ABS ( V > 7 * AVGV60.1)
 

and

H * ABS ( H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) and C > O AND C >= C1)

 

 

Thanks

tdlc007
Posted : Friday, July 18, 2014 2:21:28 PM
Registered User
Joined: 2/13/2014
Posts: 37

Oh nevermind Bruce I think I figured it out myself...

Bruce_L
Posted : Friday, July 18, 2014 2:24:13 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Maybe understand how it works would help. Putting a Boolean (true or false) formula inside of an ABS() function returns 1 when true and 0 when false.

So the way you have it, if every was true it would return H AND H AND H instead of just H.

You need to put the entire Boolean formula inside the ABS() function and then multiply it by H.

H * ABS((V >= 2 * MAXV10.1 AND H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) AND V > 0 AND H > L) AND V > 7 * AVGV60.1 AND (H - L >= 1.2 * (H1 - L1) AND H - L >= 1.2 * (H2 - L2) AND H - L >= 1.2 * (H3 - L3) AND H - L >= 1.2 * (H4 - L4) AND H - L >= 1.2 * (H5 - L5) AND H - L >= 1.2 * (H6 - L6) AND H - L >= 1.2 * (H7 - L7) AND H - L >= 1.2 * (H8 - L8) AND H - L >= 1.2 * (H9 - L9) AND H - L >= 1.2 * (H10 - L10) and C > O AND C >= C1))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.