tmacconnell 4 posts msg #132259 - Ignore tmacconnell |
10/31/2016 9:42:55 PM
Stockcharts describes PVO as having a signal line
http://stockcharts.com/school/doku.php?st=pvo&id=chart_school:technical_indicators:percentage_volume_oscillator_pvo
How do I code a filter to show a crossover of the PVO above its signal line
Thanks I'm new
|
four 5,087 posts msg #132260 - Ignore four modified |
10/31/2016 10:21:00 PM
Do investigate the guide:
http://www.stockfetcher.com/sfhelp2/?id=100379
----
Signal Line: 9-day EMA of PVO
thus...
cema(PVO(10,50) ,9) /* cema=custom EMA*/
|
tmacconnell 4 posts msg #132261 - Ignore tmacconnell |
10/31/2016 10:33:02 PM
Awesome thanks!
|
tmacconnell 4 posts msg #132264 - Ignore tmacconnell |
10/31/2016 11:05:48 PM
Actually when I coded that and compared the results to stockcharts they did not match. Stockcharts shows the ETF KOL to be ove the signal line, but this filter did not find KOL. Not sure what went wrong
|
four 5,087 posts msg #132266 - Ignore four modified |
10/31/2016 11:20:56 PM
--------------
Do investigate the guide:
http://www.stockfetcher.com/sfhelp2/?id=100379
--------------
A crossover shows the day of the crossover. And only the day the crossover occurred.
The code is different if you want to show only above (which will include the day of crossover)...
|