Close price as up or down bar

Discussion in 'Technical Analysis' started by emulimu, Feb 4, 2022.

  1. emulimu

    emulimu

    If SPY closed at 448 yesterday and closed at 454 today, I need 6 shown as an up bar. If SPY closes at 452 tomorrow, then the chart should show 2 as a down bar tomorrow.
    I am not able to get like this anywhere.
     
    #11     Feb 7, 2022
    murray t turtle likes this.
  2. SunTrader

    SunTrader

    The difference between today's open and today's close is way more important than the difference between yesterday's close and today's open.

    For example stock closes at 100 yesterday. Opens today at 102, trades as high as 104 but closes at 101.

    Media will report it gained $1 woohoo, difference between yesterday's and today's close.

    Meanwhile what really happened is it gap opened up $2 higher, traded another $2 higher still, then traded down $3 into the close.

    Distribution, not accumulation. Don't follow the sheeple.
     
    #12     Feb 7, 2022
    murray t turtle likes this.
  3. emulimu

    emulimu

    No, no I am not at sheeple level, lol. I just wanted to try something different. I was getting stopped out only to find the stock back in the range just like my butterfly needs. I am not day trading, I am selling options.
     
    #13     Feb 7, 2022
  4. emulimu

    emulimu

    I need yesterday’s close and today’s close.
     
    #14     Feb 7, 2022
    murray t turtle likes this.
  5. ph1l

    ph1l

    Maybe something like this (included code might need changes) would work for you?
    https://www.tradingview.com/script/k6OlgKAO-Relative-Candle/
    upload_2022-2-7_20-22-25.png
     
    #15     Feb 7, 2022
    emulimu likes this.
  6. Overnight

    Overnight

    YES! And that is what is maddening to me when my friend asks "How is the market doing"?

    All the non-market folks see is a snapshot of where the market is at any given point on their devices, newschannels, whatever.

    So while the Dow is freaking out during the day in a thousand point range, when I am asked that question, I just go..."Eh, it's a mixed market".

    At the end of the day they ask "So how did the market do?"

    It could be up or down a hundred point or whatever from RTH open, and I just say exactly that. "It's up or down a bit."

    But there is no way I could explain to them the horror of what had gone on all day with the insane 2-4% swings. They have NO idea. NONE! They're NUTS!
     
    #16     Feb 7, 2022
    murray t turtle likes this.
  7. .

    Hey emulimu,

    I wrote this script and plotted it in Thinkorswim and it looks very close to what you've described. Hope it works for you.

    ----
    # PriceChange_Histogram

    declare lower;

    plot PriceChange = close - close[1];

    PriceChange.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
    PriceChange.SetLineWeight(3);
    PriceChange.SetDefaultColor(Color.DARK_RED);
    ----
     
    #17     Feb 7, 2022
    emulimu likes this.
  8. emulimu

    emulimu

    I am not a programmer but I think I can manage these programming solutions. Appreciate your help. Thanks
     
    #18     Feb 8, 2022
  9. SunTrader

    SunTrader

    Sorry that was a typo on my part.

    Should read: Today's open and close diff more important than yesterday's close and today's close diff.

    Even for options - I actually learned that from a Tom DeMark options trading book. He calls it TD Camoflauge.
     
    #19     Feb 8, 2022
  10. emulimu

    emulimu

    Exactly what I wanted. Works beautifully. Thanks a lot!
     
    #20     Feb 8, 2022