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 |

how to draw rangeline on chart ?and scan acording that? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
prakash9977
Posted : Tuesday, December 5, 2006 3:54:04 PM
Registered User
Joined: 2/5/2006
Posts: 22
hello ,
i wanna draw chanal on 30 ema like this upperband=30 ema+3 ATR
lowerband=30 ema -3 atr,,,,,now for scanning when price touch lower band and when price touch upper band
diceman
Posted : Tuesday, December 5, 2006 11:47:20 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
You may be interested in this:

Sort using envelopes, regression channels and Bollinger bands

Scan for stocks bouncing in a lateral channel

Spotting trend changes using linear regression channel sorts

Thanks
diceman


Craig_S
Posted : Wednesday, December 6, 2006 6:15:01 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Review this video: Plotting Custom Indicators with Examples

Create two separate Custom Indicators (with the price scale option checked)

Top Band:

XAVGC30+(3*((H-L+ABS(H-C1)+ABS(L-C1))/2))

Bottom Band:

XAVGC30-(3*((H-L+ABS(H-C1)+ABS(L-C1))/2))

Here are some PCFs to use as well:

Price touching top band:

H>=XAVGC30+(3*((H-L+ABS(H-C1)+ABS(L-C1))/2)) AND L<=XAVGC30+(3*((H-L+ABS(H-C1)+ABS(L-C1))/2))

Price touching bottom band:

H>=XAVGC30-(3*((H-L+ABS(H-C1)+ABS(L-C1))/2)) AND L<=XAVGC30-(3*((H-L+ABS(H-C1)+ABS(L-C1))/2))

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 12:06:24 PM
Registered User
Joined: 2/5/2006
Posts: 22
hi draig,
it showa me formula error missing argument for indicator
Craig_S
Posted : Wednesday, December 6, 2006 12:13:32 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I fixed the errors, try them now.

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 12:37:02 PM
Registered User
Joined: 2/5/2006
Posts: 22
hi craig
i am sorry but couldn't plot indicator and it shows me error
i am doing add indicator custom and checked price scale option then smoothing exponential 1 but it shows me error
if u can help pls
thanks
Craig_S
Posted : Wednesday, December 6, 2006 1:12:28 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I just tried them and they both plotted for me.

What error do you get when you Test Formula in the Custom Indicator screen?

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 1:26:53 PM
Registered User
Joined: 2/5/2006
Posts: 22
it shows me formula error missing argument
Craig_S
Posted : Wednesday, December 6, 2006 1:31:22 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Are you using the corrected versions? Are you sure you did not miss anything when you copied them?

They work as posted, double check the formula character-by-character with what I posted above.

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 1:34:19 PM
Registered User
Joined: 2/5/2006
Posts: 22
hi craig,
before putting any formula in custom window it shows me above error
prakash9977
Posted : Wednesday, December 6, 2006 1:36:03 PM
Registered User
Joined: 2/5/2006
Posts: 22
it shows me formula(formula error!!! no calc)1 period
Bruce_L
Posted : Wednesday, December 6, 2006 1:38:00 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
That's because it doesn't have a formula yet. Please edit the Custom Indicator and add the formulas.

Have you had a chance to review the video Craig referenced?

Plotting Custom Indicators with Examples

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
prakash9977
Posted : Wednesday, December 6, 2006 1:39:39 PM
Registered User
Joined: 2/5/2006
Posts: 22
when i am testing formula it shows me formula error:missing argument
Craig_S
Posted : Wednesday, December 6, 2006 1:48:02 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Did you watch the video that Bruce and I linked for you yet?

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 2:17:04 PM
Registered User
Joined: 2/5/2006
Posts: 22
ya
Craig_S
Posted : Wednesday, December 6, 2006 2:21:45 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Ok.

Have you checked the formula you entered and it matches exactly to the one I gave above?

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 2:34:56 PM
Registered User
Joined: 2/5/2006
Posts: 22
i got it i plot it thanks craig
but i wanna UPPERBAND =xavg30+3*average 30days ATR
LOWERBAND=XAVG30-3*AVARAGE30 DAYS AVG ATR
SAME FOR SCANNING UPPERBAND PRICE CROSSING AND LOWERBAND PRICE CROSSING
Craig_S
Posted : Wednesday, December 6, 2006 2:44:09 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Glad to hear it.

Is the average of the ATR simple or exponential?

- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 2:50:12 PM
Registered User
Joined: 2/5/2006
Posts: 22
IF U CAN PROVIDE BOTH SEPARATELY SO I CAN CHECK WHICH ONE IS MEASURING BEST VOLATILITY
Craig_S
Posted : Wednesday, December 6, 2006 3:21:29 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Is this what you wanted?

Top Band Simple:

XAVGC30+(3*
(
((H-L+ABS(H-C1)+ABS(L-C1))/2)+
((H1-L1+ABS(H1-C2)+ABS(L1-C2))/2)+
((H2-L2+ABS(H2-C3)+ABS(L2-C3))/2)+
((H3-L3+ABS(H3-C4)+ABS(L3-C4))/2)+
((H4-L4+ABS(H4-C5)+ABS(L4-C5))/2)+
((H5-L5+ABS(H5-C6)+ABS(L5-C6))/2)+
((H6-L6+ABS(H6-C7)+ABS(L6-C7))/2)+
((H7-L7+ABS(H7-C8)+ABS(L7-C8))/2)+
((H8-L8+ABS(H8-C9)+ABS(L8-C9))/2)+
((H9-L9+ABS(H9-C10)+ABS(L9-C10))/2)+
((H10-L10+ABS(H10-C11)+ABS(L10-C11))/2)+
((H11-L11+ABS(H11-C12)+ABS(L11-C12))/2)+
((H12-L12+ABS(H12-C13)+ABS(L12-C13))/2)+
((H13-L13+ABS(H13-C14)+ABS(L13-C14))/2)+
((H14-L14+ABS(H14-C15)+ABS(L14-C15))/2)+
((H15-L15+ABS(H15-C16)+ABS(L15-C16))/2)+
((H16-L16+ABS(H16-C17)+ABS(L16-C17))/2)+
((H17-L17+ABS(H17-C18)+ABS(L17-C18))/2)+
((H18-L18+ABS(H18-C19)+ABS(L18-C19))/2)+
((H19-L19+ABS(H19-C20)+ABS(L19-C20))/2)+
((H20-L20+ABS(H20-C21)+ABS(L20-C21))/2)+
((H21-L21+ABS(H21-C22)+ABS(L21-C22))/2)+
((H22-L22+ABS(H22-C23)+ABS(L22-C23))/2)+
((H23-L23+ABS(H23-C24)+ABS(L23-C24))/2)+
((H24-L24+ABS(H24-C25)+ABS(L24-C25))/2)+
((H25-L25+ABS(H25-C26)+ABS(L25-C26))/2)+
((H26-L26+ABS(H26-C27)+ABS(L26-C27))/2)+
((H27-L27+ABS(H27-C28)+ABS(L27-C28))/2)+
((H28-L28+ABS(H28-C29)+ABS(L28-C29))/2)+
((H29-L29+ABS(H29-C30)+ABS(L29-C30))/2)
)/30)

Bottom Band:

XAVGC30-(3*
(
((H-L+ABS(H-C1)+ABS(L-C1))/2)+
((H1-L1+ABS(H1-C2)+ABS(L1-C2))/2)+
((H2-L2+ABS(H2-C3)+ABS(L2-C3))/2)+
((H3-L3+ABS(H3-C4)+ABS(L3-C4))/2)+
((H4-L4+ABS(H4-C5)+ABS(L4-C5))/2)+
((H5-L5+ABS(H5-C6)+ABS(L5-C6))/2)+
((H6-L6+ABS(H6-C7)+ABS(L6-C7))/2)+
((H7-L7+ABS(H7-C8)+ABS(L7-C8))/2)+
((H8-L8+ABS(H8-C9)+ABS(L8-C9))/2)+
((H9-L9+ABS(H9-C10)+ABS(L9-C10))/2)+
((H10-L10+ABS(H10-C11)+ABS(L10-C11))/2)+
((H11-L11+ABS(H11-C12)+ABS(L11-C12))/2)+
((H12-L12+ABS(H12-C13)+ABS(L12-C13))/2)+
((H13-L13+ABS(H13-C14)+ABS(L13-C14))/2)+
((H14-L14+ABS(H14-C15)+ABS(L14-C15))/2)+
((H15-L15+ABS(H15-C16)+ABS(L15-C16))/2)+
((H16-L16+ABS(H16-C17)+ABS(L16-C17))/2)+
((H17-L17+ABS(H17-C18)+ABS(L17-C18))/2)+
((H18-L18+ABS(H18-C19)+ABS(L18-C19))/2)+
((H19-L19+ABS(H19-C20)+ABS(L19-C20))/2)+
((H20-L20+ABS(H20-C21)+ABS(L20-C21))/2)+
((H21-L21+ABS(H21-C22)+ABS(L21-C22))/2)+
((H22-L22+ABS(H22-C23)+ABS(L22-C23))/2)+
((H23-L23+ABS(H23-C24)+ABS(L23-C24))/2)+
((H24-L24+ABS(H24-C25)+ABS(L24-C25))/2)+
((H25-L25+ABS(H25-C26)+ABS(L25-C26))/2)+
((H26-L26+ABS(H26-C27)+ABS(L26-C27))/2)+
((H27-L27+ABS(H27-C28)+ABS(L27-C28))/2)+
((H28-L28+ABS(H28-C29)+ABS(L28-C29))/2)+
((H29-L29+ABS(H29-C30)+ABS(L29-C30))/2)
)/30)


- Craig
Here to Help!
prakash9977
Posted : Wednesday, December 6, 2006 3:39:34 PM
Registered User
Joined: 2/5/2006
Posts: 22
AFTER PLOTING ON CHART WILL IT SAVE ?OR I NEED EVERYTIME CANCELING AND DRAWING AGAIN?I MEAN HOW CAN I SAVE THIS INDICATOR IN MY INDICATOR LIST?
Craig_S
Posted : Wednesday, December 6, 2006 4:00:15 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
It cannot be saved as an indicator. You can save the Chart Template and recall it any time you like.

Chart template saving options in the Tools | System Settings menu

Customize your charts using Chart Templates

Adding, removing and saving indicators to a chart template

- Craig
Here to Help!
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.