Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Scan condition for Aroon Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
focentis
Posted : Thursday, May 30, 2013 10:28:48 PM
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

Bruce_L
Posted : Friday, May 31, 2013 8:01:29 AM


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
focentis
Posted : Friday, May 31, 2013 1:42:03 PM
Registered User
Joined: 7/19/2010
Posts: 25

Bruce

Also i need the same for Aroon (period 2, timeframe 30 min)

 

Thanks

 

Bruce_L
Posted : Saturday, June 1, 2013 8:54:44 AM


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
focentis
Posted : Tuesday, June 4, 2013 1:10:31 PM
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

Bruce_L
Posted : Tuesday, June 4, 2013 1:39:44 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.