New version 17 available now


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


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

MOBO indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderc
Posted : Monday, February 06, 2017 7:37:01 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 60

I took the MOBO indicator from this board, and I would like to see a dot  over the price when MOBO is on and no dot when when MOBO is off, but when I tried to do it I  got many dots on the screen.

An example of display would be similair to PSAR indicator except no dot's when not in a mobo.

Any advice would be welcomed.

thnx

rctrade

MOBO

((C - AVGC10) / SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 10) <= (-.8)) * (10 - 10 * ((C1 - AVGC10.1) / SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 - 10 * AVGC10.1 ^ 2) / 10) > (-.8)) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1)) - ((C - AVGC10) / SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 10) >= .8) * (10 - 10 * ((C1 - AVGC10.1) / SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 - 10 * AVGC10.1 ^ 2) / 10) < .8) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1))

Bruce_L
Posted : Wednesday, February 08, 2017 7:50:55 PM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

Can you point me to some MOBO indicator resources so I can try to figure out when you do and don't want dots plotted?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderc
Posted : Thursday, February 09, 2017 10:12:22 AM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 60
Yes sorry for not being descriptive enough Bruce. The late David Elliot created Momentum Bands and I used this on TOS as a trigger for buying and selling. It changes color green to red or red to green depending on momentum change.Here is some info - I have some other I can send you privately if you need.https://www.youtube.com/watch?v=c6D-oN7wSTQ
Bruce_L
Posted : Friday, February 10, 2017 11:35:01 AM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

Maybe something like the following Formula in a Custom PCF Indicator using the Dot Plot Style plotted in the same pane and scale as price?

AVGC10 - .8 * STDDEV10 / SGN(((C - AVGC10) / STDDEV10 <= (-.8)) * (10 - 10 * ((C1 - AVGC10.1) / STDDEV10.1 > (-.8)) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1)) - ((C - AVGC10) / STDDEV10 >= .8) * (10 - 10 * ((C1 - AVGC10.1) / STDDEV10.1 < .8) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1)))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
donv98
Posted : Friday, February 10, 2017 1:09:24 PM
Gold Customer Gold Customer

Joined: 7/29/2010
Posts: 365

This helped me:

http://forums.worden.com/default.aspx?g=posts&t=31729

traderc
Posted : Sunday, February 12, 2017 3:25:43 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 60

Bruce,
Thanks very much it is almost identical to TOS version which originated from David Elliot. One difference is, in TC the code turns the MOBO off sooner than TOS.

Example AMAZON on Daily
TOS:  MOBO on: 1/5/17.......MOBO Off - 2/3/17 through 2/10/17 (Data ended)
TC: MOBO on 1/5/17...MOBO off 1/17/17...MOBO on 1/25/17...MOBO Off 1/30/17...MOBO on 2/2/17...MOBO off 2/8/17.
In TOS they have some variables, that might be of value but maybe specific to TOS.
Length - 10 periods (Everything is Daily)
Number Dev up = 0.8
Number Dev DN = -0.8
None the less you are awsome... :-)
rctrade

traderc
Posted : Sunday, February 12, 2017 3:26:20 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 60

Thanks donv98 will look through it

Aces4Me
Posted : Thursday, May 18, 2017 4:25:06 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

QUOTE (Bruce_L)

Maybe something like the following Formula in a Custom PCF Indicator using the Dot Plot Style plotted in the same pane and scale as price?

AVGC10 - .8 * STDDEV10 / SGN(((C - AVGC10) / STDDEV10 <= (-.8)) * (10 - 10 * ((C1 - AVGC10.1) / STDDEV10.1 > (-.8)) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1)) - ((C - AVGC10) / STDDEV10 >= .8) * (10 - 10 * ((C1 - AVGC10.1) / STDDEV10.1 < .8) - (V >= 1.2 * AVGV30.1) - (V >= 1.5 * AVGV30.1) - (V >= 2 * AVGV30.1)))

I use as a True  for MOBO UP (dots below - price above)

C > BBTOP(.8, 10, 0)

and True for MOBO DOWN (dots above - price below)

C < BBBOT(.8, 10, 0)

 

PUT in PCF % TRUE indicator

I use these for quick alerts, if watching for the break

Just 2 clicks to alert True - A set and forget Alert, brings you back when is true and very quick to set the alert

 

 

Aces4Me
Posted : Thursday, May 18, 2017 4:31:04 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

Now reason I am here

Is there a way thru a pcf to alert the second time the Dots Cross

Close or EVEN High (high probably better)  cross mobo top line, fails then Close crosses back up top mobo x number of bars later

like a reset, SO is True, Then NOT True for a min of 3 bars, then True Again in the Next 12-15 bars

(of course formula for Both Directions)

Thanks

Bruce_L
Posted : Thursday, May 18, 2017 4:46:03 PM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

What makes the "second" time the lines cross different than the "third" or "fourth" time the lines cross?

I guess what I'm gettinc at is that unless there is more to your definition than is obvious to me from reading through it (which is quite possible), there isn't really a way to differentiate between a "first" or "second" cross besides besides there being a previous cross.While there will be a "first' cross in a limited data set, that might have actually been a "second" cross if the data set were bigger.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Thursday, May 18, 2017 6:44:36 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

i will put the pre conditions into my scanners, this will take a sold off stock (as pre defined by other conditions)  and put you perfectly on a bull flag pattern using smaller time frame.  Since we dont have auto trendline and or might not have seen the flag developing to draw a trendline for trigger alert, This extremely close in many case.

 

NOT much use on a trending stock

CBI 5 min chart

https://gyazo.com/85e4fa88e8c4db87f8e23b13a6848690

 

BillÇochrane
Posted : Thursday, May 18, 2017 8:35:53 PM
Registered User
Joined: 10/18/2012
Posts: 40

[/QUOTE]

I use as a True  for MOBO UP (dots below - price above)

C > BBTOP(.8, 10, 0)

and True for MOBO DOWN (dots above - price below)

C < BBBOT(.8, 10, 0)

[/QUOTE]

 

I use the same C>BBTOP format, but I throw in a C>XAvgC50  (0r C<AvgC50) to be consistent withthe MBOB write up that I found.

Aces4Me
Posted : Friday, May 19, 2017 7:34:36 AM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

NIce, Looks like you are looking for Swings

Bruce_L
Posted : Friday, May 19, 2017 10:57:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

There isn't a way for any formula I would write to know if it was the first or second time something happened since pre-conditions were met unless those pre-conditions were actually included in the formula somehow.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Friday, May 19, 2017 12:59:28 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

i will do the pre conditions

just out like the formula for

 

True first , Then NOT True for a min of 3 bars, then True Again no sooner than 8 bars later

i should be able to alert what you send me if i need to tweek it

Bruce_L
Posted : Friday, May 19, 2017 1:13:56 PM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

I am going to interpret that as true, then not true for 3 to 8 bars, then true. Not sure if this is correct or not, but when I try to interpret it literally, I get True, then not true for 3 bars and/or not true for 8 bars, then true.

For price closing above the top I would get the following.

C > BBTOP(.8, 10) AND ABS(SinceTrue(C1 > BBTOP(.8, 10, 1), 9) - 5.5) <= 2.5

And for price closing below the bottom I would get the following.

C < BBBOT(.8, 10) AND ABS(SinceTrue(C1 < BBBOT(.8, 10, 1), 9) - 5.5) <= 2.5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Friday, May 19, 2017 1:28:56 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

would like the first TRUE to remain in true state min 3 bars

 

Aces4Me
Posted : Friday, May 19, 2017 1:29:32 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

opps did not know you already posted sorry i will see what i can do with this

Aces4Me
Posted : Friday, May 19, 2017 2:00:10 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

THIS IS PERFECT thanks

Bruce_L
Posted : Friday, May 19, 2017 2:05:16 PM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

Are you sure? Because I didn't check for true at least  bars, then false at least 8 bars, then true.

I tested for true (any number of bars), then false from 3 to 8 bars, then true.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Friday, May 19, 2017 4:34:04 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

the at least part is really what i am looking for, because indicate a pullback then recross of multiple bars, which will most of the time be a flag pattern

 

I have created a flag pattern recognition formula that is very good, but since i cannot draw a trendline on all the symbol in the scanners, the would bring to the scanner at a good time to see it.

 

SO a little tweek on the at least part would be appreciate

 

Thanks

Bruce_L
Posted : Friday, May 19, 2017 5:00:18 PM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

Please try the following for the closing price being above the BB top.

C > BBTOP(.8, 10) AND SinceTrue(C1 > BBTOP(.8, 10, 1), 8) = -1 AND SinceTrue(C9 > BBTOP(.8, 10, 9), 446) = SinceTrue(TrueInRow(C9 > BBTOP(.8, 10, 9), 3) = 3, 446)

And the following for the cloning price being below the BB bottom.

C < BBBOT(.8, 10) AND SinceTrue(C1 < BBBOT(.8, 10, 1), 8) = -1 AND SinceTrue(C9 < BBBOT(.8, 10, 9), 446) = SinceTrue(TrueInRow(C9 < BBBOT(.8, 10, 9), 3) = 3, 446)

See the two instances of 446 in each formula? This (+9) is how many bars back the last time the closing price can have last been above (for the first formula) or below (for the second formula) the Bollinger Bands and have the program still check for the last time being at least 3 bars in a row.

I suspect you want to significantly reduce those numbers. It is highly likely that price closed above or below the bands much more recently, the very long periods make the formulas slow and unable to calculate for newer symbols, and is being above or below the BBs that many bars back significant to your analysis in any case?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Friday, May 19, 2017 6:21:34 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

Thanks for all the effort.  FWIW the first formual did NOT mark the CBI 5M chart on May 18th, but the last post nailed it just as written

 

Thanks

Aces4Me
Posted : Friday, May 19, 2017 6:31:19 PM
Platinum Customer Platinum Customer

Joined: 4/30/2015
Posts: 162

Not exactly following the 446 part, how many bars are we looking back using this 446

I am see the Down indicator showing True when the last bar True was like 45 bars ago

 

maybe should be True for the 3 bars min, the Not true for min of 8 and a Max of 20

that when the 2nd True appears before 20 bars pass (if not restart to the Next 3 bars min True)

Bruce_L
Posted : Monday, May 22, 2017 9:54:34 AM


Worden Trainer

Joined: 10/7/2004
Posts: 59,307

Please try the following for the closing price above the BB top.

C > BBTOP(.8, 10) AND ABS(SinceTrue(C1 > BBTOP(.8, 10, 1), 22) - 14) <= 6 AND SinceTrue(C9 > BBTOP(.8, 10, 9), 14) = SinceTrue(TrueInRow(C9 > BBTOP(.8, 10, 9), 3) = 3, 14)

And the following for the closing price below the BB bottom.

C < BBBOT(.8, 10) AND ABS(SinceTrue(C1 < BBBOT(.8, 10, 1), 22) - 14) <= 6 AND SinceTrue(C9 < BBBOT(.8, 10, 9), 14) = SinceTrue(TrueInRow(C9 < BBBOT(.8, 10, 9), 3) = 3, 14)



-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.