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 |

Moving averages Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dmalyga
Posted : Thursday, October 11, 2018 12:42:54 PM
Gold Customer Gold Customer

Joined: 11/9/2009
Posts: 36

Hi,

 

Is it possibe to create a scan or a signal if price is between two moving avgs example 3ma and 6ma?

Bruce_L
Posted : Thursday, October 11, 2018 12:59:20 PM


Worden Trainer

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

Yes, you can write this multiple ways. It can be written as follows for example.

(AVGC3 <= C AND C <= AVGC6) OR (AVGC6 <= C AND C <= AVGC3)

Or the slightly shorter but less obvious formula below.

ABS(2 * C - AVGC3 - AVGC6) <= ABS(AVGC3 - AVGC6)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dmalyga
Posted : Thursday, October 11, 2018 1:07:02 PM
Gold Customer Gold Customer

Joined: 11/9/2009
Posts: 36

what about exponential ma?

Bruce_L
Posted : Thursday, October 11, 2018 1:10:15 PM


Worden Trainer

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

Just use XAVGC instead AVGC.

(XAVGC3 <= C AND C <= XAVGC6) OR (XAVGC6 <= C AND C <= XAVGC3)



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