These codes are good for timed candles also, not just Renkos.
This is my first contribution to this forum, so let me know if there are questions.
Brick change from Up to Down(alert sounds at the open of the first brick).
Brick change from Up to Down(alert sounds at the close of the first brick)
Brick change from Down to Up(alert sounds at the open of the first brick)
Brick change from Down to Up(alert sounds at the close of the first brick)
I love Renkos bars. I dont use them as a stand alone, but I definitely use them.
This is my first contribution to this forum, so let me know if there are questions.
Brick change from Up to Down(alert sounds at the open of the first brick).
Code:
# Renko Labels & Alerts Brick change from Up to Down(alert sounds at the open of the first brick)
# @younglove06
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot = IsUp[1] and IsDown[0];
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(CreateColor(255, 0, 0));
AddLabel(PatternPlot, "TREND CHANGE", if PatternPlot then Color.RED else color.current);
Alert(PatternPlot, "sell signal", Alert.BAR, Sound.Ring);
Brick change from Up to Down(alert sounds at the close of the first brick)
Code:
# Renko Labels & Alerts Brick change from Up to Down(alert sounds at the close of the first brick)
# @younglove06
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot = IsUp[1] and IsDown[0];
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(CreateColor(255, 0, 0));
AddLabel(PatternPlot[1], "TREND CHANGE", if PatternPlot[1] then Color.RED else color.current);
Alert(PatternPlot[1], "sell signal", Alert.BAR, Sound.Ring);
Brick change from Down to Up(alert sounds at the open of the first brick)
Code:
# Renko Labels & Alerts Brick change from Down to Up(alert sounds at the open of the first brick)
# @younglove06
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot = IsDown[1] and IsUp[0];
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(CreateColor(0, 255, 0));
AddLabel(PatternPlot, "TREND CHANGE", if PatternPlot then Color.GREEN else color.current);
Alert(PatternPlot, "buy signal", Alert.BAR, Sound.Ring);
Brick change from Down to Up(alert sounds at the close of the first brick)
Code:
# Renko Labels & Alerts Brick change from Down to Up(alert sounds at the close of the first brick)
# @younglove06
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot = IsDown[1] and IsUp[0];
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(CreateColor(0, 255, 0));
AddLabel(PatternPlot[1], "TREND CHANGE", if PatternPlot[1] then Color.GREEN else color.current);
Alert(PatternPlot[1], "buy signal", Alert.BAR, Sound.Ring);
I love Renkos bars. I dont use them as a stand alone, but I definitely use them.
Last edited by a moderator: