How to express "name does not contain"?

Hello, Stockcharters. I'm trying to up my scanning game, making a scanner that can basically tell me, if the item in my chartlist contains 'proshares' (i.e. is a 2x or 3x or inverse ETF), then only care about the high being above the Ichimoku conversion line (the shortest moving average, irregardless of whether the stock/ETF is below its Ichimoku cloud). Or, if the name does not contain 'proshares', then care about the ichimoku cloud. It seems I can't use "does not contain" or "else," does anyone have a suggestion for me? Thanks in advance!

[[name contains 'proshares'] and
[today's high > daily Ichimoku Conversion Line(9,26,52)]] or
//error in the below line
[name not contain 'proshares'] and
[[Daily Above Ichimoku Cloud is true] and
[Ichimoku Cloud Top <= Daily High]

Comments

  • Ah, I got it actually. It's 'name not contain'.

    //If Proshares is above Tenkansen under any situation, or (for non-Proshares), if above cloud
    [[name contains 'proshares'] and
    [today's high > daily Ichimoku Conversion Line(9,26,52)]] or
    [[name not contains 'proshares'] and
    [[ChartList is 5] or [chartlist is 15]] and
    [[Daily Above Ichimoku Cloud is true] and
    [Ichimoku Cloud Top <= Daily High]]
  • Well done!
  • I just wish it could scan for names that I set, like custom codes or numbers. It seems to only "see" the official name of a stock that they have set.