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 |

Current price at 5min 50ema and 1min 50ema Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
StewieStag
Posted : Thursday, December 13, 2018 6:51:10 AM
Registered User
Joined: 12/14/2016
Posts: 7

Hi Bruce,

 

Is there anyway I can run a scan that picks up stocks that are currently between the 45 and 55ema on a 1min stime scale and teh 48ema and 52ema on a 5min time scale?

I'm looking to find stocks that are at both the 1min and 5min 50ema level but It's going ot be tough that the current price is at exactly both so if there is any other way that we could see when the 50emas are close to each other that woudl also be ideal.

Thanks!

StewieStag
Posted : Thursday, December 13, 2018 6:56:32 AM
Registered User
Joined: 12/14/2016
Posts: 7

Alternatively, is there a way of putting t he 50ema from a 5min timeframe on a 1min chart? That would be even better :D

Bruce_L
Posted : Thursday, December 13, 2018 9:48:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I will start by saying it is not possible to add the 50ema from a 5-minute chart to a 1-minute chart. About the best you could do is multiply the period by five (or probably closeer would be (period-1) * 5 + 1) and that will almost never match exactly.

Checking for price to be between the 45 and 55ema can be written as follows.

ABS(XAVGC45 + XAVGC55 - 2 * C) <= ABS(XAVGC45 - XAVGC55)

Checking for price to be between the 48 and 52ema can be written as follows.

ABS(XAVGC48 + XAVGC52 - 2 * C) <= ABS(XAVGC48 - XAVGC52)

You can add both formulas to the same Condition Set and set the time frame of one to 1-minute and the time frame of the other to 5-minute.

A formula for price being near the 50ema depends on how close you need it to be. You could check for it being within $0.01 for example.

ABS(C - XAVGC50) <= .01

Or within say 0.1%.

ABS(C / XAVGC50 - 1) <= .001

But you may be better off with the moving average approach you already requested.



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