Cannot implicitly convert type Error
Author: MikeyRules
Creation Date: 9/16/2013 9:02 PM
profile picture

MikeyRules

#1
I am attempting to use ATRP and PercRank at the daily level as filters for an intraday trading strategy. When I compile, I get "Cannot implicitly convert type "WealthLab.DataSeries to "WealthLab.Indicators.ATRP". An explicit conversion exists (are you missing a cast?)" and "Cannot implicitly convert type "WealthLab.DataSeries to "Community.Indicators.PercentRank". An explicit conversion exists (are you missing a cast?)"

When I try something similar with a standard Dataseries and comment out the offenders, it compiles fine.

Is it possible to do this or am I missing something? Thanks!

CODE:
Please log in to see this code.
profile picture

Eugene

#2
Both should be defined as DataSeries for the code to compile:
CODE:
Please log in to see this code.
profile picture

MikeyRules

#3
Thanks Eugene!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).