What is the formula for C > AVGC200 and the 5 period xavg crossing above the 20 period xavg?
C > AVGC200 AND XAVGC5 ???? XAVG20
I don't know what should replace the ????
|
I found this formula in the discussion topics. The description is:
"In this one the ETF must be above its 200 day MA, and has dropped below its 5 day MA.
It has dropped four out of the last five days, so the closing prices were
lower than the day before for four out of the last 5 days."
How would I reverse it so closing prices are higher than the day before for 4 out of the last 5 days.
C > AVGC200 AND C < AVGC5 AND ABS(C < C1) + ABS(C1 < C2) + ABS(C2 < C3) + ABS(C3 < C4) + ABS(C4 < C5) >= 4 AND C5 > AVGC5.5 AND C4 < AVGC5.4 AND C3 < AVGC5.3 AND C2 < AVGC5.2 AND C1 < AVGC5.1
Thanks again for all your help.
Richard
|
Bruce, Thanks for your latest help. Sometimes I get the formula right, but usually I need to turn to you for help.
Richard
|
I am trying to write a formula that shows 2 day RSI falling three days in a row. The first days drop should start from below 60 and the last day should be below 10. Here is my formula:
C > AVGC200 and rsi2.1 < 10 and rsi2.2 < rsi2.3 and rsi2.3 < rsi2.4 and rsi2.4 < 60
When I test it against todays QQQ it is obviously false. My problem is my rsi2 indicator for the past few days shows rsi2 (today and going back) at 83.09, 0.00, 0.00, 0.00.
The test results show
66.45 > 58.81 and 83.09 < 10 and 41.55 <
27.70 and 27.70 < 20.77 and 20.77 < 60
Value = False
C, AVGC200 and rsi2.1 agree with my indicator, but where have the other numbers come from?? Why aren’t they 0.00??
Thanks for your help.
Richard
|
I recently saw a brochure on turtle trading. The entire system seems to be designed for commodity trading; however, in reading posts it appears that some of you are using the system with stocks. In computing Unit Size what do you use for Dollars Per Point? The formula in the brochure is
unit size = (0.01 * portfolio value) / (ATR * Dollars Per Point)
Dollars per Point in the formula is the value of the futures contract being traded.
Thanks for any help any of you can give
Richard
|
Please correct my formula for me.
c > vstop and c.1 <= vstop
Thanks r. reeder
|
Bruce I hate to show my stupidity, but what's wrong with my fromula
c / xavg20 -1
Thanks for your help.
|
What is the formula to compute the % difference between Vstop and price?
|
What is the code to get an indicator if today's and yesterday's two day RSI are below 10? Thanks R. Reeder
|