NexusFi: Find Your Edge


Home Menu

 





How can I get this counter to work properly - TD Sequential


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one kaywai with 33 posts (1 thanks)
    2. looks_two decs0057 with 21 posts (2 thanks)
    3. looks_3 cory with 2 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 51,750 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 56 posts
    2. attach_file 37 attachments




 
Search this Thread

How can I get this counter to work properly - TD Sequential

  #11 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks Given: 15
Thanks Received: 25

correction:
method ProcessBuySequential is only called in ProcessBuySetup.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #12 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

sorry decs0057. all my counts disappeared when i did as you suggested...

Reply With Quote
  #13 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7


Thanks decs0057! I’ve finally got the numbers to print! Not exactly the way I want it to yet but I think it’s moving in the right direction.

I was wondering whether you could guide me through a scenario wrt to these counts.

From the beginning,

1) There must be a completed setup consisting of 9 consecutive counts, each bar close being lower than the close 4 bars earlier.
2) Upon each completed setup, a countdown of 13 counts is initiated where each close is lower than or equal to the low of 2 bars earlier. These counts however do not need to be consecutive.
3) Following on from (1) and (2), there will be occasions, especially in trending markets where a second setup is completed while a countdown is still in progress. And according to the rules, a countdown is initiated upon the completion of a setup. How would I be able to address the second countdown and possibly a third countdown?

Reply With Quote
  #14 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks Given: 15
Thanks Received: 25

i tried to implement Tom de Marks TDSequential.
Please check if the implementation is correct

Attached Files
Elite Membership required to download: TDSequential.zip
Reply With Quote
  #15 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

decs0057,

The idea is there though still buggy. Some comments if you like:-
Setup
1) Setups are always a 9 consecutive bar count. Countdown always a 13 count, not necessarily consecutive. Recycling has since March 6, 2009 a 22 consecutive bar count (Tom Demark advised the change on Bloomberg).
2) Intersection is no longer used.
3) Your setup for some reason works similar to some I've seen in the public domain which misses a few setups completely...not sure why.

Countdown
1) Your countdown counts to 12...
2) You don't have cancellation rules implemented. ( neither do i!)


This is what I have done with my code. Please take a look. Perhaps we can work on this together if you like but I have to tell you my programming skills suck!
A few things still not sorted out though.
1) Can't get countdown 13 to compare with countdown 8.
2) can't get countdown 8 to compare with countdown 5.
3) Can't include both the buy and sell together as one indicator...some counts don't display after the first days of data and will only appear after a refresh.
4) Can't get a second countdown to commence while the first is incomplete. Every completed setup initiates a countdown regardless of whether there is a countdown in progress or not.
5) TDST line won't extend beyond its setup. Need to find a way to get it to extend as every bar is formed and to stop when certain conditions are fulfilled. (i've removed mine)

Attached Files
Elite Membership required to download: kys7.zip
Reply With Quote
  #16 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks Given: 15
Thanks Received: 25

kaywai,

the code is from attached file.

Do you have the actual rules ?
I have some in experience in programming, perhaps i can implement the actual rules

Attached Thumbnails
How can I get this counter to work properly - TD Sequential-tom_demark_-_td_sequential.pdf  
Reply With Quote
  #17 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

I have the rules which are from 1) his books 2)Jason Perl's book on Demark indicators 3) Bloomberg's TDRS<GO> which would be the latest.

I think both of us have gotten the setup portion done. Shall we proceed with the countdown or you would like to have the whole set of rules given to you first. If you prefer the latter, I can only give it to you on Monday. I will have to tye it up for you.

Reply With Quote
  #18 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks Given: 15
Thanks Received: 25

give me to whole set of rules please.

There are to many questions for me depending the countdown

Reply With Quote
  #19 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

Ok. Give me some time to type it up.

You could work on the TDST Line first if you like. This horizontal line is drawn upon the completion of a setup count.

For a TD Buy Setup, The TDST Line is drawn from the higher of the Highest High of the previous 9 bar and the close of the 10th bar. You need to get this line to extend as new bars are formed. The extension of the TDST Line only stops when 1) a new TD Buy Setup is completed or when ((Close[2]<Close[3]) && (Close[1] > TDST Line) && (Open[0] > Close[1]) && (High[0] > Open[0])).

I can't get the TDST Line to extend beyond the bar where the setup was completed...
For the TD Sell Setup, just do the reverse of the buysetup.

Will pass you the instructions for the perfection test tomorrow. It's 4.15 am now.

Reply With Quote
  #20 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7


decs0057, here are the td sequential rules. kay wai

Attached Files
Elite Membership required to download: TD Sequential.docx
Reply With Quote




Last Updated on December 8, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts