Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I'm trying to code a TD Demand Point but not sure how to go about doing so.
A Level 1 TD Demand Point is defined as a low which has a higher low on either side of it and a Level 3 TD Demand Point is defined as a low which has 3 higher lows on each side of it.
So, in the first scenario, Close[1] < Close[2] && Close[1] < Close[0] and
in the second scenario Close[3] is < Close[0], Close[1], Close[2], Close[4], Close[5] and Close[6].
I would like to code it where I can determine the Level and the code does the rest.
Could anyone help?
Regards
Kay Wai
Can you help answer these questions from other members on NexusFi?
Swing is not what I was looking for. Let me explain it further what I am trying to achieve. For example for a DemandPoint Level 1, my code would be something like this:-
How can I code it in such a way that by altering the DemandPoint Level variable, I am able to obtain other alternative scenarios like DemandPoint Level 5 or DemandPoint Level 6, where the bool DemandPoint is true without having to have type out the if condition in full?
jon, you are correct!. it should be Lows compared with Lows. Thx!
cory, I have been searching in my midst of coding other TD indicators but have not come across anything that will help me determine the points. drawing the initial line should be fine though there are rules there too.