QTusers Forum
February 11, 2012, 05:42:11 AM *
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: Paintbar formula using same indicator with different parameters?  (Read 605 times)
Steve
Just Visiting

Posts: 2


« on: January 01, 2010, 07:20:36 PM »

Can anyone help with Paintbars and Alerts that use the same indicator but different parameters that are not covered in the user's manual? What if we are using for example   SMA(15) based on the high, another SMA(15) based on the low, or SMA(15) based on the open and another SMA(15) based on the close.  How are these distinguished in the paintbar formula?  Under the quotetracker manual it gives some examples but still isn't clear.  If anyone can help that would be greatly appreciated.  From the manual: 

Variables can be of the following format:
Indicator(params).SubInd[Offset]
 
The (params) are needed to identify which specific indicator is being referenced.  It may be omitted if there is only one such indicator or if you want to refer to the first such indicator on the chart that the paintbar will be applied to.  For example if the chart has a CCI(6,1) and a CCI(14,1) indicator, CCI (without params) refers to the first CCI indicator on the chart and is the same as specifying CCI (6,1).  To reference the second CCI indicator, you must use the params (14,1).
 
The [Offset] is optional and refers to how many bars (or days) back and is in the form of X[Offset] where X indicates how far back and can refer to an indicator value such as CCI(6,1)[2], a bar value such as Bar Open or a day value such as Day High.
 
The .SubInd qualifier is optional except in cases where it is explicitly needed (such as Pivot Points, CCI or Bollinger Bands).
 
For example:
MACD(12,26).Signal[1] means the signal line of the MACD indicator with parameters 12,26 one bar back.  Pivot Points.S1[1] means the S1 pivot line one day back.
Logged
Gazilla
Hero Member
*****
Posts: 117



« Reply #1 on: January 01, 2010, 08:20:52 PM »

Just from a novices point of view, you may be able to use a marginal decimal setting to distinguish between the 3 x SMA(15)'s that you have set up as High, Low & Close, like SMA(15), SMA(15.1) & SMA(15.2) and refer to them as that in the paintbar formula.
« Last Edit: January 03, 2010, 06:50:27 PM by Gazilla » Logged
Steve
Just Visiting

Posts: 2


« Reply #2 on: January 02, 2010, 11:43:07 PM »

Gazilla,  Thanks so much for your reply.  I'll give that a try and see whether it will take decimals.  I kind of expected a format to be able to enter this in the parameters field specifying based on open, or based on close but couldnt' find any mention of that in the guide. ...
Logged
Gazilla
Hero Member
*****
Posts: 117



« Reply #3 on: January 03, 2010, 12:15:31 AM »

Drop a request into the Wish List thread.
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!