Indicateurs de Trading: Charles et Alex
Indicateurs de Trading: Charles et Alex
//@version=2
étudier("Charles", superposer=true)
EMAlength=input(55,"EMA LENGTH?")
src=ohlc4
haOpen=0.0
haOpen := (src + nz(haOpen[1]))/2
haC=(ohlc4+nz(haOpen)+max(high,nz(haOpen))+min(low,nz(haOpen)))/4
EMA1=ema(haC,EMAlength)
EMA2=ema(EMA1,EMAlength)
EMA3=ema(EMA2,EMAlength)
//formule 1
PA1=3*EMA1-3*EMA2+EMA3
EMA4=ema(PA1,longueurEMA)
EMA5=ema(EMA4,EMAlength)
EMA6=ema(EMA5, longueurEMA)
//formule 2
PA2=3*EMA4-3*EMA5+EMA6
GA1=PA1-PA2
YASIN=PA1+GA1
EMA7=ema(hlc3,EMAlength)
EMA8=ema(EMA7,EMAlength)
EMA9=ema(EMA8,EMAlength)
Formule 3
PA3=3*EMA7-3*EMA8+EMA9
EMA10=ema(PA3,EMAlength)
EMA11=ema(EMA10,EMAlength)
EMA12=ema(EMA11,EMAlength)
//Formule 4
PA4=3*EMA10-3*EMA11+EMA12
GA2=PA3-PA4
YASIN1=PA3+GA2
mavi=YASIN1
kirmizi=YASIN
last_signal = 0
long_final = longCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == -1)
short_final = shortCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == 1)
//==============================================
//ALEX
//@version=4
study(title="Alex", shorttitle="KIV BUY ALLIN SELL", overlay=true)
//RSI
// Obtenez l'entrée utilisateur
rsiSource = input(title="RSI Source", type=[Link], defval=close)
rsiLength = input(title="RSI Length", type=[Link], defval=14)
rsiOverbought = input(title="RSI Overbought Level", type=[Link], defval=80)
rsiOversold = input(title="RSI Oversold Level", type=[Link], defval=20)
// Obtenir la valeur RSI
rsiValue = rsi(rsiSource, rsiLength)
isRsiOB = rsiValue >= rsiOverbought
isRsiOS = rsiValue <= rsiOversold
// Plot signals to chart
//tracerforme(isRsiOB, titre="Suracheté", emplacement=[Link]-dessus-bar,
OB
//plotshape(isRsiOS, title="Survendu", location=[Link],
OS
//EMA9
ema9 = ema(close,9)
tracer(ema9, couleur=[Link], largeur_de_ligne=3)
//MACD
[macdLine, signalLine, histLine] = macd(close, 12, 26, 14)
//tracer(macdLine, couleur= [Link])
//tracer(signalLine, couleur=[Link])
//tracer(histLine, couleur=[Link], style=tracer.style_histogramme)
//EMA
//tracer(ema(fermer, 15))
Bande de Bollinger
[moyenne, supérieure, inférieure] = bb(clôture, 20, 2)
Stochastique
stochValueK = stoch(close, high, low, 14)
stochValueD = stoch(close, high, low, 3)
Force Relative RS
ACHETER2 = clôture >= plus haut(clôture, 20) et haut > haut[1] et clôture > ouverture et volume >
volume[1] et close > milieu et supérieur > supérieur[1] et supérieur[1] > supérieur[2] et
milieu > milieu[1] et milieu[1] > milieu[2]
tracerForme(ACHAT2, titre="ACHAT", emplacement=[Link], couleur=[Link],
Alex HOOT
BUY3 = close > sma(close,50) and sma(close,50) > sma(close,150) and sma(close,150)
> sma(clôture,200) et clôture > (le plus bas(clôture,260)*1.3) et clôture >
(plus haut(close,260) - (plus haut(close,260)*0.25))
plotshape(ACHAT3, titre="Tendance à la hausse", emplacement=[Link]-dessus-barre, couleur=[Link],
J LAW HAUT