Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
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
|
|
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?
|
|
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
|
|
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
|
|
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
|
|
Registered User Joined: 4/26/2018 Posts: 84
|
hi,
could i just put a pcf c>1.10*c1 on a daily time frame?
|
|
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
|
|
Registered User Joined: 4/26/2018 Posts: 84
|
ok,
it seems to work better on me.
thanks
|
|
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
|
|
Guest-1 |