Bruce,
Sorry for the typos. Of course I would get an error message if had those commas where periods should be, so there are no commas in the code. Saying that if can not get a positive return If the MA.Value look back period is greater than (6)
MA.Value(6) > Price.Close(13) And MA.Value < Price.Close Then Pass
That works
MA.Value(7) > Price.Close(13) And MA.Value < Price.Close Then Pass
Does not return any positives.
Footnote: '# MA = chart.MovingAverage
|
I want to compare Price to a Moving average intraday, but have found the Moving Average only recognizes its Value 6 bars back. I was trying to look at its Value thirteen bars back. The problem is in a Realcode formula If MA,Value(13) > Price.Close,value(13) and MA.Value < Price.Close then pass. It will only return positives up to MA,Value(6). Any ideas why I can not go back 13 Bars?
|
Can you write a scan where VWAP is one of the parameter? Typing in VWAP gives me an error.
|
You could do it Stockfinder. I know that doesn't help much since you would have to purchase a Stockfinder subscription and there is no price break for having both.
|
I would like to return the absolute value for Price.NetChange, but not sure how to do this
|
Thanks ... what ever the adjustment was now lets the program start without a crash.
|
There should be line breaks in this Post But since I do not know how to do this, I will add spaces so you get the idea: VVWP Close ATR Plot = (VVWP.value - Close.value) / ATR.value * 100
|
Previous post did not retain Line breaksVVWPCloseATRPlot = (VVWP.value - Close.value) / ATR.value * 100
|
VVWPCloseATRPlot = (VVWP.value - Close.value) / ATR.value * 100
|