Author Topic: Stocks approaching a moving average  (Read 11681 times)

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Stocks approaching a moving average
« on: September 05, 2014, 11:41:04 am »
I am looking to build a scan of strong stocks pulling back. I am looking to have it send an alert when something up this morning on volume pulls back to a 5min 60 period EMA. I see a few built in moving averages but not this one.

Any ideas?

Thanks

braddoubleu

  • Administrator
  • Sr. Member
  • *****
  • Posts: 453
  • Karma: +8/-1
    • Trade-Ideas
Re: Stocks approaching a moving average
« Reply #1 on: September 05, 2014, 11:46:09 am »
Trade-Ideas Pro currently only looks at simple moving averages.  You are not able to use a moving average that is not in the current inventory of available alerts or filters.

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #2 on: September 05, 2014, 12:03:29 pm »
Ok well the 5 60 should be close to the 15 20 simple ema. I see a filter for that in trade ideas wondering how i would write approaching using the change from.

Thanks again!

TradeIdeas_DA

  • Administrator
  • Hero Member
  • *****
  • Posts: 729
  • Karma: +9/-2
    • Trade Ideas LLC
Re: Stocks approaching a moving average
« Reply #3 on: September 05, 2014, 12:10:21 pm »
While you can't at this time create your own moving average like the 5min 60period EMA you described, you can create proxies for this pattern using the filters we have that allow you to place where the stock should be from the periods we do have, e.g., 5min 20period SMA and others defined here:

http://www.trade-ideas.com/trade-ideas-university/filter-definitions-2/

In fact I've created a sample strategy with this setup for as an example. Enjoy:
http://www.trade-ideas.com/View.php?O=10000004000000_419_0&MinVol=50000&MinRV=2&Min5SmaLa20=-2&Max5SmaLa20=5&WN=High+Volume+Moving+Average+Breakouts&col_ver=1&show0=D_Type&show1=D_Time&show2=D_Symbol&show3=D_Desc&show4=Price&show5=PV&show6=FCD&show7=R20D&show8=5SmaLa20&show9=Count
Follow me on Twitter: http://twitter.com/TradeIdeas

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #4 on: September 08, 2014, 03:29:30 pm »
Thats great thanks. but im looking for something a little different. I have been trying this myself but cant see to get it. Im looking for stocks like INFI today when it was strong early and starting to pull back. I found the 20 EMA on 15's a good starting point but we can use SMA since we cant use EMA. I also tried the stock like this area of the site but thats really scary lol.

Thanks

TradeIdeas_DA

  • Administrator
  • Hero Member
  • *****
  • Posts: 729
  • Karma: +9/-2
    • Trade Ideas LLC
Re: Stocks approaching a moving average
« Reply #5 on: September 08, 2014, 04:10:46 pm »
Ok. Leaving behind all the previous indicator specifics and just focusing on the description of your preferred pattern and an example of a stock in such a pattern. I have something below that featured INFN at 11:30am ET today and that is highlighted in the picture below.

First the strategy: "High Volume Movers Stepping Back"
http://www.trade-ideas.com/View.php?O=200000000000000000800000000000000000_419_0&MaxPUp15=0.2&MaxVol15=90&MinDV=300000&MinPOORP=50&MinPUp120=0.1&MinPUp15=-1&MinPV=90&WN=High+Volume+Movers+Stepping+Back&show0=D_Type&show1=D_Time&show2=D_Symbol&show3=D_Desc&show4=Price&show5=PV&show6=FCD&show7=R20D&show8=5SmaLa20&show9=Count&col_ver=1

Here's INFN
Follow me on Twitter: http://twitter.com/TradeIdeas

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #6 on: September 11, 2014, 01:07:59 pm »
Thanks again for all your help. I have looked at the scan and its not really what I'm looking for I'm sorry if I'm unable to articulate it. I have built it on the freestockcharts scanner but I don't like there scan nearly as much and want to drop it. attached are 2 examples of the setup and the charts they gave.

Thanks once more.

http://imgur.com/gl6jISw
http://imgur.com/7dt2Scu

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #7 on: September 15, 2014, 04:22:16 pm »
I work on this this weekend playing with the change from 20 period moving average filter and cant figure out anything. I am trying to figure out what to do for scanning and just want to confim. Trade-Ideas cannot tell me when something moved up and pulled back to the 20 period moving average? If not i need to look for something that can like tc-2000 or finviz or esingal. I would rather not becuase i like you guys system.

thanks


Barrie Einarson

  • Administrator
  • Hero Member
  • *****
  • Posts: 610
  • Karma: +20/-1
Re: Stocks approaching a moving average
« Reply #8 on: September 15, 2014, 05:44:30 pm »
Hi .. the limitation is that we can tell you how far away from the 20 period moving average a stock is but not that it necessarily moved up and now is coming back to it.

Cheers

Barrie Einarson
barrie@trade-ideas.com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com/

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #9 on: September 16, 2014, 07:30:43 am »
He Barrie love the videos by the way. Can we simply add a scan for things touching the average like free stock charts. I could use an RSI filter or something like that to program things moving down.

thanks


Barrie Einarson

  • Administrator
  • Hero Member
  • *****
  • Posts: 610
  • Karma: +20/-1
Re: Stocks approaching a moving average
« Reply #10 on: September 16, 2014, 07:44:26 am »
Hi .. thanks for the comment about the videos, I appreciate it.

You could write a custom filter that would show you when a price is very close to the sma - for example, this formula:

abs(price-sma_20)

Once written, it is added to your filter list and can be treated like any other filter.  If you put 0.05 in the min box, that would show you stocks that are within 5 cents of the sma20 - either within 5 cents above or below.

It is a bit of an advanced topic but you can find information on how to write custom filters here:

http://www.trade-ideas.com/AccountManagement/Edit.html

If you wanted the above formula, you would copy it into the Source box.

Here is a page that lists the various data points we have that can be used to create custom filters:

http://static.trade-ideas.com/FormulaEditor/Instructions.pdf

Pages 5 and 6 have the sma data points.

Cheers

Barrie Einarson
barrie@trade-ideas.com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com/




Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #11 on: September 24, 2014, 01:01:56 pm »
Still in a long epic battle with this. I have written the below with the exact formula that you have give (i have tried to put in sma_15_20 in all formats i could see and watched your webinar a few times on these formulas) to now prevail. I it seems to give me all other filters are met but not the one that i am looking for. If i can just figure out how to add a filter (touching the 15 min 20 period SMA) I could use filters for the rest.

Thanks again for putting up with me. and other then your one webinar on these formulas on youtube are their any others


http://www.trade-ideas.com/Cloud.html?code=ee557452be0ac7675aa29e8fa8f0efd0

Barrie Einarson

  • Administrator
  • Hero Member
  • *****
  • Posts: 610
  • Karma: +20/-1
Re: Stocks approaching a moving average
« Reply #12 on: September 24, 2014, 01:22:40 pm »
Hi .. you will never get a formula that shows the price touching the sma, only when it is very close.

abs(price-sma_15_20)

If you put a very small number in the min box, e.g. 0.02, that should show you stocks that are on either side of the sma by no more than 2 cents.

Cheers

Barrie Einarson
barrie@trade-ideas.com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com/

Bonpara

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Stocks approaching a moving average
« Reply #13 on: September 24, 2014, 01:31:09 pm »
Sorry I should have specified that i put in .05 in the min filter as you suggested in your post above. all else that is in it is heartbeat and volume and price filters. Its currently giving me about a symbol a second not near the 15/20 or when i use your formula the daily 20.

Barrie Einarson

  • Administrator
  • Hero Member
  • *****
  • Posts: 610
  • Karma: +20/-1
Re: Stocks approaching a moving average
« Reply #14 on: September 24, 2014, 01:36:24 pm »
Hi .. I would use it as a Top List with the sma15/20 as a column - you will see the value that TI is returning and it should be correct.

Cheers

Barrie Einarson
barrie@trade-ideas.com
Trade Ideas Trading Room Moderator
http://forums.trade-ideas.com/