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 |

Pcf for EMA cross over Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
airsakuragi
Posted : Monday, August 13, 2018 12:40:13 PM
Registered User
Joined: 4/26/2018
Posts: 84

hi bruce,

 

how do i write the pcf an EMA cross over,, for example

the 9EMA cross over the 20EMA where the 9 is trending down.

timeframe is 1 Minute.

and the stock is 10% up on the day itself.

Thanks

Bruce_L
Posted : Monday, August 13, 2018 1:26:01 PM


Worden Trainer

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

So the 9 EMA crosses down through the 20 EMA?

XDOWN(XAVGC9, XAVGC20)

You would set the time frame of that condition to 1-minute. You would need to create another condition with the time frame set to daily and add it to the same scan to check for the daily portion. You can't mix time frames in the same formuala.

10 * C >= 11 * C1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Monday, August 13, 2018 1:32:16 PM
Registered User
Joined: 4/26/2018
Posts: 84

yes the 9EMA crosses down 20EMA

by the way, with those 2 , can i put them in 1condition set?

thanks
 

airsakuragi
Posted : Monday, August 13, 2018 1:34:04 PM
Registered User
Joined: 4/26/2018
Posts: 84

is it like 2 pcf ?, one for the 1 min and 1 for the daily then put into a 1 condition set right?

Bruce_L
Posted : Monday, August 13, 2018 1:41:28 PM


Worden Trainer

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

Yes, you can put both conditions in the same condition set or scan. Just make sure the time frames are actually set to 1-minute for the first formula and daily for the second formula.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Thursday, August 16, 2018 11:22:46 AM
Registered User
Joined: 4/26/2018
Posts: 84

hi bruce,

 

i did put both condition on the same scan and it seems it doesnt work, i even change the 10% to 5 % gain  just to see some stocks above on that day that was crossing down on the 9ema. and it didnt appear on my scanner

 

Bruce_L
Posted : Thursday, August 16, 2018 11:44:13 AM


Worden Trainer

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

It is a fairly restrictive set of conditions (and the 1-minute time frame of the crossdown condition will mean the list can change rather rapidly), but I was getting SAEX a few minutes ago with the 10% version and am getting CRSP and VTL currently with the 5% version when scaning the US Common Stocks WatchList.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Thursday, August 16, 2018 12:04:45 PM
Registered User
Joined: 4/26/2018
Posts: 84

hi,

could i just put a pcf c>1.10*c1 on a daily time frame?

 

Bruce_L
Posted : Thursday, August 16, 2018 12:13:34 PM


Worden Trainer

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

Yes, the only reason I sometimes write the formulas that way (without decimal markers) is to avoid using the . as the decimal marker in fomulas. This can help out customers from countries which use the , as the decimal marker instead.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Thursday, August 16, 2018 12:15:32 PM
Registered User
Joined: 4/26/2018
Posts: 84

ok, 

it seems to work better on me.

thanks

Bruce_L
Posted : Thursday, August 16, 2018 12:20:06 PM


Worden Trainer

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

It shouldn't make any difference at all.

C > 1.1 * C1

Is the same as:

10 * C > 11 * C1

Which is the same as:

100 * C > 110 * C1



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