Registered User Joined: 7/19/2010 Posts: 25
|
Hi, CAn you please provide formula"
Aroon (parameter is 1). Time interval is 30 min. I need formula for 1 bar back and 2 bar back. Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following formulas are Indicator Formulas and not Condition Formulas. You did not specify any Conditions in your request.
The Up value of a 1-Period Aroon indicator could be written as:
100 * ABS(H = MAXH2)
The Down value of a 1-Period Aroon indicator could be written as:
100 * ABS(L = MINL2)
A 1-Period Aroon Oscillator indicator could be written as:
100 * ((L = MINL2) - (H = MAXH2))
The value 1-bar back involves adding 1 to all of the bars ago parameters. So Up would be:
100 * ABS(H1 = MAXH2.1)
Down would be:
100 * ABS(L1 = MINL2.1)
And the Oscillator would be:
100 * ((L1 = MINL2.1) - (H1 = MAXH2.1))
The value from 2-bars back involves incrementing the bars ago parameters again. So Up would be:
100 * ABS(H2 = MAXH2.2)
Down would be:
100 * ABS(L2 = MINL2.2)
And the Oscillator would be:
100 * ((L2 = MINL2.2) - (H2 = MAXH2.2))
You can set the Time Frame of the Indicator Formula by adjusting the Time Frame drop-down menu when you create or edit the formula. You can also set the Time Frame in most places where you would use a formula such as when the formula is used in a WatchList Column or EasyScan.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/19/2010 Posts: 25
|
Bruce
Also i need the same for Aroon (period 2, timeframe 30 min)
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Up value of a 2-Period Aroon indicator could be written as:
50 * (2 * ABS(H = MAXH3) + ABS(H < MAXH3) * ABS(H1 = MAXH3))
The Down value of a 2-Period Aroon indicator could be written as:
50 * (2 * ABS(L = MINL3) + ABS(L > MINL3) * ABS(L1 = MINL3))
A 2-Period Aroon Oscillator indicator could be written as:
50 * (2 * ABS(H = MAXH3) + ABS(H < MAXH3) * ABS(H1 = MAXH3) - (2 * ABS(L = MINL3) + ABS(L > MINL3) * ABS(L1 = MINL3)))
The value 1-bar back involves adding 1 to all of the bars ago parameters. So Up would be:
50 * (2 * ABS(H1 = MAXH3.1) + ABS(H1 < MAXH3.1) * ABS(H2 = MAXH3.1))
Down would be:
50 * (2 * ABS(L1 = MINL3.1) + ABS(L1 > MINL3.1) * ABS(L2 = MINL3.1))
And the Oscillator would be:
50 * (2 * ABS(H1 = MAXH3.1) + ABS(H1 < MAXH3.1) * ABS(H2 = MAXH3.1) - (2 * ABS(L1 = MINL3.1) + ABS(L1 > MINL3.1) * ABS(L2 = MINL3.1)))
The value from 2-bars back involves incrementing the bars ago parameters again. So Up would be:
50 * (2 * ABS(H2 = MAXH3.2) + ABS(H2 < MAXH3.2) * ABS(H3 = MAXH3.2))
Down would be:
50 * (2 * ABS(L2 = MINL3.2) + ABS(L2 > MINL3.2) * ABS(L3 = MINL3.2))
And the Oscillator would be:
50 * (2 * ABS(H2 = MAXH3.2) + ABS(H2 < MAXH3.2) * ABS(H3 = MAXH3.2) - (2 * ABS(L2 = MINL3.2) + ABS(L2 > MINL3.2) * ABS(L3 = MINL3.2)))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/19/2010 Posts: 25
|
Bruce
Can you please provide the same info for Aroon(period 3, timeframe - 30 min.
(I do not need for Aroon Oscilator)
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Up value of a 3-Period Aroon indicator could be written as:
100 * (3 * ABS(H = MAXH4) + ABS(H < MAXH4) * (2 * ABS(H1 = MAXH4) + ABS(H1 < MAXH4) * ABS(H2 = MAXH4))) / 3
The Down value of a 3-Period Aroon indicator could be written as:
100 * (3 * ABS(L = MINL4) + ABS(L > MINL4) * (2 * ABS(L1 = MINL4) + ABS(L1 > MINL4) * ABS(L2 = MINL4))) / 3
The value 1-bar back involves adding 1 to all of the bars ago parameters. So Up would be:
100 * (3 * ABS(H1 = MAXH4.1) + ABS(H1 < MAXH4.1) * (2 * ABS(H2 = MAXH4.1) + ABS(H2 < MAXH4.1) * ABS(H3 = MAXH4.1))) / 3
Down would be:
100 * (3 * ABS(L1 = MINL4.1) + ABS(L1 > MINL4.1) * (2 * ABS(L2 = MINL4.1) + ABS(L2 > MINL4.1) * ABS(L3 = MINL4.1))) / 3
The value from 2-bars back involves incrementing the bars ago parameters again. So Up would be:
100 * (3 * ABS(H2 = MAXH4.2) + ABS(H2 < MAXH4.2) * (2 * ABS(H3 = MAXH4.2) + ABS(H3 < MAXH4.2) * ABS(H4 = MAXH4.2))) / 3
Down would be:
100 * (3 * ABS(L2 = MINL4.2) + ABS(L2 > MINL4.2) * (2 * ABS(L3 = MINL4.2) + ABS(L3 > MINL4.2) * ABS(L4 = MINL4.2))) / 3
-Bruce Personal Criteria Formulas TC2000 Support Articles
|