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 |

Support indicator and resistance Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Bakisoner
Posted : Friday, January 13, 2017 8:43:05 AM
Registered User
Joined: 12/23/2015
Posts: 10
Is it possible to have the same indicator on worden tc2000
It displays the highest and lowest annual, quarterly, monthly and weekly candlestick by a horizontal white line
 
thank you in advance
Very cordial
 
 
 
once start=0
once currentyearhigh=undefined
once currentyearlow=undefined
once currentquarterhigh=undefined
once currentquarterlow=undefined
once currentmonthhigh=undefined
once currentmonthlow=undefined
once currentweekhigh=undefined
once currentweeklow=undefined
if (year =2001 and year[1] < 2018) or (year=2018 and barindex=0) then
currentyearhigh=high
currentyearlow=low
currentquarterhigh=high
currentquarterlow=low
currentmonthhigh=high
currentmonthlow=low
currentweekhigh=high
currentweeklow=low
start=1
endif
if start and start[1] and opendayofweek < opendayofweek[1] then
DRAWHLINE(currentweekhigh)
DRAWHLINE(currentweeklow)
currentweekhigh=high
currentweeklow=low
endif
if start and start[1] and openmonth <> openmonth[1] then
DRAWHLINE(currentmonthhigh)
DRAWHLINE(currentmonthlow)
currentmonthhigh=high
currentmonthlow=low
endif
if start and start[1] and openmonth <> openmonth[1] and openmonth mod 3 =0 then
DRAWHLINE(currentquarterhigh)
DRAWHLINE(currentquarterlow)
currentquarterhigh=high
currentquarterlow=low
endif
if start and start[1] and openyear <> openyear[1] then
DRAWHLINE(currentyearhigh)
DRAWHLINE(currentyearlow)
currentyearhigh=high
currentyearlow=low
endif
if start=1 then
currentyearhigh=max(high,currentyearhigh)
currentyearlow=min(low,currentyearlow)
currentquarterhigh=max(high,currentquarterhigh)
currentquarterlow=min(low,currentquarterlow)
currentmonthhigh=max(high,currentmonthhigh)
currentmonthlow=min(low,currentmonthlow)
currentweekhigh=max(high,currentweekhigh)
currentweeklow=min(low,currentweeklow)
endif
 
return
Bruce_L
Posted : Friday, January 13, 2017 10:29:51 AM


Worden Trainer

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

There is not a way to do this would would automatically work when switching time frames. Even with a fixed time frame (say the chart was always set to daily), about the best you could do is add 0 offset Donchian Channels with the Periods set to approximate weeks (5 bars) , months (21 bars), quarters (63 bars) and years (252 bars).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bakisoner
Posted : Sunday, January 15, 2017 9:21:51 AM
Registered User
Joined: 12/23/2015
Posts: 10

Hello Sir and thank you for your reply.

Bakisoner
Posted : Sunday, January 15, 2017 9:35:14 AM
Registered User
Joined: 12/23/2015
Posts: 10
Hello sir,
 
I am a client interactive broker and I use the tc2000 platform and I want to link my account to tc2000 brokerage.
 
Before proceeding to this connection I would like to know if it is possible to code me the following request:
 
Show on lower graphs all the highest and lowest annual, quarterly, monthly and weekly buljie.
 
I enclose a screenshot as an example
 
Thank you in advance.
Bakisoner
Posted : Sunday, January 15, 2017 9:51:46 AM
Registered User
Joined: 12/23/2015
Posts: 10

https://www.icloud.com/numbers/0e6gwbGNSbiVovp1IShevVSog#Vierge

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.