Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
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!
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
hi draig, it showa me formula error missing argument for indicator
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
I fixed the errors, try them now.
- Craig Here to Help!
|
|
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
|
|
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!
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
it shows me formula error missing argument
|
|
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!
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
hi craig, before putting any formula in custom window it shows me above error
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
it shows me formula(formula error!!! no calc)1 period
|
|
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
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
when i am testing formula it shows me formula error:missing argument
|
|
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!
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
ya
|
|
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!
|
|
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
|
|
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!
|
|
Registered User Joined: 2/5/2006 Posts: 22
|
IF U CAN PROVIDE BOTH SEPARATELY SO I CAN CHECK WHICH ONE IS MEASURING BEST VOLATILITY
|
|
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!
|
|
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?
|
|
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!
|
|
Guest-1 |