TradingView
RicardoSantos
Apr 29, 2022 2:13 PM

FunctionIntrabarCrossValue 

GoldOANDA

Description

Library "FunctionIntrabarCrossValue"

intrabar_cross_value(a, b, step) Find the minimum difference of a intrabar cross and return its median value.
  Parameters:
    a: float, series a.
    b: float, series b.
    step: float, step to iterate x axis, default=0.01
  Returns: float
Comments
dMLTquant
Omni-Trading
Why did you choose SMA? Generally curious
cenkelbe
Perfect
slowcoconut
Great for conviction... holding a position through the entire move, well done Ricardo...
OutsourcE
A bar opens and goes up from the open (or down) then it closes below the open(or above).Would live love to have a script like that, it's pretty useful for reverses.You can call it a "hinge" 🤙😎
slowcoconut
@OutsourcE, Interesting... if you were to look at this moment on a lower timeframe (for example, seconds or 1min if you're watching a 3-10min candle)...I'd recommend a split chart or overlaying the HTF candle over the lower tf candles...then you can see the HTF wick rejections in realtime via lower tf candles bouncing off support/resistance...
OutsourcE
Oh, that's effing nice,only it's not intrabar if your using it over a sma period.kinda more like inter - bar ... intrabar shift occurs within one bar.
xmd1979
great algo, as always u're brilliant and amazing in your creativity...just one thought...i use the principle according the fact time precedes price and volume nothing but the tool for reversal price change dictated always by time cyclic nature...i wonder if u could code an oscillator using stationary time series vs. non-stationary (for example...a sinewave always uniform for stationary cycles and a mtf stoch for non stationary waves, at least thats my approach) , anyway, one upon other, great tool, thank you, RicardoSantos, u're great as usual )
More