Conversione da TW indicatore scalper a 8 periodi

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #203077 quote
    Msport71Msport71
    Participant
    Senior

    Buongiorno a tutti,

    volevo richiedere la conversione in oggetto, di questo indicatore, che mi sembra interessante pur nella
    sua semplicità.
    Ringrazio sempre per il cortese e prezioso supporto.

    https://www.tradingview.com/script/egfSfN1y-TonyUX-EMA-Scalper-Buy-Sell/

     

    ———————————————————————

    TonyUX EMA Scalper – Buy / Sell

    study(title=”Tony’s EMA Scalper – Buy / Sell”, shorttitle=”TUX EMA Scalper”, overlay=true)
    len = input(20, minval=1, title=”Length”)
    src = input(close, title=”Source”)
    out = ema(src, len)
    plot(out, title=”EMA”, color=blue)
    last8h = highest(close, 8)
    lastl8 = lowest(close, 8)

    plot(last8h, color=red, linewidth=2)
    plot(lastl8, color=green, linewidth=2)

    bearish = cross(close,out) == 1 and close[1] > close
    bullish = cross(close,out) == 1 and close[1] < close

    plotshape(bearish, color=red, style=shape.arrowdown, text=”Sell”, location=location.abovebar)
    plotshape(bullish, color=green, style=shape.arrowup, text=”Buy”, location=location.belowbar)

    Screenshot-2022-10-26-at-10-47-50-TonyUX-EMA-Scalper-Buy-_-Sell-—-Indicator-by-tux.jpg Screenshot-2022-10-26-at-10-47-50-TonyUX-EMA-Scalper-Buy-_-Sell-—-Indicator-by-tux.jpg
    #203098 quote
    fifi743fifi743
    Participant
    Master
    out = average[20,1]
    last8h = highest[8]
    lastl8 = lowest[8]
    bearish = close crosses under out and close[1] > close
    bullish = close crosses over out and close[1] < close
    if bullish then
    DRAWARROWUP(barindex, low)coloured(51,102,51)
    endif
    if bearish then
    DRAWARROWDOWN(barindex,high)coloured(204,0,0)
    endif
    return
    Msport71 thanked this post
    #203100 quote
    Msport71Msport71
    Participant
    Senior

    Fifi743,

     

    gentilissimo grazie.

    Posso chiederti anche come inserire le bande (green line e red line ) simili a un canale di Donchian ,  all’interno delle quali nell’indicatore le candele oscillano?

    dovrebbe trattarsi delle seguenti stringhe:

    plot(last8h, color=red, linewidth=2)
    plot(lastl8, color=green, linewidth=2)

     

    Grazie ancora

    #203101 quote
    fifi743fifi743
    Participant
    Master

    Ecco qui

    scalper.itf
    #203103 quote
    Msport71Msport71
    Participant
    Senior

    Grazie e mille !

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Conversione da TW indicatore scalper a 8 periodi


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Msport71 @carlo-pasca Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Msport71Msport71
3 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 10/26/2022
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...