Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Inizio Codifica di tutti i Pattern Base Unger + Criptovalute Pinescipt //
- // Aggiunti i pattern per le criptovalute sui 7 giorni numero: 41/42/43 //
- // A differenza dei pattern originali di Unger questi sono calcolati sul Tempo e Non Sulle Sessioni //
- // Calcolati sul Tempo perchè Easylanguage non permette sessioni 24x7 7x7 //
- // Modalità D'uso Vedi Video Unger: "Trading systems supremacy - Sviluppo Pattern Cartella 3 e Cartella Materiale Extra 12x3 //
- // Fare attenzione alle sessioni 0: Alcuni Orari di sessioni non permettono il calcolo sopra H1 o Daily //
- // per questo motivo bisognerà cambiare gli orari input.session del singolo indicatore timeframes H1 A Scendere//
- // Impostazioni Tradestation e Pinescript //
- // Orario Borsa // Exchange Time // Regular Session Tradestation // Upload Datafeed Tutti I Giorni 23:00 to 23:00 //
- //@version=5
- indicator(title="Study PtnBaseSaCrypto", overlay=true)//, precision=4)
- ///////////////////////// Inizio calcolo valori singoli Crypto Su Sessione Fine Giornata E Non Session //////////////////////////
- /////////////////// Start Detecting High0 Session ///////////////////
- // Configure session with inputs
- session_high = input.session("0000-2300", title="Trading Session") // Cambia Orari Sessione Per Timeframe H1 o Minori, "Non Adatto Daily"
- timeZone_high = input.string("GMT", title="Time Zone")
- // SessionHigh() returns the highest price during the specified
- // session, optionally corrected for the given time zone.
- // Returns 'na' when the session hasn't started or isn't on the chart.
- SessionHigh(sessionTime, sessionTimeZone=syminfo.timezone) =>
- insideSession = not na(time(timeframe.period, sessionTime, sessionTimeZone))
- var float sessionHighPrice = na
- if insideSession and not insideSession[1]
- sessionHighPrice := high
- else if not insideSession and high > sessionHighPrice // Inserito personalmente perchè se fuori sessione e massimo più alto non aggiornava
- sessionHighPrice := high // // Inserito personalmente perchè se fuori sessione e massimo più alto non aggiornava
- else if insideSession
- sessionHighPrice := math.max(sessionHighPrice, high)
- sessionHighPrice
- // InSession() returns 'true' when the current bar happens inside
- // the specified session, corrected for the given time zone (optional).
- // Returns 'false' when the bar doesn't happen in that time period,
- // or when the chart's time frame is 1 day or higher.
- InSessionHigh(sessionTimes, sessionTimeZone=syminfo.timezone) =>
- not na(time(timeframe.period, sessionTimes, sessionTimeZone))
- // Get the session high
- highd0 = SessionHigh(session_high, timeZone_high)
- // Show the session high on the chart
- plot(highd0, color=color.green, title="Highd0")
- // For visual verification, highlight the background of session bars
- bgcolor(InSessionHigh(session_high, timeZone_high) ? color.new(color.orange, 90) : na)
- // /////////////////// End Detecting High0 Session ///////////////////
- // /////////////////// Start Detecting Low0 Session ///////////////////
- // Configure session with inputs
- session_low = input.session("0000-2300", title="Trading Session") // Cambia Orari Sessione Per Timeframe H1 o Minori, "Non Adatto Daily"
- timeZone_low = input.string("GMT", title="Time Zone")
- // SessionLow() returns the lowest price during the specified
- // session, optionally corrected for the given time zone.
- // Returns 'na' when the session hasn't started or isn't on the chart.
- SessionLow(sessionTime, sessionTimeZone=syminfo.timezone) =>
- insideSession = not na(time(timeframe.period, sessionTime, sessionTimeZone))
- var float sessionLowPrice = na
- if insideSession and not insideSession[1]
- sessionLowPrice := low
- else if not insideSession and low < sessionLowPrice // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- sessionLowPrice := low // // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- else if insideSession
- sessionLowPrice := math.min(sessionLowPrice, low)
- sessionLowPrice
- // InSession() returns 'true' when the current bar happens inside
- // the specified session, corrected for the given time zone (optional).
- // Returns 'false' when the bar doesn't happen in that time period,
- // or when the chart's time frame is 1 day or higher.
- InSessionLow(sessionTimes, sessionTimeZone=syminfo.timezone) =>
- not na(time(timeframe.period, sessionTimes, sessionTimeZone))
- // Get the session low
- lowd0 = SessionLow(session_low, timeZone_low)
- // Show the session low on the chart
- //plot(lowd0, color=color.red, title="Lowd0")
- // For visual verification, lowest the background of session bars
- //bgcolor(InSessionLow(session_low, timeZone_low) ? color.new(color.orange, 90) : na)
- // /////////////////// End Detecting Low0 Session ///////////////////
- /////////////////// Start Detecting Open0 Session ///////////////////
- // Configure session with inputs
- session_open = input.session("0000-2300", title="Trading Session") // Cambia Orari Sessione Per Timeframe H1 o Minori, "Non Adatto Daily"
- timeZone_open = input.string("GMT", title="Time Zone")
- // SessionOpen() returns the open price during the specified
- // session, optionally corrected for the given time zone.
- // Returns 'na' when the session hasn't started or isn't on the chart.
- SessionOpen(sessionTime, sessionTimeZone=syminfo.timezone) =>
- insideSession = not na(time(timeframe.period, sessionTime, sessionTimeZone))
- var float sessionOpenPrice = na
- if insideSession and not insideSession[1]
- sessionOpenPrice := open
- //else if not insideSession and open < sessionOpenPrice // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- //sessionLowPrice := open // // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- // else if insideSession
- // sessionOpenPrice := (sessionOpenPrice, open)
- sessionOpenPrice
- // InSession() returns 'true' when the current bar happens inside
- // the specified session, corrected for the given time zone (optional).
- // Returns 'false' when the bar doesn't happen in that time period,
- // or when the chart's time frame is 1 day or higher.
- InSessionOpen(sessionTimes, sessionTimeZone=syminfo.timezone) =>
- not na(time(timeframe.period, sessionTimes, sessionTimeZone))
- // Get the session open
- opend0 = SessionOpen(session_open, timeZone_open)
- // Show the session open on the chart
- //plot(opend0, color=color.yellow, title="open0")
- // For visual verification, open the background of session bars
- //bgcolor(InSessionOpen(session_open, timeZone_open) ? color.new(color.orange, 90) : na)
- /////////////////// End Detecting Open0 Session ///////////////////
- /////////////////// Start Detecting Close0 Session ///////////////////
- // Configure session with inputs
- session_close = input.session("0000-2300", title="Trading Session") // Cambia Orari Sessione Per Timeframe H1 o Minori, "Non Adatto Daily"
- timeZone_close = input.string("GMT", title="Time Zone")
- // SessionClose() returns the close price during the specified
- // session, optionally corrected for the given time zone.
- // Returns 'na' when the session hasn't started or isn't on the chart.
- SessionClose(sessionTime, sessionTimeZone=syminfo.timezone) =>
- insideSession = not na(time(timeframe.period, sessionTime, sessionTimeZone))
- var float sessionClosePrice = na
- if insideSession and not insideSession[1]
- sessionClosePrice := close
- //else if not insideSession and close < sessionClosePrice // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- //sessionLowPrice := close // // Inserito personalmente perchè se fuori sessione e minimo più basso non aggiornava
- // else if insideSession
- // sessionClosePrice := (sessionClosePrice, close)
- sessionClosePrice
- // InSession() returns 'true' when the current bar happens inside
- // the specified session, corrected for the given time zone (optional).
- // Returns 'false' when the bar doesn't happen in that time period,
- // or when the chart's time frame is 1 day or higher.
- InSessionClose(sessionTimes, sessionTimeZone=syminfo.timezone) =>
- not na(time(timeframe.period, sessionTimes, sessionTimeZone))
- // Get the session close
- close0 = SessionClose(session_close, timeZone_close)
- // Show the session close on the chart
- //plot(close0, color=color.yellow, title="close0")
- // For visual verification, close the background of session bars
- //bgcolor(InSessionClose(session_close, timeZone_close) ? color.new(color.orange, 90) : na)
- /////////////////// End Detecting Close0 Session ///////////////////
- /////////////////// Start Detecting HighD 0/1/2/3/4/5/6/7 Session ///////////////////
- //highd0 = request.security(syminfo.tickerid, "D", high, lookahead = barmerge.lookahead_on) // SOLO PER TIMEFRAME DAILY //
- //plot(highd0, title="highd0")
- highd1 = request.security(syminfo.tickerid, "D", high[1], lookahead = barmerge.lookahead_on)
- //plot(highd1, title="highd1")
- highd2 = request.security(syminfo.tickerid, "D", high[2], lookahead = barmerge.lookahead_on)
- //plot(highd2, title="highd2")
- highd3 = request.security(syminfo.tickerid, "D", high[3], lookahead = barmerge.lookahead_on)
- //plot(highd3, title="highd3")
- highd4 = request.security(syminfo.tickerid, "D", high[4], lookahead = barmerge.lookahead_on)
- //plot(highd4, title="highd4")
- highd5 = request.security(syminfo.tickerid, "D", high[5], lookahead = barmerge.lookahead_on)
- //plot(highd5, title="highd5")
- highd6 = request.security(syminfo.tickerid, "D", high[6], lookahead = barmerge.lookahead_on)
- //plot(highd6, title="highd6")
- highd7 = request.security(syminfo.tickerid, "D", high[7], lookahead = barmerge.lookahead_on)
- //plot(highd7, title="highd7")
- /////////////////// End Detecting HighD 0/1/2/3/4/5/6/7 Session ///////////////////
- /////////////////// Start Detecting LowD 0/1/2/3/4/5/6/7 Session ///////////////////
- //lowd0 = request.security(syminfo.tickerid, "D", low, lookahead = barmerge.lookahead_on) // SOLO PER TIMEFRAME DAILY //
- //plot(lowd0, title="lowd0")
- lowd1 = request.security(syminfo.tickerid, "D", low[1], lookahead = barmerge.lookahead_on)
- //plot(lowd1, title="lowd1")
- lowd2 = request.security(syminfo.tickerid, "D", low[2], lookahead = barmerge.lookahead_on)
- //plot(lowd2, title="lowd2")
- lowd3 = request.security(syminfo.tickerid, "D", low[3], lookahead = barmerge.lookahead_on)
- //plot(lowd3, title="lowd3")
- lowd4 = request.security(syminfo.tickerid, "D", low[4], lookahead = barmerge.lookahead_on)
- //plot(lowd4, title="lowd4")
- lowd5 = request.security(syminfo.tickerid, "D", low[5], lookahead = barmerge.lookahead_on)
- //plot(lowd5, title="lowd5")
- lowd6 = request.security(syminfo.tickerid, "D", low[6], lookahead = barmerge.lookahead_on)
- //plot(lowd6, title="lowd6")
- lowd7 = request.security(syminfo.tickerid, "D", low[7], lookahead = barmerge.lookahead_on)
- //plot(lowd7, title="lowd7")
- /////////////////// Start Detecting LowD 0/1/2/3/4/5/6/7 Session ///////////////////
- /////////////////// Start Detecting OpenD 0/1/2/3/4/5/6/7 Session ///////////////////
- //opend0 = request.security(syminfo.tickerid, "D", open, lookahead = barmerge.lookahead_on) // SOLO PER TIMEFRAME DAILY //
- //plot(opend0, title="opend0")
- opend1 = request.security(syminfo.tickerid, "D", open[1], lookahead = barmerge.lookahead_on)
- //plot(opend1, title="opend1")
- opend2 = request.security(syminfo.tickerid, "D", open[2], lookahead = barmerge.lookahead_on)
- //plot(opend2, title="opend2")
- opend3 = request.security(syminfo.tickerid, "D", open[3], lookahead = barmerge.lookahead_on)
- //plot(opend3, title="opend3")
- opend4 = request.security(syminfo.tickerid, "D", open[4], lookahead = barmerge.lookahead_on)
- //plot(opend4, title="opend4")
- opend5 = request.security(syminfo.tickerid, "D", open[5], lookahead = barmerge.lookahead_on)
- //plot(opend5, title="opend5")
- opend6 = request.security(syminfo.tickerid, "D", open[6], lookahead = barmerge.lookahead_on)
- //plot(opend6, title="opend6")
- opend7 = request.security(syminfo.tickerid, "D", open[7], lookahead = barmerge.lookahead_on)
- //plot(opend7, title="opend7")
- /////////////////// End Detecting OpenD 0/1/2/3/4/5/6/7 Session ///////////////////
- /////////////////// Start Detecting CloseD 0/1/2/3/4/5/6/7 Session ///////////////////
- //closed0 = request.security(syminfo.tickerid, "D", close, lookahead = barmerge.lookahead_on) // SOLO PER TIMEFRAME DAILY //
- //plot(closed0, title="closed0")
- closed1 = request.security(syminfo.tickerid, "D", close[1], lookahead = barmerge.lookahead_on)
- //plot(closed1, title="closed1")
- closed2 = request.security(syminfo.tickerid, "D", close[2], lookahead = barmerge.lookahead_on)
- //plot(closed2, title="closed2")
- closed3 = request.security(syminfo.tickerid, "D", close[3], lookahead = barmerge.lookahead_on)
- //plot(closed3, title="closed3")
- closed4 = request.security(syminfo.tickerid, "D", close[4], lookahead = barmerge.lookahead_on)
- //plot(closed4, title="closed4")
- closed5 = request.security(syminfo.tickerid, "D", close[5], lookahead = barmerge.lookahead_on)
- //plot(closed5, title="closed5")
- closed6 = request.security(syminfo.tickerid, "D", close[6], lookahead = barmerge.lookahead_on)
- //plot(closed6, title="closed6")
- closed7 = request.security(syminfo.tickerid, "D", close[7], lookahead = barmerge.lookahead_on)
- //plot(closed7, title="closed7")
- /////////////////// Fine Detecting CloseD 0/1/2/3/4/5/6/7 Session ///////////////////
- ////////////////////////////////////////// Inizio Codifica di tutti i pattern base Unger Easylanguage //////////////////////////////////////////
- // Per i range settimanali delle criptovalute alcuni pattern vanno estesi a 7 vedi video Unger //
- // Decommentare i plot che servono sul momento //
- PtnBaseSACrypto1 = math.abs(opend1-closed1)<0.5*(highd1-lowd1)
- plotshape(PtnBaseSACrypto1, title="PtnBaseSACrypto1")
- // PtnBaseSACrypto2 = math.abs(opend1-closed5)<0.5*(highd5-closed1)
- // plotshape(PtnBaseSACrypto2, "PtnBaseSACrypto2")
- // PtnBaseSACrypto3 = math.abs(opend5-closed1)<0.5*(math.max(highd1,highd2,highd3,highd4,highd5)-(math.min(lowd1,lowd2,lowd3,lowd4,lowd5)))
- // plotshape(PtnBaseSACrypto3, "PtnBaseSACrypto3")
- // PtnBaseSACrypto4 = ((highd0-opend0)> ((highd1-opend1)*1))
- // plotshape(PtnBaseSACrypto4, "PtnBaseSACrypto4")
- // PtnBaseSACrypto5 = ((highd0-opend0)> ((highd1-opend1)*1.5))
- // plotshape(PtnBaseSACrypto5, "PtnBaseSACrypto5")
- // PtnBaseSACrypto6 = ((opend0-lowd0)> ((opend1-lowd1)*1))
- // plotshape(PtnBaseSACrypto6, "PtnBaseSACrypto6")
- // PtnBaseSACrypto7 = ((opend0-lowd0)> ((opend1-lowd1)*1.5))
- // plotshape(PtnBaseSACrypto7, "PtnBaseSACrypto7")
- // PtnBaseSACrypto8 = closed1>closed2 and closed2>closed3 and closed3>closed4
- // plotshape(PtnBaseSACrypto8, "PtnBaseSACrypto8")
- // PtnBaseSACrypto9 = closed1<closed2 and closed2<closed3 and closed3<closed4
- // plotshape(PtnBaseSACrypto9, "PtnBaseSACrypto9")
- // PtnBaseSACrypto10 = highd1>highd2 and lowd1>lowd2
- // plotshape(PtnBaseSACrypto10, "PtnBaseSACrypto10")
- // PtnBaseSACrypto11 = highd1<highd2 and lowd1<lowd2
- // plotshape(PtnBaseSACrypto11, "PtnBaseSACrypto11")
- // PtnBaseSACrypto12 = ((highd0>(lowd0+lowd0*0.75/100)))
- // plotshape(PtnBaseSACrypto12, "PtnBaseSACrypto12")
- // PtnBaseSACrypto13 = ((highd0<(lowd0+lowd0*0.75/100)))
- // plotshape(PtnBaseSACrypto13, "PtnBaseSACrypto13")
- // PtnBaseSACrypto14 = (closed1>closed2)
- // plotshape(PtnBaseSACrypto14, "PtnBaseSACrypto14")
- // PtnBaseSACrypto15 = (closed1<closed2)
- // plotshape(PtnBaseSACrypto15, "PtnBaseSACrypto15")
- // PtnBaseSACrypto16 = (closed1<opend1)
- // plotshape(PtnBaseSACrypto16, "PtnBaseSACrypto16")
- // PtnBaseSACrypto17 = (closed1>opend1)
- // plotshape(PtnBaseSACrypto17, "PtnBaseSACrypto17")
- // PtnBaseSACrypto18 = ((closed1<(closed2-closed2*0.5/100)))
- // plotshape(PtnBaseSACrypto18, "PtnBaseSACrypto18")
- // PtnBaseSACrypto19 = ((closed1>(closed2+closed2*0.5/100)))
- // plotshape(PtnBaseSACrypto19, "PtnBaseSACrypto19")
- // PtnBaseSACrypto20 = (highd0>(highd1))
- // plotshape(PtnBaseSACrypto20, "PtnBaseSACrypto20")
- // PtnBaseSACrypto21 = (highd1>highd5)
- // plotshape(PtnBaseSACrypto21, "PtnBaseSACrypto21")
- // PtnBaseSACrypto22 = (lowd0<lowd1)
- // plotshape(PtnBaseSACrypto22, "PtnBaseSACrypto22")
- // PtnBaseSACrypto23 = (lowd1<lowd5)
- // plotshape(PtnBaseSACrypto23, "PtnBaseSACrypto23")
- // PtnBaseSACrypto24 = (highd1>highd2) and (highd1>highd3) and (highd1>highd4)
- // plotshape(PtnBaseSACrypto24, "PtnBaseSACrypto24")
- // PtnBaseSACrypto25 = (highd1<highd2) and (highd1<highd3) and (highd1<highd4)
- // plotshape(PtnBaseSACrypto25, "PtnBaseSACrypto25")
- // PtnBaseSACrypto26 = ((lowd1<lowd2) and (lowd1<lowd3) and (lowd1<lowd4))
- // plotshape(PtnBaseSACrypto26, "PtnBaseSACrypto26")
- // PtnBaseSACrypto27 = ((lowd1>lowd2) and (lowd1>lowd3) and (lowd1<lowd4))
- // plotshape(PtnBaseSACrypto27, "PtnBaseSACrypto27")
- // PtnBaseSACrypto28 = (closed1>closed2 and closed2>closed3 and opend0>closed1)
- // plotshape(PtnBaseSACrypto28, "PtnBaseSACrypto28")
- // PtnBaseSACrypto29 = (closed1<closed2 and closed2<closed3 and opend0<closed1)
- // plotshape(PtnBaseSACrypto29, "PtnBaseSACrypto29")
- // PtnBaseSACrypto30 = ((highd1-closed1)<0.20*(highd1-lowd1))
- // plotshape(PtnBaseSACrypto30, "PtnBaseSACrypto30")
- // PtnBaseSACrypto31 = ((closed1-lowd1)<0.20*(highd1-lowd1))
- // plotshape(PtnBaseSACrypto31, "PtnBaseSACrypto31")
- // PtnBaseSACrypto32 = (opend0<lowd1 or opend0>highd1)
- // plotshape(PtnBaseSACrypto32, "PtnBaseSACrypto32")
- // PtnBaseSACrypto33 = ((opend0<(closed1-closed1*0.5/100)))
- // plotshape(PtnBaseSACrypto33, "PtnBaseSACrypto33")
- // PtnBaseSACrypto34 = ((opend0>(closed1+closed1*0.5/100)))
- // plotshape(PtnBaseSACrypto34, "PtnBaseSACrypto34")
- // PtnBaseSACrypto35 = (highd0<highd1 and lowd0>lowd1)
- // plotshape(PtnBaseSACrypto35, "PtnBaseSACrypto35")
- // PtnBaseSACrypto36 = (highd1-lowd1)<((highd2-lowd2)+(highd3-lowd3))/3
- // plotshape(PtnBaseSACrypto36, "PtnBaseSACrypto36")
- // PtnBaseSACrypto37 = (highd1-lowd1)<(highd2-lowd2) and (highd2-lowd2)<(highd3-lowd3)
- // plotshape(PtnBaseSACrypto37, "PtnBaseSACrypto37")
- // PtnBaseSACrypto38 = (highd2>highd1 and lowd2<lowd1)
- // plotshape(PtnBaseSACrypto38, "PtnBaseSACrypto38")
- // PtnBaseSACrypto39 = (highd1<highd2 or lowd1>lowd2)
- // plotshape(PtnBaseSACrypto39, "PtnBaseSACrypto39")
- // PtnBaseSACrypto40 = (highd2<highd1 and lowd2>lowd1)
- // plotshape(PtnBaseSACrypto40, "PtnBaseSACrypto40")
- // PtnBaseSACrypto41 = math.abs(opend7-closed1)<0.5*(math.max(highd1,highd2,highd3,highd4,highd5,highd6,highd7)-(math.min(lowd1,lowd2,lowd3,lowd4,lowd5,lowd6,lowd7)))
- // plotshape(PtnBaseSACrypto41, "PtnBaseSACrypto41")
- // PtnBaseSACrypto42 = (highd1>highd7)
- // plotshape(PtnBaseSACrypto42, "PtnBaseSACrypto42")
- // PtnBaseSACrypto43 = (lowd1<lowd7)
- // plotshape(PtnBaseSACrypto43, "PtnBaseSACrypto43")
- // PtnBaseSACrypto44 = true
- // plotshape(PtnBaseSACrypto44, "PtnBaseSACrypto44")
- // PtnBaseSACrypto45 = false
- // plotshape(PtnBaseSACrypto45, "PtnBaseSACrypto45")
- ////////////////////////////////////////// Fine Codifica di tutti i pattern base Unger Easylanguage //////////////////////////////////////////
- //////////////////////////// Inizio Spiegazione di tutti i pattern base Unger ////////////////////////////
- /////// Per i range settimanali delle criptovalute alcuni pattern sono stati estesi a 7 vedi video Unger ///////
- // PtnBaseSA1 = // volatility (indecision) // yesterday body < 50% of range // No Opposite //
- // PtnBaseSA2 = // volatility (indecision) // open yesterday - close 5 days ago < 50% of (high 5 days ago - close yesterday) // No Opposite //
- // PtnBaseSA3 = // volatility (indecision) // open of 5 days ago - close of yesterday < 50% of range of last 5 days // No Opposite //
- // PtnBaseSA3 = // volatility (indecision) // open of 5 days ago - close of yesterday < 50% of range of last 5 days // No Opposite //
- // PtnBaseSA4 = // directional - up // high to open today so far > high to open of yesterday // Opposite 6 //
- // PtnBaseSA5 = // directional - up // high to open today so far > 1.5 * (high to open of yesterday) // Opposite 7 //
- // PtnBaseSA6 = // directional - down // open to low today so far > open to low of yesterday // Opposite 4 //
- // PtnBaseSA7 = // directional - down // open to low today so far > 1.5 * (open to low of yesterday) // Opposite 5 //
- // PtnBaseSA8 = // directional - up // 3 consecutive up closes // Opposite 9 //
- // PtnBaseSA9 = // directional - down // 3 consecutive down closes // Opposite 8 //
- // PtnBaseSA10 = // directional - up // 2 higher highs and higher lows // Opposite 11 //
- // PtnBaseSA11 = // directional - down // 2 lower highs and lower lows // Opposite 10 //
- // PtnBaseSA12 = // expansion // range of today > 0.75% of low of today // Opposite 13 //
- // PtnBaseSA13 = // compression // range of today < 0.75% of low of today // Opposite 12 //
- // PtnBaseSA14 = // directional - up // price advanced yesterday // Opposite 15 //
- // PtnBaseSA15 = // directional - down // price declined yesterday // Opposite 14 //
- // PtnBaseSA16 = // directional - up // yesterday closed below the open // Opposite 17 //
- // PtnBaseSA17 = // directional - down // yesterday closed above the open // Opposite 16 //
- // PtnBaseSA18 = // directional - down // price declined > 0.5% yesterday // Opposite 19 //
- // PtnBaseSA19 = // directional - up // price advanced > 0.5% yesterday // Opposite 18 //
- // PtnBaseSA20 = // directional - up // today has traded above yesterday's high // Opposite 22 //
- // PtnBaseSA21 = // trend - up // yesterday high was above 5-day-ago high // Opposite 23 //
- // PtnBaseSA22 = // weakness today // today has traded below yesterday's low // Opposite 20 //
- // PtnBaseSA23 = // trend - down // yesterday low was below 5-day-ago low // Opposite 21 //
- // PtnBaseSA24 = // trend - up // yesterday high was the highest in 4 days // Opposite 26 //
- // PtnBaseSA25 = // not trend up // yesterday high was lowest in 4 days // Opposite 27 //
- // PtnBaseSA26 = // trend - down // yesterday low was lowest in 4 days // Opposite 24 //
- // PtnBaseSA27 = // not trend down // yesterday low was the highest in 4 days // Opposite 25 //
- // PtnBaseSA28 = // trend - up // yesterday close was highest in 3 days and today open is higher // Opposite 29 //
- // PtnBaseSA29 = // trend - down // yesterday close was lowest in 3 days and today open is lower // Opposite 28 //
- // PtnBaseSA30 = // strength yesterday // yesterday close was in the top 20% of yesterday range // Opposite 31 //
- // PtnBaseSA31 = // weakness yesterday // yesterday close was in the bottom 20% of yesterday range // Opposite 30 //
- // PtnBaseSA32 = // movement // today open gapped either above yest. high or below yest. low //
- // PtnBaseSA33 = // big gap down // today open is at least 0.5% below yesterday close // Opposite 34 //
- // PtnBaseSA34 = // big gap up // today open is at least 0.5% above yesterday close // Opposite 33 //
- // PtnBaseSA35 = // big gap up // today open is at least 0.5% above yesterday close //
- // PtnBaseSA36 = // volatility contraction // yesterday range < 2/3 (66%) of prior 2-day avg. range // No Opposite //
- // PtnBaseSA37 = // volatility contraction // yesterday was second consecutive range contraction day // No Opposite //
- // PtnBaseSA38 = // volatility contraction // yesterday was an inside day // No Opposite //
- // PtnBaseSA39 = // volatility contraction // yesterday was not an outside day // Opposite 40 //
- //PtnBaseSA40 = // volatility expansion // yesterday was an outside day // Opposite 39 //
- //PtnBaseSA41 = // volatility (indecision) // open of 7 days ago - close of yesterday < 50% of range of last 7 days // No Opposite //
- //PtnBaseSA42 = // trend - up // yesterday high was above 7-day-ago high // Opposite 43 //
- //PtnBaseSA43 = // trend - down // yesterday low was below 7-day-ago low // Opposite 42 //
- // PtnBaseSA44 = true // boolean // true // Opposite 45 //
- // PtnBaseSA45 = false // boolean // false // Opposite 44 //
- //////////////////////////// Fine Spiegazione di tutti i pattern base Unger ////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement