QTusers Forum
February 09, 2012, 11:37:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the QuoteTracker Users Discussion Forum
Latest QuoteTracker Version is 3.9.7
Released on April 13th 2010

 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Need help with Pivot Point Formula  (Read 718 times)
Sardonicus
Just Visiting

Posts: 3


« on: July 25, 2009, 11:23:02 AM »

How would I write a paint bar that shows the price within a percentage [say 1%] on either side of a pivot point?

Logged
Sardonicus
Just Visiting

Posts: 3


« Reply #1 on: July 26, 2009, 05:27:42 AM »

I managed to figure it out myself. 

Here is the formula I came up with if anyone else wants to use it.  I ended up going with 1/2% instead of a full percent. 

If MAX(ABS(Bar Open-Pivot Points.P),ABS(Bar Open-Pivot Points.P))<0.005*Bar Close

Other support resistance levels would be Pivot Points.R1 or Pivot Points.S1. 

Order them down from the highest level of resistance.  Hope this helps somebody.  Many messages on these boards have helped me.
Logged
charti
Sr. Member
****
Posts: 80



« Reply #2 on: July 27, 2009, 10:41:02 AM »

JMHO (please correct me if I misunderstood your point):

By “shows the price within a percentage...” you mean the current price (=>Bar Close), correct? If so, does it really matter where the bar opened?

Based on my above assumption, I think the following will achieve your goal:

If ABS(Bar Close-Pivot Points.P)<0.005*Bar Close
Logged
Sardonicus
Just Visiting

Posts: 3


« Reply #3 on: July 27, 2009, 11:41:16 AM »

Thanks.

I'll try that one to see what difference it makes.

I am not really good at this syntax and formula thing.

Your reply is appreciated
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!