range = useTrueRange ? tr. : (high - low)
cangena = smal range,
lengthKC)
upperkc = ma
+ rangena *
LowerKC = ma
cangena *
пикя
sazOn
• (Lower88 >
LowerKC)
and (upperBB < upperKC)
$92011. =
(LowerB8 < LowerKC)
and (upperB > upperkc)
noSaz
• (sqzOn a false) and (sqzoff. »n
false)
val = Linceg(source
axg(aya(highest (high,
LengthKC), lowest (low,
iff( val > e,iffl
2), 1ff( val < nz(val (1]), 3, 4))
plotcharipco.gr
"Color",
y location locat
location = location.top)
1/Calculo final
M15
= TrigCandle1(2] and (low[1] > low[2]) and (close(2) < open [2]) and open (2) <
max (open [4], close (4]) and Prome and Candle[2] > Candle[1] and Verdes and Valor and Valor1
Colomm
= (bcolorte) == 4 or
bcolor(1] 4 or bcolor(2) w 4 or bcolor(3) w4 or
bcolor.[4]
=
4) and M15
// It colors M15 Candle
barcolor(M15 ? color.white: na, offset=-2)
// Make alert condition
alertcondition condition his,
xite M15 messagewere 545381981931b693412659286edde
"\n"
**pairaBCUST"+ "\n" +'exchange«ZAgnaly. (Powered by BAnance) "*
+' type=buy'+
mn"+'UimitPricem({close))+"n"
+'buyTypeastop-Lin1t"+
+'takeProfitPercentagel
***{plot ("TP")}}* + *\n"
+*stopLossprice =
+ •Kolot ("SL")}}* )
I Agrega flecha verde debajo de
la vela M15 -
confirma patcon
plotshape (M15, style=shape,triangleup, location=location,aboxebar, coloracolor.green,
offset=0)
//Confirmacion con el monitor hasta dos velas siguientes
//Agrega flecha amarillo arriba, confirma monitor rojo pero sin fuerza
plotshape (Colorn, stylesshape,